amplitude / amplitude/Amplitude-TypeScript

How include Referrer, Utm property to amplidude?

オープン
#663 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
question
主要言語
TypeScript
スター
180
フォーク
68
平均マージ
3日 1時間
マージ済み PR(30日)
29

説明

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,
});

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。