destinations_link
Links a Google tag or GA4 destination to a GTM container. Requires write permission enabled and a confirm flag set to true.
Instructions
[WRITE] Link a destination (Google tag / GA4 destination) to a GTM container. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | The GTM account ID. | |
| containerId | Yes | The GTM container ID. | |
| destinationId | Yes | The destination ID to link (e.g. "G-XXXXXXX"). | |
| allowUserPermissionFeatureUpdate | No | ||
| confirm | Yes | Must be true to confirm this write operation. |