amplitude / amplitude/Amplitude-TypeScript
How include Referrer, Utm property to amplidude?
- Ngôn ngữ chính
- TypeScript
- Star
- 180
- Fork
- 68
- Merge trung bình
- 3 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 29
Mô tả
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,
});
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.