What is Google consent mode v2?

Consent mode is how Google tags learn whether a visitor has agreed to cookies and data sharing, and adjust what they collect to match. Version 2 added two consent types that cover sending user data to Google for advertising.

The four consent types

Consent type What it controls
ad_storage Storage, such as cookies, used for advertising
analytics_storage Storage, such as cookies, used for analytics
ad_user_data Consent for sending user data to Google for online advertising purposes
ad_personalization Consent for personalised advertising

ad_user_data and ad_personalization are the two that arrived with version 2. Your consent banner sets each one to granted or denied, and Google's tags read the result.

Basic and advanced mode

Google offers two ways to implement it:

  • Basic. Google tags are held back until the visitor interacts with your consent banner. If they do not consent, no data is sent to Google at all, not even the consent status.
  • Advanced. Google tags load when the page opens, with consent defaulting to denied. Until the visitor consents, the tags send cookieless measurements instead of full events.

Advanced mode gives Google more to model missing conversions from. Basic mode sends nothing without consent. Which is right depends on your legal advice and your consent platform, not on your tracking setup.

Who has to use it

Google requires advertisers to collect consent for the use of personal data from end users in the European Economic Area, and to share those consent signals with Google. Check Google's EU user consent policy for the full list of regions it currently covers, and your local privacy law for everywhere else.

Consent mode with server-side tagging

Consent mode keeps working when you move to server-side Google Tag Manager:

  • The Google tag in your web container adds the visitor's consent state to the requests it sends to your server container.
  • Google's tags in the server container are consent-aware, and adjust how much and what kind of data they send.
  • You only configure consent mode in the web container. Nothing extra is needed on the server.

For non-Google tags in the server container, such as Meta or TikTok, check how each tag handles consent, and use triggers that respect the consent state where the tag does not do it for you.

Free tool

See how much conversion data your site is losing, in about a minute

Questions

Version 2 added two consent types, ad_user_data and ad_personalization, alongside the original ad_storage and analytics_storage. They cover consent for sending user data to Google for advertising and for personalised advertising.

In basic mode, Google tags do not load until the visitor interacts with the consent banner, and nothing is sent without consent. In advanced mode, tags load immediately with consent denied by default and send cookieless measurements until consent is given.

Google requires advertisers to collect consent from end users in the European Economic Area and pass consent signals to Google. Check Google's EU user consent policy for the regions it currently covers, and local privacy law for anywhere else.

Yes. The Google tag passes consent state to the server container with each request, and Google's server-side tags adjust what they send. Consent mode only needs to be set up in the web container.

More glossary

Conversions API

A conversions API sends conversion events from your server straight to an ad platform, so blocked pixels no longer mean lost conversions. How it works.

Event match quality

Event match quality scores how well your server events can be matched to people on Meta. What it measures, where to find it and the parameters that raise it.

fbclid

fbclid is the click ID Meta adds to links clicked on Facebook and Instagram. What it is, how it becomes the _fbc value, and why to send it with server events.

First-party cookies

What first-party cookies are, how they differ from third-party cookies, and the limits Safari puts on them, including cookies set by server-side tagging.

GCLID, gbraid and wbraid

GCLID is the Google Ads click ID added to your landing page URL. What it does, how gbraid and wbraid differ on iOS, and why it matters for conversion tracking.

Google tag gateway

Google tag gateway serves Google tags from your own domain. What it does, how it differs from server-side Google Tag Manager, and why Google suggests using both.

All glossary

See the conversions you have been missing

Hosted server-side Google Tag Manager on your own subdomain. Per-site pricing, 1M events included, cancel anytime.