Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How include Referrer, Utm property to amplidude? #663

Open
ValeryYuntsevichUltralab opened this issue Feb 14, 2024 · 0 comments
Open

How include Referrer, Utm property to amplidude? #663

ValeryYuntsevichUltralab opened this issue Feb 14, 2024 · 0 comments
Labels
question Further information is requested

Comments

@ValeryYuntsevichUltralab
Copy link

ValeryYuntsevichUltralab commented Feb 14, 2024

Hi everyone!
In my Angular(version 16) project I am using amplitude library( "@amplitude/analytics-browser": "^2.4.0",). At this moment I Can not sent custom event with google metcics and user refferers. I init my amplitude instance with nex parametrs:

public initialize(apiKey: string): void {
this.instance.init(apiKey, null, {
instanceName: 'env',
defaultTracking: false,
});
}
What property I should use that add google utm and user refferes by default in my each custom event?

for example when i used amplitude-js it is workin correctly (see exaplpe below)
this.instance.init(apiKey, null, {
instanceName: 'env',
includeReferrer: true,
includeUtm: true,
});

@ValeryYuntsevichUltralab ValeryYuntsevichUltralab added the question Further information is requested label Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant