gtm_publish_version
Publish a Google Tag Manager container version to live traffic. Confirm the action to apply changes immediately for all visitors, after checking the current live version.
Instructions
Publish a container version to live traffic.
This takes effect immediately for every visitor. There is no staging step and no undo beyond publishing an earlier version, so note the current live version id first via get_live_version.
Requires GTM_ALLOW_PUBLISH=true in addition to confirm=true, and Publish permission on the container.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| account_id | No | ||
| version_id | Yes | ||
| container_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |