Skip to main content

triggers

Overview

Nametriggers
TypeResource
Idgoogleanalytics.tagmanager.triggers

Fields

NameDatatypeDescription
namestringTrigger display name. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update
eventNameobjectRepresents a Google Tag Manager Parameter.
customEventFilterarrayUsed in the case of custom event, which is fired iff all Conditions are true. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update
visibilitySelectorobjectRepresents a Google Tag Manager Parameter.
tagManagerUrlstringAuto generated link to the tag manager UI
waitForTagsTimeoutobjectRepresents a Google Tag Manager Parameter.
uniqueTriggerIdobjectRepresents a Google Tag Manager Parameter.
triggerIdstringThe Trigger ID uniquely identifies the GTM Trigger.
visiblePercentageMaxobjectRepresents a Google Tag Manager Parameter.
visiblePercentageMinobjectRepresents a Google Tag Manager Parameter.
workspaceIdstringGTM Workspace ID.
totalTimeMinMillisecondsobjectRepresents a Google Tag Manager Parameter.
typestringDefines the data layer event that causes this trigger. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update
selectorobjectRepresents a Google Tag Manager Parameter.
parentFolderIdstringParent folder id.
notesstringUser notes on how to apply this trigger in the container. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update
continuousTimeMinMillisecondsobjectRepresents a Google Tag Manager Parameter.
checkValidationobjectRepresents a Google Tag Manager Parameter.
horizontalScrollPercentageListobjectRepresents a Google Tag Manager Parameter.
containerIdstringGTM Container ID.
maxTimerLengthSecondsobjectRepresents a Google Tag Manager Parameter.
waitForTagsobjectRepresents a Google Tag Manager Parameter.
autoEventFilterarrayUsed in the case of auto event tracking. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update
verticalScrollPercentageListobjectRepresents a Google Tag Manager Parameter.
fingerprintstringThe fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified.
parameterarrayAdditional parameters. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update
accountIdstringGTM Account ID.
limitobjectRepresents a Google Tag Manager Parameter.
intervalobjectRepresents a Google Tag Manager Parameter.
intervalSecondsobjectRepresents a Google Tag Manager Parameter.
filterarrayThe trigger will only fire iff all Conditions are true. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update
pathstringGTM Trigger's API relative path.

Methods

NameAccessible byRequired ParamsDescription
accounts_containers_workspaces_triggers_getSELECTaccountsId, containersId, triggersId, workspacesIdGets a GTM Trigger.
accounts_containers_workspaces_triggers_listSELECTaccountsId, containersId, workspacesIdLists all GTM Triggers of a Container.
accounts_containers_workspaces_triggers_createINSERTaccountsId, containersId, workspacesIdCreates a GTM Trigger.
accounts_containers_workspaces_triggers_deleteDELETEaccountsId, containersId, triggersId, workspacesIdDeletes a GTM Trigger.
accounts_containers_workspaces_triggers_revertEXECaccountsId, containersId, triggersId, workspacesIdReverts changes to a GTM Trigger in a GTM Workspace.
accounts_containers_workspaces_triggers_updateEXECaccountsId, containersId, triggersId, workspacesIdUpdates a GTM Trigger.