capabilities.work

Wire a Trigger-Fired Tag

A 3-step recipe with Google Tag Manager. We can help you get access.

Recipe · 3 steps

Wire a Trigger-Fired Tag

with Google Tag Manager · Digital Marketing Management

Create a workspace, a trigger, and a tag that fires on that trigger.

  1. Open a new workspace inside the supplied container.
  2. Create a trigger in the new workspace.
  3. Create a tag whose firingTriggerId references the new trigger.
What you'll need to have ready
  • accessToken: OAuth 2.0 bearer access token for the Tag Manager API.
  • containerPath: The container API relative path, e.g. accounts/{accountId}/containers/{containerId}.
  • workspaceName: Display name for the new workspace.
  • triggerName: Display name for the new trigger.
  • triggerType: GTM trigger event type (e.g. pageview, click, customEvent).
  • tagName: Display name for the new tag.
  • tagType: GTM tag type identifier (e.g. html, gaawe).
For your developer

Arazzo workflow google-tag-manager:wire-trigger-fired-tag, 3 operations: createWorkspace → createTrigger → createTag. Specs on APIs.io.