Google tag (gtag.js) parameter reference
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
The config, set, and event commands allow you to configure parameters for controlling data collection and processing.
Parameters include specifying target groups (groups), destination for event data (send_to), callback functions (event_callback), and timeout for callbacks (event_timeout).
Detailed information on product-specific parameters can be found in the linked documentation for Google Ads, Campaign Manager, Search Ads 360, and Google Analytics.
The following table describes the parameters you can configure using the config
command, set using the set command, or pass using the event command.
For more information on product-specific parameters, refer to the corresponding
documentation:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[],["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"]]