ArticlesCookies & GDPR

Google Consent Mode v2: what it is and how to set it up

If you advertise on Google or use Google Analytics with visitors in Europe, Consent Mode v2 decides how much of your data Google can still use. Without it, remarketing and conversion data from European visitors stop working properly.

What is Google Consent Mode v2?

Consent Mode v2 is how your cookie banner tells Google’s tags what each visitor agreed to. It sends four signals, ad_storage, analytics_storage, ad_user_data and ad_personalization, and Google Analytics and Google Ads adjust what they collect. Google requires it for advertisers who measure or personalise ads for visitors in the EEA, and it has to be set up through a consent banner, preferably a Google-certified one such as Cookiebot.

When a visitor answers your cookie banner, Google’s tags need to know the answer. Consent Mode is the standard way to tell them. Before the visitor chooses, everything is set to “denied”. When they choose, the banner sends an update, and Google Analytics and Google Ads adjust what they collect.

Version 2, required since March 2024, added two signals to meet the EU’s Digital Markets Act:

SignalWhat it controls
ad_storageCookies for advertising
analytics_storageCookies for analytics, such as Google Analytics
ad_user_dataWhether user data can be sent to Google for advertising (new in v2)
ad_personalizationWhether data can be used for personalised ads and remarketing (new in v2)

Who needs it

If you don’t run Google Ads and only use Analytics for basic statistics, Consent Mode is still worth setting up: it keeps more of your data usable, within what each visitor agreed to.

Basic or advanced?

What happensBasicAdvanced
Before the visitor choosesGoogle tags don’t load at allGoogle tags load, but don’t set cookies
If the visitor declinesNothing is sent to GoogleCookieless pings are sent, without identifiers
Modelled conversionsA general modelA model based on your own site’s data, usually more accurate
PrivacyStricterSome data still goes to Google without consent

Advanced mode gives Google more to work with, and most advertisers choose it. Basic mode is the safer choice if you want nothing at all sent before consent. It’s a business and legal decision as much as a technical one, so make it on purpose rather than by default.

How to set it up with Cookiebot

  1. Pick a certified consent platform. Cookiebot is part of Google’s CMP Partner Program, so it sends the v2 signals in the format Google expects.
  2. Add the banner through Google Tag Manager, using the Cookiebot template from the Tag Manager gallery. Set the default consent state to denied for every signal, for visitors in the EEA and UK at least.
  3. Turn on consent checks in Tag Manager. Each Google tag reads the signals automatically. Other tags, such as Meta, LinkedIn or Hotjar, get a trigger so they only fire after the matching consent.
  4. Test before you publish. In Tag Assistant, check that the default state is denied, that it updates when you accept, and that nothing else fires when you decline.
  5. Check Google Ads. In the Ads diagnostics, the consent status for your tags should show as active after a few days of traffic.

The details depend on your site: tags hard-coded into the theme, a HubSpot or WordPress site, or tags that load outside Tag Manager all need their own handling. This is where most setups go wrong: the banner shows, but a tag added two years ago still fires before anyone clicks.

Running Google Ads in Europe? We set up Cookiebot and Consent Mode v2 together, test every tag, and you can get your Cookiebot subscription through us. Get in touch.

Questions we get

What happens if I don’t set up Consent Mode v2?

Google can’t use data from EEA visitors for ad personalisation and remarketing, audiences stop growing, and conversion reporting loses the modelled data that fills the gaps left by visitors who decline cookies.

Does Consent Mode make my site GDPR compliant?

No. It only passes the visitor’s choice on to Google. You still need a banner that asks for consent properly, blocks other trackers and keeps a record of each choice.

Does it work with HubSpot, Meta and LinkedIn tags?

Consent Mode is Google’s system and only controls Google tags. Other tags have to be blocked or allowed by the consent banner itself, which is one reason to use a consent platform that handles all of them.

How do I check that it works?

Use Tag Assistant in Google Tag Manager, or the consent status in the browser’s developer tools. You should see the default state set to denied before the banner is answered, and an update when the visitor makes a choice.

Want help with this?

We’re a Cookiebot by Usercentrics agency partner. We set up Cookiebot on your site, connect it to Google Consent Mode, your analytics and HubSpot, and you can get your Cookiebot subscription through us. See Analytics & cookie consent, or tell us what you’re working on and we’ll reply within one business day.