Skip to main content

GTM Container Setup Prompt

Context

Use this prompt to set up a new Google Tag Manager web container for client tracking, following Pacing Agency's tagging architecture with proper naming conventions, documentation, and testing.

Prerequisites

  • GTM account access
  • Website access to install GTM code
  • GA4 property created
  • Tracking requirements documented

See GTM Tool Documentation for existing containers and patterns.

Prompt Template

I need to set up a new GTM web container for a client with the following requirements:

**Project Information:**
- Client name: [CLIENT_NAME]
- Website: [WEBSITE_URL]
- GTM Container ID: [GTM_ID] (if existing, or "Create new")
- Server container: [SERVER_GTM_ID] (if using sGTM)

**Tracking Requirements:**
- Analytics: [ANALYTICS] (GA4 Measurement ID)
- Advertising pixels: [AD_PIXELS] (Meta/LinkedIn/Google Ads/Pinterest)
- Events to track: [EVENTS] (Page views/Form submits/Clicks/Scrolls)
- E-commerce: [ECOMMERCE_REQUIREMENTS]

**Technical Setup:**
- Consent management: [CONSENT_TOOL] (Termly/OneTrust/None)
- Server-side tracking: [SGTM_STATUS] (Yes via Stape/No)
- Custom dimensions: [CUSTOM_DIMENSIONS]
- Data layer structure: [DATALAYER_EVENTS]

Please provide:

1. **GTM container configuration** with tags, triggers, variables
2. **Naming conventions** for all GTM elements
3. **Testing protocol** with GTM Preview mode steps
4. **Documentation template** for future reference

Follow Pacing Agency GTM patterns from existing implementations.

Expected Output

See full implementation examples in GTM Tool Documentation.

Key components:

  • Tags: GA4 Configuration, GA4 Events, Ad pixels
  • Triggers: Page View, Form Submit, Click tracking
  • Variables: GA4 Measurement ID, Tracking server URL, Custom event parameters
  • Built-in Variables: Page URL, Click classes, Form ID

Naming conventions:

  • Tags: [Platform] - [Action] - [Details] (e.g., "GA4 - Event - Form Submit")
  • Triggers: [Type] - [Description] (e.g., "Form Submission - Contact Form")
  • Variables: [Type] - [Name] (e.g., "Constant - GA4 Measurement ID")

Success Criteria

✅ GTM code installed on website
✅ Tags configured and firing
✅ Preview mode tested
✅ Data flowing to GA4/ads platforms
✅ Consent mode working
✅ Documentation complete


Last updated: 2026-01-07
Estimated time: 1-2 hours