Don't have one? Create one ↗
Reliability, privacy & governance

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