Google Tag Manager · Schema

Tag

Represents a Google Tag Manager Tag. A tag is a snippet of code that executes on a page when certain conditions (triggers) are met.

AnalyticsConversion TrackingMarketingTag ManagementTracking

Properties

Name Type Description
path string GTM Tag's API relative path.
accountId string GTM Account ID.
containerId string GTM Container ID.
workspaceId string GTM Workspace ID.
tagId string The Tag ID uniquely identifies the GTM Tag.
name string Tag display name.
type string GTM Tag Type. Common types include ua (Universal Analytics), gaawc (Google Analytics GA4 Configuration), gaawe (Google Analytics GA4 Event), awct (Google Ads Conversion Tracking), sp (Custom Script),
liveOnly boolean If set to true, this tag will only fire in the live environment (not in preview or debug mode).
notes string User notes on how to apply this tag in the container.
scheduleStartMs string The start timestamp in milliseconds to schedule a tag. The tag will only fire after this time.
scheduleEndMs string The end timestamp in milliseconds to schedule a tag. The tag will stop firing after this time.
parameter array The tag's parameters, which configure its behavior.
fingerprint string The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified.
firingTriggerId array Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false.
blockingTriggerId array Blocking trigger IDs. If any of the listed triggers evaluates to true, the tag will not fire.
setupTag array The list of setup tags. Currently, only one setup tag is allowed per tag.
teardownTag array The list of teardown tags. Currently, only one teardown tag is allowed per tag.
parentFolderId string Parent folder ID.
tagFiringOption string Option to fire this tag.
tagManagerUrl string Auto-generated link to the tag manager UI.
paused boolean Indicates whether the tag is paused, which prevents the tag from firing.
monitoringMetadataTagNameKey string If non-empty, then the tag display name will be included in the monitoring metadata map using the key specified.
View JSON Schema on GitHub