built_in_variables_enable
Enable built-in variables in a GTM workspace by specifying variable types. Requires write permission and confirmation.
Instructions
[WRITE] Enable one or more built-in variables in a GTM workspace. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| types | Yes | Array of built-in variable types to enable. Known types include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, and more. | |
| confirm | Yes | ||
| accountId | Yes | ||
| containerId | Yes | ||
| workspaceId | Yes |