Skip to main content

tags

Overview

Nametags
TypeResource
Idgoogleanalytics.tagmanager.tags

Fields

NameDatatypeDescription
namestringTag display name. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update
teardownTagarrayThe list of teardown tags. Currently we only allow one.
workspaceIdstringGTM Workspace ID.
tagManagerUrlstringAuto generated link to the tag manager UI
pausedbooleanIndicates whether the tag is paused, which prevents the tag from firing. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update
firingTriggerIdarrayFiring trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update
containerIdstringGTM Container ID.
blockingTriggerIdarrayBlocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update
setupTagarrayThe list of setup tags. Currently we only allow one.
consentSettingsobject
monitoringMetadataTagNameKeystringIf non-empty, then the tag display name will be included in the monitoring metadata map using the key specified. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update
parentFolderIdstringParent folder id.
parameterarrayThe tag's parameters. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update
scheduleEndMsstringThe end timestamp in milliseconds to schedule a tag. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update
tagFiringOptionstringOption to fire this tag.
scheduleStartMsstringThe start timestamp in milliseconds to schedule a tag. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update
tagIdstringThe Tag ID uniquely identifies the GTM Tag.
pathstringGTM Tag's API relative path.
liveOnlybooleanIf set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update
monitoringMetadataobjectRepresents a Google Tag Manager Parameter.
firingRuleIdarrayFiring rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update
blockingRuleIdarrayBlocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update
priorityobjectRepresents a Google Tag Manager Parameter.
accountIdstringGTM Account ID.
typestringGTM Tag Type. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update
fingerprintstringThe fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified.
notesstringUser notes on how to apply this tag in the container. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update

Methods

NameAccessible byRequired ParamsDescription
accounts_containers_workspaces_tags_getSELECTaccountsId, containersId, tagsId, workspacesIdGets a GTM Tag.
accounts_containers_workspaces_tags_listSELECTaccountsId, containersId, workspacesIdLists all GTM Tags of a Container.
accounts_containers_workspaces_tags_createINSERTaccountsId, containersId, workspacesIdCreates a GTM Tag.
accounts_containers_workspaces_tags_deleteDELETEaccountsId, containersId, tagsId, workspacesIdDeletes a GTM Tag.
accounts_containers_workspaces_tags_revertEXECaccountsId, containersId, tagsId, workspacesIdReverts changes to a GTM Tag in a GTM Workspace.
accounts_containers_workspaces_tags_updateEXECaccountsId, containersId, tagsId, workspacesIdUpdates a GTM Tag.