Skip to main content

Consent Mode Setup Prompt

Context

Use this prompt to implement Google Consent Mode with Termly CMP for GDPR/CCPA compliance. Ensures tracking respects user consent choices and maintains data quality.

Prerequisites

  • Termly account with UUID
  • GTM container access
  • Understanding of consent requirements
  • Regional compliance needs (EU/UK/CA)

See Termly Tool Documentation for existing implementations.

Prompt Template

I need to implement Consent Mode for a client with the following requirements:

**Project Information:**
- Client name: [CLIENT_NAME]
- Website: [WEBSITE_URL]
- GTM Container: [GTM_ID]
- Termly UUID: [TERMLY_UUID]

**Compliance Requirements:**
- Regions: [REGIONS] (EU/UK/CA/US)
- Consent categories: [CATEGORIES] (Analytics/Advertising/Functional)
- Default consent: [DEFAULT_CONSENT] (Granted/Denied)
- Geolocation: [GEO_RULES] (EU=denied, others=granted)

**Technical Requirements:**
- Consent signals: [CONSENT_SIGNALS] (ad_storage, analytics_storage, ad_user_data, ad_personalization)
- GTM integration: [GTM_INTEGRATION]
- Testing: [TESTING_REQUIREMENTS]

Please provide:

1. **Termly configuration** setup
2. **GTM consent initialization** code
3. **Consent-based tag firing** configuration
4. **Testing protocol** for different consent scenarios
5. **Regional variations** handling

Follow Pacing Agency consent patterns from existing implementations.

Expected Output

See full implementation in Termly Tool Documentation.

Key components:

  • Termly UUID in GTM
  • Consent initialization tag (fires first)
  • Consent-based triggers for tags
  • Regional consent defaults

Success Criteria

✅ Consent banner showing correctly
✅ Consent signals passing to GTM
✅ Tags respecting consent
✅ Regional variations working
✅ Consent choices persisting


Last updated: 2026-01-07
Estimated time: 1 hour