Hands-on module
Consent & privacy
Gate tags on consent the way modern privacy law requires, then add regional defaults.
Modern privacy law expects tags to hold until a visitor agrees. This module is about wiring consent into GTM so your tags respect it, starting with Google's Consent Mode v2 and the per-tag Consent Settings that gate a tag on a signal like analytics_storage.
You'll gate a tag so it holds under denied and fires once granted, then layer on the advanced controls real deployments need: region-specific defaults, url_passthrough so click IDs survive, and ads_data_redaction.
What you'll learn
- How Consent Mode v2 starts denied and updates on a consent choice
- Gate a tag with Consent Settings (Require additional consent for tag to fire)
- Set region-specific consent defaults (deny for the EEA, granted elsewhere)
- Keep attribution alive with url_passthrough and protect data with ads_data_redaction
Lessons
- 1→
Privacy Laws In Plain English
GDPR, CCPA and ePrivacy, without the legalese.
- 2→
What A Cookie Banner (CMP) Does
How consent is captured and passed to your tags.
- 3→
Consent Mode V2 Explained
How Google tags adjust to consent signals.
- 4→
Cookies And Identifiers
First vs third-party, and why they are shrinking.
- 5→
The Cookieless Future
What replaces third-party cookies, and what changes.
- 6→
Privacy-First Responses
The tools that keep measurement working.
- 7→
PII And Data Hygiene
What not to collect, and how to handle the rest.
- 8→
Consent Mode V2
Toggle consent and confirm a gated tag holds vs. fires exactly as expected.
- 9→
Consent Mode Advanced
Regional defaults, url_passthrough and ads_data_redaction.
- 10→
Consent & Privacy: Recap And Verify
Recap consent gating, then check your whole container in one pass.