Since March 2024, Google has made Consent Mode v2 mandatory for all European advertisers using Google Ads, Google Analytics 4 or Google Tag Manager. Without it, campaigns lose up to 70% of their measured conversions and some remarketing features are flat-out disabled.
The good news: if your cookie banner is well designed, integration takes 5 minutes. In this article we explain what Consent Mode v2 is, why it has become unavoidable, and how to implement it cleanly — with or without a custom banner.
Set up a Consent Mode v2 banner in 2 minutes →
What is Google Consent Mode v2?
Google Consent Mode is a technical framework that lets your Google scripts (Analytics, Ads, Tag Manager) adapt dynamically to each visitor’s consent choice. Rather than fully blocking or unblocking the scripts, it sends them signals so they can run in a degraded mode when the user declines.
Version 2, introduced late 2023 and made mandatory in March 2024 for EEA + UK advertisers, adds two major signals:
ad_user_data— whether user data may be passed to Google for advertisingad_personalization— whether personalised advertising is allowed (remarketing)
These two signals add to the four existing ones (analytics_storage, ad_storage, functionality_storage, personalization_storage, security_storage).
Why Consent Mode v2 is mandatory
Without a proper Consent Mode v2 implementation:
- Google Ads stops recording conversions from users who did not consent (instead of modelling them via Google’s AI)
- Remarketing audiences drain progressively
- Google Analytics 4 no longer sends data for denied users and cannot model missing conversions
- Your GA4 reports become incomplete and unusable for marketing decisions
In practice, an e-commerce site without Consent Mode v2 loses 60 to 70% of visibility on the purchase journey. Google Ads campaigns are flown blind.
The two modes: Basic vs Advanced
Google distinguishes between two implementations:
Basic mode
Google scripts only load after consent. If the user declines, no data is sent and no conversion model is built. This is the simplest approach but the least performant for marketing.
Advanced mode (recommended)
Google scripts load on arrival, but in degraded mode. They send anonymous signals (cookieless ping) to Google, which uses AI to model the missing conversions. Users who consent trigger the scripts fully.
Advanced mode typically recovers 40 to 60% of lost conversions via Google’s modelling. It is Google’s recommended mode and the one natively implemented by modern banners such as WebLegal CCB.
How to implement Consent Mode v2
With a modern banner (recommended)
Recent banners integrate Consent Mode v2 transparently. With WebLegal CCB, you write no code: the script automatically emits the correct signals to gtag.js and Google Tag Manager based on the user’s choices.
<script src="https://weblegal.ai/js/wl-cookie-consent.js"
data-wl-cc
data-position="popup"
data-theme="auto"
data-privacy-url="/privacy-policy"
defer></script>
That is all. The script:
- Sets the defaults to
deniedbefore any interaction - Loads your Google tags (Analytics, Ads) in degraded mode
- Updates the
analytics_storage,ad_storage,ad_user_data,ad_personalizationsignals according to the visitor’s choice - Triggers the normal tag flow after consent
With a manual implementation
If you use a custom solution, you must add, before any Google script:
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('consent', 'default', {
'ad_storage': 'denied',
'ad_user_data': 'denied',
'ad_personalization': 'denied',
'analytics_storage': 'denied',
'functionality_storage': 'granted',
'security_storage': 'granted',
'wait_for_update': 500
});
</script>
Then at the moment of consent:
gtag('consent', 'update', {
'ad_storage': 'granted',
'ad_user_data': 'granted',
'ad_personalization': 'granted',
'analytics_storage': 'granted'
});
With Google Tag Manager
GTM offers built-in Consent Mode templates. You need to:
- Enable consent mode in the GTM interface
- Configure each tag to respect the required signals
- Wire the CMP (Consent Management Platform) to the trigger variables
This approach is flexible but demands a good grasp of GTM and debugging with Tag Assistant.
Mistakes to avoid
1. Implementing Consent Mode but letting cookies drop before consent. Google accepts the signals, but the ICO, CNIL and their peers punish the pre-consent cookie drop. Consent Mode does NOT exempt you from the prior consent obligation.
2. Forgetting wait_for_update. This parameter (in milliseconds) tells Google how long to wait for the visitor’s choice before sending the first signals. Without it, pings are sent immediately in denied mode, skewing your metrics.
3. Confusing Consent Mode with the cookie banner. Consent Mode is the technical plumbing that sends signals to Google. The banner is the interface that collects the user’s consent. You need both.
4. Not testing. Google’s Tag Assistant Chrome extension lets you verify in real time that signals are being emitted. Test the three scenarios: full refusal, partial acceptance, full acceptance.
How to check your site is compliant
Three free tools:
- The WebLegal scanner checks for a banner, tracker blocking before consent, and Consent Mode configuration
- Google Tag Assistant (Chrome extension) displays the signals your tags send
- DevTools > Application > Cookies lets you verify no analytics or advertising cookie is dropped before the “Accept” click
In summary
Consent Mode v2 has become the technical standard for reconciling marketing measurement and GDPR compliance. Manual implementation is possible but demands rigour and testing. For most sites, a modern banner with native integration — such as WebLegal CCB — is the most robust and simplest solution.
Beyond Consent Mode, remember that compliance also requires the mandatory legal documents: privacy policy, cookie policy, legal notice.
Generate your banner + GDPR documents →
FAQ
Is Consent Mode v2 mandatory for every site?
It is mandatory for advertisers using Google Ads, GA4 or GTM to reach EEA and UK audiences. If you use no Google products, you do not need it — but you must still comply with GDPR for other trackers.
Is Consent Mode v2 enough to be GDPR-compliant?
No. Consent Mode v2 handles signals on Google’s side, but GDPR compliance also requires prior consent, a banner with a “Reject” button as prominent as “Accept”, and a documented cookie policy.
Basic or Advanced mode: which to pick?
Advanced mode is recommended by Google because it enables conversion modelling, recovering 40-60% of the lost marketing performance. Basic mode is simpler to implement but less performant.
How much does it cost to implement?
Zero with a banner like WebLegal CCB which integrates it natively. Between €500 and €2,000 for a manual implementation by a developer, depending on the complexity of your stack.
What happens if I do not implement Consent Mode v2?
Your GA4 reports are incomplete, your Google Ads campaigns lose 60-70% of measured conversions, and remarketing audiences drain. Technically Google Ads keeps working, but your marketing steering becomes blind.