Revert
|
|||||
|
|
Reverts changes to a GTM Tag in a GTM Workspace
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- Manage your Google Tag Manager container and its subcomponents, excluding versioning and publishing
Input
This building block consumes 2 input parameters
Name | Format | Description |
---|---|---|
path Required |
STRING |
GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id} |
fingerprint |
STRING |
When provided, this fingerprint must match the fingerprint of thetag in storage |
= Parameter name
= Format
path STRING Required GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id} |
fingerprint STRING When provided, this fingerprint must match the fingerprint of thetag in storage |
Output
This building block provides 45 output parameters
Name | Format | Description |
---|---|---|
tag |
OBJECT |
Represents a Google Tag Manager Tag |
tag.accountId |
STRING |
GTM Account ID |
tag.blockingRuleId[] |
STRING |
|
tag.blockingTriggerId[] |
STRING |
|
tag.containerId |
STRING |
GTM Container ID |
tag.fingerprint |
STRING |
The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified |
tag.firingRuleId[] |
STRING |
|
tag.firingTriggerId[] |
STRING |
|
tag.liveOnly |
BOOLEAN |
If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode) |
tag.name |
STRING |
Tag display name |
tag.notes |
STRING |
User notes on how to apply this tag in the container |
tag.parameter[] |
OBJECT |
Represents a Google Tag Manager Parameter |
tag.parameter[].key |
STRING |
The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values |
tag.parameter[].list[] |
OBJECT |
Represents a Google Tag Manager Parameter |
tag.parameter[].map[] |
OBJECT |
Represents a Google Tag Manager Parameter |
tag.parameter[].type |
ENUMERATION |
The parameter type. Valid values are:
|
tag.parameter[].value |
STRING |
A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type |
tag.parentFolderId |
STRING |
Parent folder id |
tag.path |
STRING |
GTM Tag's API relative path |
tag.paused |
BOOLEAN |
Indicates whether the tag is paused, which prevents the tag from firing |
tag.priority |
OBJECT |
Represents a Google Tag Manager Parameter |
tag.priority.key |
STRING |
The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values |
tag.priority.list[] |
OBJECT |
Represents a Google Tag Manager Parameter |
tag.priority.list[].key |
STRING |
The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values |
tag.priority.list[].type |
ENUMERATION |
The parameter type. Valid values are:
|
tag.priority.list[].value |
STRING |
A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type |
tag.priority.map[] |
OBJECT |
Represents a Google Tag Manager Parameter |
tag.priority.map[].key |
STRING |
The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values |
tag.priority.map[].type |
ENUMERATION |
The parameter type. Valid values are:
|
tag.priority.map[].value |
STRING |
A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type |
tag.priority.type |
ENUMERATION |
The parameter type. Valid values are:
|
tag.priority.value |
STRING |
A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type |
tag.scheduleEndMs |
INTEGER |
The end timestamp in milliseconds to schedule a tag |
tag.scheduleStartMs |
INTEGER |
The start timestamp in milliseconds to schedule a tag |
tag.setupTag[] |
OBJECT |
Represents a reference to atag that fires before another tag in order to set up dependencies |
tag.setupTag[].stopOnSetupFailure |
BOOLEAN |
If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status |
tag.setupTag[].tagName |
STRING |
The name of the setup tag |
tag.tagFiringOption |
ENUMERATION |
Option to fire this tag |
tag.tagId |
STRING |
The Tag ID uniquely identifies the GTM Tag |
tag.tagManagerUrl |
STRING |
Auto generated link to the tag manager UI |
tag.teardownTag[] |
OBJECT |
Represents a tag that fires after another tag in order to tear down dependencies |
tag.teardownTag[].stopTeardownOnFailure |
BOOLEAN |
If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status |
tag.teardownTag[].tagName |
STRING |
The name of the teardown tag |
tag.type |
STRING |
GTM Tag Type |
tag.workspaceId |
STRING |
GTM Workspace ID |
= Parameter name
= Format
tag OBJECT Represents a Google Tag Manager Tag |
tag.accountId STRING GTM Account ID |
tag.blockingRuleId[] STRING |
tag.blockingTriggerId[] STRING |
tag.containerId STRING GTM Container ID |
tag.fingerprint STRING The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified |
tag.firingRuleId[] STRING |
tag.firingTriggerId[] STRING |
tag.liveOnly BOOLEAN If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode) |
tag.name STRING Tag display name |
tag.notes STRING User notes on how to apply this tag in the container |
tag.parameter[] OBJECT Represents a Google Tag Manager Parameter |
tag.parameter[].key STRING The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values |
tag.parameter[].list[] OBJECT Represents a Google Tag Manager Parameter |
tag.parameter[].map[] OBJECT Represents a Google Tag Manager Parameter |
tag.parameter[].type ENUMERATION The parameter type. Valid values are:
|
tag.parameter[].value STRING A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type |
tag.parentFolderId STRING Parent folder id |
tag.path STRING GTM Tag's API relative path |
tag.paused BOOLEAN Indicates whether the tag is paused, which prevents the tag from firing |
tag.priority OBJECT Represents a Google Tag Manager Parameter |
tag.priority.key STRING The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values |
tag.priority.list[] OBJECT Represents a Google Tag Manager Parameter |
tag.priority.list[].key STRING The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values |
tag.priority.list[].type ENUMERATION The parameter type. Valid values are:
|
tag.priority.list[].value STRING A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type |
tag.priority.map[] OBJECT Represents a Google Tag Manager Parameter |
tag.priority.map[].key STRING The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values |
tag.priority.map[].type ENUMERATION The parameter type. Valid values are:
|
tag.priority.map[].value STRING A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type |
tag.priority.type ENUMERATION The parameter type. Valid values are:
|
tag.priority.value STRING A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type |
tag.scheduleEndMs INTEGER The end timestamp in milliseconds to schedule a tag |
tag.scheduleStartMs INTEGER The start timestamp in milliseconds to schedule a tag |
tag.setupTag[] OBJECT Represents a reference to atag that fires before another tag in order to set up dependencies |
tag.setupTag[].stopOnSetupFailure BOOLEAN If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status |
tag.setupTag[].tagName STRING The name of the setup tag |
tag.tagFiringOption ENUMERATION Option to fire this tag |
tag.tagId STRING The Tag ID uniquely identifies the GTM Tag |
tag.tagManagerUrl STRING Auto generated link to the tag manager UI |
tag.teardownTag[] OBJECT Represents a tag that fires after another tag in order to tear down dependencies |
tag.teardownTag[].stopTeardownOnFailure BOOLEAN If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status |
tag.teardownTag[].tagName STRING The name of the teardown tag |
tag.type STRING GTM Tag Type |
tag.workspaceId STRING GTM Workspace ID |