Publish Version
publish_versionPublish a Google Tag Manager container version to production, making it live immediately for all visitors. Verify the version first, as reverting requires publishing an earlier version.
Instructions
Publish a container version to production.
This takes effect on the live site immediately, for every visitor, with no staged rollout. The only way back is to publish an earlier version over the top. Confirm the version is the intended one before calling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | Numeric Tag Manager account ID. | |
| version_id | Yes | Numeric container version ID. | |
| fingerprint | No | Fingerprint from a previous read. When given, the publish fails if the version changed in the meantime. | |
| container_id | Yes | Numeric container ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||