標準gtag.js
事件參數。有關更多信息,請參閱GA4 參考文檔。
簽名:
export interface EventParams
特性
財產 | 類型 | 描述 |
---|---|---|
聯繫 | 細繩 | |
結帳選項 | 細繩 | |
結帳步驟 | 數位 | |
內容類型 | 細繩 | |
優惠券 | 細繩 | |
貨幣 | 細繩 | |
描述 | 細繩 | |
事件類別 | 細繩 | |
事件標籤 | 細繩 | |
致命的 | 布林值 | |
firebase_screen_class | 細繩 | Firebase 特定的。用於將screen_class 記錄到 Firebase Analytics。 |
firebase_screen | 細繩 | Firebase 特定的。用於將screen_name 記錄到 Firebase Analytics。 |
商品編號 | 細繩 | |
項目清單 ID | 細繩 | |
項目清單名稱 | 細繩 | |
專案 | 物品[] | |
方法 | 細繩 | |
數位 | 細繩 | |
頁面位置 | 細繩 | |
頁面路徑 | 細繩 | |
頁面標題 | 細繩 | |
付款方式 | 細繩 | |
促銷_id | 細繩 | |
促銷名稱 | 細繩 | |
促銷活動 | 晉升[] | |
螢幕名稱 | 細繩 | |
搜尋詞 | 細繩 | |
運輸等級 | 細繩 | |
船運 | 貨幣 | |
稅 | 貨幣 | |
交易ID | 細繩 | |
價值 | 數位 |
EventParams.affiliation
簽名:
affiliation?: string;
EventParams.checkout_option
簽名:
checkout_option?: string;
EventParams.checkout_step
簽名:
checkout_step?: number;
EventParams.content_type
簽名:
content_type?: string;
EventParams.優惠券
簽名:
coupon?: string;
EventParams.currency
簽名:
currency?: string;
EventParams.描述
簽名:
description?: string;
EventParams.event_category
簽名:
event_category?: string;
EventParams.event_label
簽名:
event_label?: string;
EventParams.fatal
簽名:
fatal?: boolean;
EventParams.firebase_screen_class
Firebase 特定的。用於將screen_class
記錄到 Firebase Analytics。
簽名:
firebase_screen_class?: string;
EventParams.firebase_screen
Firebase 特定的。用於將screen_name
記錄到 Firebase Analytics。
簽名:
firebase_screen?: string;
EventParams.item_id
簽名:
item_id?: string;
EventParams.item_list_id
簽名:
item_list_id?: string;
EventParams.item_list_name
簽名:
item_list_name?: string;
EventParams.items
簽名:
items?: Item[];
EventParams.method
簽名:
method?: string;
EventParams.number
簽名:
number?: string;
EventParams.page_location
簽名:
page_location?: string;
EventParams.page_path
簽名:
page_path?: string;
EventParams.page_title
簽名:
page_title?: string;
EventParams. payment_type
簽名:
payment_type?: string;
EventParams.promotion_id
簽名:
promotion_id?: string;
EventParams.promotion_name
簽名:
promotion_name?: string;
EventParams.promotions
簽名:
promotions?: Promotion[];
EventParams.screen_name
簽名:
screen_name?: string;
EventParams.search_term
簽名:
search_term?: string;
EventParams.shipping_tier
簽名:
shipping_tier?: string;
事件參數.shipping
簽名:
shipping?: Currency;
事件參數.tax
簽名:
tax?: Currency;
EventParams.transaction_id
簽名:
transaction_id?: string;
EventParams.value
簽名:
value?: number;