Enable built-in variables (🟡 write)
gtm_enable_built_in_variablesEnables built-in GTM variables by API type, such as pageUrl, clickText, and formId, with a dry-run preview to verify changes before applying.
Instructions
Enable built-in variables by API type (pageUrl, pagePath, pageHostname, referrer, event, clickElement, clickClasses, clickId, clickUrl, clickText, formId, scrollDepthThreshold, …). Already-enabled types are harmless. dry_run=true previews.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| types | Yes | ||
| dry_run | No | ||
| container | Yes | ||
| workspace_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||