Skip to content

gtm-tagging

Comprehensive GTM reference covering container setup, tags, triggers, variables, data layer implementation, debugging, custom templates, and API automation.

  • Area: Marketing
  • Category: marketing analytics
  • Level: intermediate
  • Input: conversation
  • Output: document
  • Setup: config
  • Roles: Head of Marketing

Configures Google Tag Manager and GA4 containers, tags, triggers, variables, and debugging.

How you ask

  • “Set up a new GTM container for our website”
  • “Create a custom tag template in Google Tag Manager”
  • “Debug why my GTM trigger isn't firing on form submissions”
  • “Configure data layer variables for our e-commerce tracking”

Inputs

  • profile — The company profile (company.profile) — business model, product type
  • tracking-plan — Latest tracking plan from analytics-tracking (tracking-plan-{YYYY-MM-DD}.md under company.marketing.analytics or client.marketing.analytics), if any
  • url — Website URL the container is installed on, when the task concerns a specific site
  • scope — company, or a client-id under {company.clients}/ — a string with one reserved value, not a closed set

Outputs

  • Fallback only — used when no company or client scope is resolved
  • gtm-datalayer (markdown)
  • gtm-setup (markdown)
  • gtm-tags (markdown)