Cluster 15 · Google Tag Manager · Tag Sequencing + Triggers
Google Tag Manager (GTM) Consent Mode v2 Setup & Tag Firing Validator
Configure GTM Consent Overview, Consent Initialization triggers, and custom HTML/pixel tag consent checks so zero marketing tags fire before Consent Mode v2 grants permission.
100% Browser-Side · Zero User-Data Upload · Strict CSP
1. Site Profile, Consent Mode v2 & Tag Gates
GCM v2 + W3C GPC
Consent Signals & Marketing / Analytics Stacks
Informational Notice: Deterministic Consent Mode v2, cookie, and GPC configuration helper — not legal advice. Verify final privacy compliance with qualified GDPR/CCPA counsel.
Consent Mode v2 & GPC Configuration Score
100 / 100 (A+)
PASS
GCM-001: Google Consent Mode v2 default-denied active across all 4 signalsPASS
ad_storage, analytics_storage, ad_user_data, and ad_personalization default to 'denied' before tag firing.
GCM-002: wait_for_update tuned (500ms)PASS
Allows asynchronous CMP state restoration before tag dispatch.
GCM-003: ads_data_redaction enabledPASS
Redacts ad click parameters and prevents third-party ad cookies while ad_storage='denied'.
GCM-004: GPC Signal & /.well-known/gpc.json support enabledPASS
Verify Live Pre-Consent Cookies, Consent Mode v2 & GPC Readiness
Run a live pre-consent cookie, tracker, gtag('consent', 'default') & /.well-known/gpc.json audit on ConsentCheck (consent.runglab.dev), or grab the turnkey $39 ConsentCheck Compliance Pack on Creem. Need a PayPal invoice? Email [email protected].
Verify Live Pre-Consent Cookies, Consent Mode v2 & GPC Readiness
Run a live pre-consent cookie, tracker, gtag('consent', 'default') & /.well-known/gpc.json audit on ConsentCheck (consent.runglab.dev), or grab the turnkey $39 ConsentCheck Compliance Pack on Creem. Need a PayPal invoice? Email [email protected].
# Cookie & Consent Notice — Acme Commerce Ltd.
- **Primary Domain:** https://shop.acme.example.com
- **Privacy Contact / DPO:** [email protected]
- **Google Consent Mode v2 Default State:** `denied` across `ad_storage`, `ad_user_data`, `ad_personalization`, and `analytics_storage` prior to consent (eea-uk-strict).
- **Global Privacy Control (GPC):** Honored automatically via `Sec-GPC: 1` and `navigator.globalPrivacyControl` (published at `https://shop.acme.example.com/.well-known/gpc.json`).
- **Ads Data Redaction:** Enabled (`ads_data_redaction: true`).
## Active Storage Categories
- Strictly Necessary (Auth / CSRF / Security)
- Analytics & Product Telemetry (GA4 / PostHog)
- Advertising & Attribution (Google Ads / Meta Pixel)
## Pre-Consent Engineering Guarantees
1. Zero non-essential cookies or localStorage advertising IDs are written before explicit opt-in consent in EEA/UK/CH.
2. Reject-All requires the exact same click depth (1 click) as Accept-All.
3. Users can withdraw consent or trigger GPC opt-out at any time via footer preferences or browser `Sec-GPC: 1`.
> *Informational engineering template only — not legal advice. Verify final privacy disclosures with qualified GDPR/CCPA counsel.*
GDPR / ePrivacy vs. CCPA / CPRA GPC Matrix
Control
EU GDPR & ePrivacy
US CCPA / CPRA & GPC
Default Pre-Consent Model
Strict Opt-In (ePrivacy Art. 5(3) + GDPR Art. 6/7): block non-essential cookies & tags until affirmative consent.
Opt-Out Model (CPRA §1798.135): allow default load except sensitive data / minors; must stop sale/sharing on opt-out.
Google Consent Mode v2 Signals
All 4 signals (ad_storage, analytics_storage, ad_user_data, ad_personalization) MUST default to 'denied'.
Set ad_storage, ad_user_data & ad_personalization to 'denied' immediately when Sec-GPC: 1 or opt-out cookie present.
Global Privacy Control (GPC)
Recognized as supplementary signal; does not replace explicit affirmative consent banner in EU/UK.
Legally binding opt-out of sale/sharing signal (navigator.globalPrivacyControl / Sec-GPC: 1 + /.well-known/gpc.json).
Dark Patterns & Symmetry
CNIL / EDPB require 'Reject All' button with equal visual prominence & 1-click parity to 'Accept All'.
CPRA prohibits deceptive/asymmetrical opt-out UX or forcing multi-step confirmation hoops.
Cookie Retention Cap
CNIL / EU DPAs recommend <= 13 months max retention for consent/analytics cookies and 6-month preference re-prompt.
Honor opt-out preference for >= 12 months before asking to re-authorize.
ConsentCheck · Live Scan$39 Compliance Pack
Verify Live Pre-Consent Cookies, Consent Mode v2 & GPC Readiness
Run a live pre-consent cookie, tracker, gtag('consent', 'default') & /.well-known/gpc.json audit on ConsentCheck (consent.runglab.dev), or grab the turnkey $39 ConsentCheck Compliance Pack on Creem. Need a PayPal invoice? Email [email protected].
Enable 'Consent Overview' in GTM Admin -> Container Settings so every tag displays its built-in and additional consent checks.
Place `gtag('consent', 'default', ...)` above the GTM container snippet (or bind a CMP template tag strictly to the `Consent Initialization - All Pages` trigger).
For non-Google tags (Meta, LinkedIn, HubSpot, Hotjar), set 'Require additional consent for tag to fire' to `ad_storage` or `analytics_storage`.
Verify in Tag Assistant that `On-page Default` is `Denied` before `Container Loaded`.
Non-Google Custom HTML tags inside GTM ignore `ad_storage: denied` unless you configure 'Additional Consent Checks' AND wait for a post-grant custom trigger event.
If you use 'All Pages' without re-triggering on `consent_updated`, a user who clicks 'Accept All' will miss firing the deferred PageView unless your trigger listens to both or uses CMP update triggers.
Also check your CSP (`script-src`) if migrating GTM onto a checkout or SaaS portal.
Common Pre-Consent Pitfalls
Configuring 'Additional Consent Checks' on a Custom HTML tag without removing the `All Pages` trigger or adding a `consent_updated` re-trigger.
Putting the `gtag('consent', 'default')` block below the GTM `<script>` tag in `<head>`.
Leaving `Consent Initialization` empty while third-party tags fire on `Initialization`.
Generate a strictly ordered Google Consent Mode v2 default-denied block covering ad_storage, analytics_storage, ad_user_data, and ad_personalization with ads_data_redaction and 500ms wait_for_update.
Publish a compliant /.well-known/gpc.json support resource and honor Sec-GPC: 1 HTTP headers plus navigator.globalPrivacyControl for CCPA/CPRA opt-out of sale/sharing.
Inspect Google Analytics 4 Consent Mode v2 runtime signals (`gcs`, `gcd`), cookieless ping behavior, and `ads_data_redaction` to confirm zero `_ga` cookies drop before opt-in.
Stop Meta Pixel from setting `_fbp` cookies or firing `tr/` network beacons before user consent using `fbq('consent', 'revoke')` or strict GTM/script deferral.
Prevent HubSpot (`hubspotutk`, `__hstc`) and Intercom (`intercom-id-*`) from dropping marketing or tracking cookies before user consent using `_hsq` suppression and conditional widget loading.
Do third-party GTM tags automatically pause when `ad_storage` is `'denied'`?
No! Only Google tags have built-in Consent Mode checks. Every third-party template or Custom HTML tag requires 'Additional Consent Checks' configured in GTM plus a post-consent trigger.
Why does GTM Tag Assistant warn 'A tag read consent state before a default was set'?
Because `gtm.js` executed before your `gtag('consent', 'default')` call. Move the default-denied script strictly above the GTM snippet in `<head>`.
Can I verify GTM tags don't leak cookies pre-consent?
Yes — run a live scan on https://consent.runglab.dev/?ref=tool-consent-cluster to detect pre-consent cookies and third-party requests.