Cookie preferences

Choose which optional cookies EndFrame may use on this site. Analytics and advertising tools load only if you allow them, and you can change your mind any time from “Cookie settings” in the footer. Whatever you choose, this tab keeps the campaign labels from the link that brought you, and they are saved with your account if you sign up. Read the Cookie Policy.

Needed for the site to work, such as remembering this choice. Always on.

Lets us load analytics tools through Google Tag Manager, including Google Analytics and Microsoft Clarity session recordings, to understand how the site is used.

Allows advertising tags to measure our ad campaigns. None run on this site today. It also keeps ad click IDs from the page address for this tab, and saves them with your account if you sign up.

Skip to main content

Google Consent Mode v2 Explained: The Four Consent Signals and Who Needs It

Consent Mode v2 added two new signals to Google's consent API and became a requirement for advertisers measuring EEA traffic. This guide explains what each signal controls, who needs it, and how it fits with your cookie banner.

The EndFrame Team5 min read

You run Google Ads or GA4 on a site with European visitors, someone has told you that you need Consent Mode v2, and the documentation talks about consent types, pings and modelling without saying plainly what you have to do. This guide explains what Consent Mode v2 is, what each of its signals means, who actually needs it, and what changes in your tags when a visitor says no. It is not legal advice: your obligations under GDPR and ePrivacy rules are a question for your own counsel. Here we cover how Google's mechanism works.

What Consent Mode is, and what it is not

Consent Mode is an API built into the Google tag (gtag.js) and Google Tag Manager. It lets your site tell Google tags, on every page, whether the visitor has granted or denied each type of consent. The tags then change their behaviour: with consent they set cookies and send full measurement, without it they do not use advertising or analytics cookies.

Google is explicit that Consent Mode does not provide a consent banner or widget. It interacts with the banner you already have. Your consent management platform (CMP) asks the question and records the answer; Consent Mode is the wire that carries that answer to Google's tags. If you have Consent Mode but no proper banner, you have not collected consent.

The four signals that matter for advertising

Google's consent API defines several consent types. Three of them (functionality_storage, personalization_storage and security_storage) cover non-advertising storage. The four that matter for ads and analytics are below. Version 2 is simply the version that added the last two.

SignalWhat it controlsAdded in v2
ad_storageWhether advertising cookies (web) or device identifiers (apps) may be stored and readNo
analytics_storageWhether analytics cookies, for example for visit duration, may be stored and readNo
ad_user_dataWhether user data may be sent to Google for online advertising purposesYes
ad_personalizationWhether data may be used for personalised advertising, such as remarketingYes

The split matters. The first two are about storage on the device. The second two are about what Google may do with the data it receives. Google's consent mode reference notes that ad_user_data is required for measurement use cases such as enhanced conversions and tag-based conversion tracking, and that both ad_user_data and ad_personalization must be granted for personalised advertising. If you rely on enhanced conversions in Google Ads, ad_user_data is the signal to get right.

Who needs Consent Mode v2

Google strengthened enforcement of its EU user consent policy, and its help article on the EEA updates sets out the requirement: advertisers who use Google tags or SDKs for measurement, ad personalisation or remarketing must collect consent from end users based in the European Economic Area and share those consent signals with Google. The same applies if you use Google Analytics data in Google Ads, Search Ads 360 or Display & Video 360.

  • You show Google Ads to people in the EEA and measure conversions with Google tags: you need it.
  • You use remarketing or other personalised advertising on EEA traffic: you need it, with ad_personalization handled.
  • You run GA4 on a site with EEA visitors and link it to Google Ads: you need it.
  • You already use Consent Mode but do not do personalised advertising: Google's article says no action is needed for that change, though upgrading keeps your setup current.
  • Your audience is entirely outside Europe: Google's v2 enforcement does not target you, but local privacy laws still apply.

How to get v2 in place

