Skip to main content

Compliance

Google Consent Mode v2 signals, modes and requirements

Last reviewed

Google Consent Mode v2 is the way your consent banner tells Google tags (Google Analytics 4, Google Ads, Floodlight) what a visitor has agreed to. Version 2 adds two signals, ad_user_data and ad_personalization, to the original ad_storage and analytics_storage. Since March 2024, Google requires these signals for traffic from the EEA, the UK and Switzerland if you want to keep using audience and personalisation features in Google Ads. Consent Mode only transmits consent. You still need a banner to collect it.

Google Tag Manager loads only after consent.

  1. Default

    gtag("consent", "default", { … "denied" })

    Before any Google tag runs, every signal is denied.

  2. Choice

    The visitor accepts in the banner.

  3. Update

    gtag("consent", "update", { … })

    Limes sends the new state to Google tags.

Signals after the update

  • ad_storage granted
  • analytics_storage granted
  • ad_user_data granted
  • ad_personalization granted
New in v2
ad_user_data, ad_personalization
Required for
EEA, UK and Switzerland (Google Ads)
Modes
Basic / Advanced
In Limes
Every plan

The consent signals

Consent Mode v2 uses these parameters. Each can be granted or denied:

Google Consent Mode v2 parameters
ParameterControlsTypical banner category
ad_storage Cookies and identifiers for advertising Marketing
analytics_storage Cookies and identifiers for analytics Statistics
ad_user_data Sending user data to Google for advertising (new in v2) Marketing
ad_personalization Personalised advertising / remarketing (new in v2) Marketing
functionality_storage, personalization_storage, security_storage Non-advertising storage Necessary or preferences

Basic vs. advanced mode

In basic mode, Google tags are not loaded at all until the visitor consents. Without consent, Google receives nothing. Conversion modelling then relies on general data.

In advanced mode, Google tags load immediately with all signals set to denied and send cookieless pings without consent. Google uses these for conversion and behavioural modelling.

Advanced mode means Google's scripts run on the device before consent. In Germany in particular, it is debated whether that is compatible with § 25 TDDDG, which is why many German sites choose basic mode. Decide this with your data protection adviser.

When you connect a Google Tag Manager container, Limes uses basic mode by default and loads the container only after consent. You can turn on advanced mode in the site settings if your data protection adviser approves it.

What a correct implementation looks like

The default state must be set before any Google tag fires, and it must be updated as soon as the visitor decides. Limes does both automatically; the code below shows what happens under the hood.

Default (before any Google tag) and update after consent
gtag('consent', 'default', {
  ad_storage: 'denied',
  analytics_storage: 'denied',
  ad_user_data: 'denied',
  ad_personalization: 'denied',
  wait_for_update: 500
});

gtag('consent', 'update', {
  ad_storage: 'granted',
  analytics_storage: 'granted',
  ad_user_data: 'granted',
  ad_personalization: 'granted'
});

What Google requires

Google's EU user consent policy requires you to obtain consent for users in the EEA, the UK and Switzerland where legally required and, since March 2024, to send Consent Mode v2 signals if you want to use measurement, audience and personalisation features in Google Ads and Google Analytics for those users. Check Google's policy pages for the current scope, including whether further countries are covered.

Publishers using AdSense, Ad Manager or AdMob in the EEA, the UK or Switzerland have an additional requirement: a Google-certified CMP that implements the IAB TCF.

How to verify your setup

  1. Connect Tag Assistant

    Open your site in a private window with Google Tag Assistant connected.

  2. Check the defaults

    Before any choice, check that the consent default shows all four signals as denied.

  3. Accept statistics only

    Accept statistics only: analytics_storage should switch to granted, the ad signals stay denied.

  4. Withdraw and check again

    Withdraw consent via your footer link and confirm the update is sent again.

Tick each step your website meets.

Google Analytics & Ads setup

Wire GA4, Google Ads and GTM to consent signals step by step.

Sources

  1. Consent mode overview(opens in a new tab) Google developers.google.com
  2. Google Ads Help: consent mode(opens in a new tab) Google support.google.com
  3. Regulation (EU) 2022/1925 (Digital Markets Act)(opens in a new tab) EUR-Lex eur-lex.europa.eu
  4. § 25 TDDDG(opens in a new tab) German Federal Ministry of Justice gesetze-im-internet.de Consent for storing and reading information on the device
  5. Directive 2002/58/EC, Art. 5(3)(opens in a new tab) EUR-Lex eur-lex.europa.eu ePrivacy Directive, the basis of § 25 TDDDG

Is Google Consent Mode v2 mandatory?

It is not a legal requirement, but Google requires it for EEA, UK and Swiss traffic if you want to keep using personalisation, remarketing and certain measurement features in Google Ads and GA4.

Does Consent Mode make my website GDPR compliant?

No. Consent Mode only passes the visitor's decision to Google. You still need a banner that collects valid consent, and tags outside Consent Mode must wait for that consent.

Should I use basic or advanced mode?

Advanced mode gives Google more data for modelling, but loads Google tags before consent. Basic mode is the more conservative choice, especially in Germany. Limes supports both and uses basic mode by default, so Google Tag Manager loads only after consent.

Does Limes work with Google Tag Manager?

Yes. Limes sets the consent default and updates automatically and pushes cookie_consent_update events to the dataLayer you can use as triggers.

Limes sets defaults before your tags load and sends updates the moment a visitor decides. This is included in every plan, including Free.

Free up to 2,500 sessions. No payment details.