Google 會運用 AI 技術將內容翻譯成您偏好的語言,但可能會出錯。
Google 代碼 (gtag.js) 參數參考資料
透過集合功能整理內容
您可以依據偏好儲存及分類內容。
下表說明可以使用 config 指令、使用 set 指令設定,或透過 event 指令傳遞的參數。
如要進一步瞭解產品特定參數,請參閱對應說明文件:
控制參數
| 參數 |
值類型 |
範例值 |
說明 |
groups |
字串或字串陣列 |
「default,vendors」 |
config 指令會使用這個欄位,將目標指派給一或多個群組。 |
send_to |
字串或字串陣列 |
「G-XXXXXX」 |
設定要接收事件資料的目標帳戶/資源。 |
event_callback |
功能 |
function() { form.submit(); } |
處理 event 指令完成時會呼叫的 JavaScript 回呼函式。 |
event_timeout |
整數 |
2000 |
event_callback 使用的逾時時間 (以毫秒為單位)。 |
[null,null,["上次更新時間:2024-02-06 (世界標準時間)。"],[],["The `config`, `set`, and `event` commands use configurable parameters. `groups` assigns a target to one or more groups. `send_to` specifies the target account or property. `event_callback` triggers a JavaScript function upon completion of an `event` command. `event_timeout` sets the timeout for the `event_callback` in milliseconds. Product-specific parameters can be found in the documentation for Google Ads conversions, Google Ads remarketing, Campaign Manager and Search Ads 360, and Google Analytics.\n"]]