If you use a Google-certified CMP, Google says the provider updates to the newest version of Consent Mode; your job is to confirm with them that the v2 signals are switched on for your account. If you maintain your own banner, you implement it in code or in Tag Manager.

  1. 1Set default consent states before any Google tag fires. In Europe these are normally denied for all four signals.
  2. 2When the visitor makes a choice in the banner, send a consent update with the new state of each signal.
  3. 3Persist the choice so the update is sent again on every later page view, not only on the page where the visitor clicked.
  4. 4Decide between basic and advanced implementation, which changes whether tags load before consent.
  5. 5Test with Tag Assistant or GA4 DebugView that the default and the update both arrive, in the right order.

Order is the most common failure. If a Google tag fires before the default command runs, it behaves as if no consent mode existed for that hit. Tag Manager has consent initialisation triggers for exactly this reason. A related symptom is campaign data vanishing because the first tagged hit was held back, which our guide to UTM parameters not showing in GA4 covers in its consent banner section.

What happens when a visitor says no

Google's documentation describes the behaviour per signal. When storage consent is denied, consent-aware tags do not store cookies or device identifiers. When ad_user_data or ad_personalization is denied, tags cannot use user data for ad targeting. What else happens depends on your implementation type.

In the basic implementation, Google tags do not load until the visitor interacts with the banner, and if they decline, nothing is sent to Google at all, not even the consent state. In the advanced implementation, tags load straight away with denied defaults and send what Google calls cookieless pings: the consent state, a timestamp, user agent, referrer, whether the page URL contained ad-click information, and a random number generated per page load. Google uses those pings to model conversions it could not observe. Whether that pre-consent ping is acceptable in your jurisdiction is a legal judgement, and our comparison of Consent Mode basic vs advanced covers the trade-off in detail.

Consent Mode and server-side conversions

Consent Mode governs Google's browser tags. If you also send conversions from your server, for example through the GA4 Measurement Protocol, the consent the visitor gave or refused still applies to that data. Moving collection to a server does not change what the visitor agreed to. Google's Measurement Protocol supports passing consent values with server events for this reason, and your server pipeline should only forward what your consent records allow. Our article on whether server-side tracking is GDPR compliant explains why the route the data travels does not change the rules.

A short checklist

  • A real consent banner or certified CMP is live for European visitors.
  • All four signals have defaults set before any Google tag runs.
  • Updates fire on the banner choice and on every subsequent page view.
  • ad_user_data is handled if you use enhanced conversions or conversion tracking.
  • Server-side events respect the same consent choice as the browser tags.
  • Your counsel has reviewed the banner wording and the implementation type you chose.

Consent Mode v2 is less complicated than its reputation. It is four switches, two of them new, and a rule that they must be set before tags run. Get the order right, keep the server side consistent with the browser, and the requirement is met without guesswork.

Frequently asked questions

Is Consent Mode v2 mandatory?

Google requires advertisers to collect consent from EEA users and pass those choices to Google if they want to keep using Google tags for measurement, ad personalisation and remarketing on that traffic. Consent Mode v2 is the mechanism Google provides for that. It is a Google policy requirement, not a law in itself; your legal obligations come from GDPR and ePrivacy rules.

Does Consent Mode v2 replace my cookie banner?

No. Consent Mode does not show a banner or record consent. It reads the choice your consent management platform collects and adjusts how Google tags behave. You still need a banner, or a certified consent platform, that asks the visitor properly.

What is the difference between ad_storage and ad_user_data?

ad_storage controls whether Google tags may read or write advertising cookies on the device. ad_user_data controls whether user data may be sent to Google for advertising purposes, for example in enhanced conversions. A visitor can, in principle, allow one and refuse the other, which is why Google split them.

Does Consent Mode v2 apply to visitors outside Europe?

Google's v2 enforcement is about end users in the European Economic Area, and Google's documentation also mentions the UK and Switzerland in its regional defaults. You can set different default states per region, so a site can apply denied defaults in Europe and different defaults elsewhere where local law allows.

Try EndFrame

Add a server-side path for your conversions.

EndFrame collects events first-party and forwards conversions server-side to Meta, GA4, TikTok, and webhooks with event-ID deduplication — then credits each conversion to its campaign, with the visit-to-conversion path you can audit.

No credit card required

Keep reading