amplitude / amplitude/Amplitude-TypeScript

How include Referrer, Utm property to amplidude?

Đang mở
#663 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
question
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

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.