Skip to content

Consent & Privacy

Tracking without consent is no longer just an ethical grey area — it is a legal liability. GDPR, the ePrivacy Directive, and Google’s own enforcement actions have made consent management a core technical competency for anyone running analytics or advertising tags.

This section covers everything you need to implement consent correctly: what Consent Mode v2 actually does under the hood, how to connect your CMP to GTM, how to handle non-Google tags that don’t respect Consent Mode, and how to test that your setup does what you think it does.

If you are new to Consent Mode, read these two articles first. They give you the conceptual foundation you need before touching any GTM configuration.

What you need to understand before starting

Section titled “What you need to understand before starting”

Consent Mode is a signal-passing system. You pass signals to Google’s tags describing the user’s consent choices. Google’s tags then modify their behavior accordingly — collecting less data, dropping cookies, or firing cookieless pings instead.

What Consent Mode does not do:

  • It does not show a consent banner to your users
  • It does not automatically block non-Google tags
  • It does not guarantee legal compliance on its own
  • It does not replace your CMP

The CMP (Consent Management Platform) is the tool that shows the banner, records the choice, and calls the consent update function. GTM + Consent Mode is the mechanism that receives that signal and acts on it. You need both.

The articles in this section assume you have (or are about to get) a CMP. If you don’t have one, start with CMP Integration to understand your options before configuring anything in GTM.