Skip to main content

If you advertise on Google Ads or use Google Analytics, there’s no getting round Consent Mode v2. Since March 2024, Google has required advertisers in the EU to send consent signals along with their data. If these signals are missing, you’ll lose access to features such as remarketing and personalised advertising, and your conversion data will be less comprehensive.

Nevertheless, many people are unsure about what Consent Mode v2 actually is, whether their setup meets the requirements, and what the difference between basic and advanced mode means in practice. In this guide, you’ll find out what Google Consent Mode is, what requirements you need to meet, how the setup works in Google Tag Manager, and how to get the most out of your data without compromising on consent.

What is Consent Mode v2?

Google Consent Mode is a feature that causes Google’s tags to adapt to the visitor’s consent. When a visitor makes a selection on your cookie banner, that choice is passed on to Google Analytics, Google Ads and other Google tags, which then behave differently depending on whether consent has been given or not.

Consent Mode v2 is the updated version that Google launched in late 2023. The main change is the introduction of two new consent parameters that specifically relate to advertising and the use of user data.

The four parameters of consent

Consent Mode v2 operates using four parameters, each of which can have a status of ‘allowed’ or ‘rejected’.

  • analytics_storage determines whether cookies may be stored for statistical purposes, e.g. in Google Analytics.
  • ad_storage controls whether cookies may be stored for advertising purposes.
  • ad_user_data controls whether user data may be sent to Google for advertising purposes. This parameter is new in v2.
  • ad_personalisation controls whether data may be used for personalised advertising and remarketing. This parameter is also new in v2.

It is these two new parameters that make all the difference. Without them, Google cannot tell whether the visitor has consented to their data being used for advertising, and so any features that require this consent are disabled.

Why does Google require Consent Mode v2?

This requirement is linked to the EU’s Digital Markets Act, which imposes stricter requirements on large platforms such as Google to obtain documented consent before personal data is used for advertising. Google has therefore updated its policy on user consent in the EU and now requires advertisers to send valid consent signals.

For you as an advertiser, this means that the responsibility for obtaining consent lies with you, whilst Consent Mode v2 is the way you tell Google what the user has agreed or declined.

Consent Mode requirements: what you need to comply with

To comply with the requirements and retain access to Google’s advertising features, your setup must meet certain basic requirements.

A cookie banner that obtains valid consent

You must have a cookie banner that obtains consent before setting cookies for analytics and marketing purposes. The banner must give the user a genuine choice, and it must be just as easy to decline as it is to accept. Many opt for a solution certified by Google as a CMP partner, as it is designed to send consent signals correctly.

All four parameters must be sent

The cookie banner must send the status of all four parameters to Google. Many older set-ups only send `analytics_storage` and `ad_storage`, meaning they are missing the two new parameters required by Google.

The default status must be set before the tags are loaded

When the page opens, a default consent status – typically ‘declined’ – must be set before any Google tags are loaded. Once the user has then made a decision, the status is updated. If the default status is set too late, the tags may send data before consent has been given.

The signals must be maintained throughout the entire process

If you use server-side tracking, the consent signals must also be sent from the browser to your server and on to Google. Otherwise, you risk data being forwarded without the correct consent status.

Basic and Advanced Consent Mode

Google offers two ways to implement Consent Mode. The choice you make affects how much data you receive and how your tags behave.

Basic Consent Mode

In basic mode, Google’s tags are not loaded at all until the user has given their consent. If the user says no, no data is sent to Google. This is the most cautious approach, but it also leaves the biggest gap in your data, because Google receives no information about users who opt out.

Advanced Consent Mode

In advanced mode, Google’s tags are loaded immediately, but with a default status of ‘rejected’. If the user opts out, no cookies are sent, but the tags send anonymous signals without identifiers – so-called ‘cookieless pings’. Google uses these signals to model the conversions and behaviour that you would otherwise have missed.

Which one should you choose?

Advanced mode typically provides the most comprehensive data in Google Ads and Google Analytics, as Google can model the missing conversions. Basic mode is the most conservative option if you do not wish any signals to be sent to Google without consent. The choice should be based on both your data requirements and your assessment of the legal requirements. If in doubt, you should seek advice from a lawyer.

What happens if you don’t have Consent Mode v2?

If your setup is missing Consent Mode v2, or if it has been configured incorrectly, this will have consequences for your advertising.

  • Remarketing doesn’t work. You cannot create audiences of visitors from the EU for remarketing in Google Ads.
  • Personalised advertising will be restricted. Google cannot use data from your visitors to target adverts.
  • Conversion rates are falling. Fewer conversions are tracked and modelled, which means your campaigns have a weaker basis for optimisation.
  • Google Analytics data is becoming incomplete. The data shared from Google Analytics to Google Ads will be restricted.

This particularly affects businesses that use Smart Bidding, Performance Max or remarketing, as they rely on Google having enough data to work with. With Google Ads server-side tracking and by setting up Consent Mode v2 correctly, you ensure that Google Ads receives as many conversions as possible from users who have given their consent.

Setting up Consent Mode v2 in Google Tag Manager

The vast majority implement Consent Mode v2 via Google Tag Manager. The setup typically consists of the following steps.

  1. Choose a cookie banner that supports Consent Mode v2. The banner must be able to send all four parameters and, ideally, have a ready-made template for Google Tag Manager.
  2. Set the default consent status. Use a consent initialisation trigger so that the default status is set before any other tags are loaded.
  3. Update the consent once the user has made a decision. The cookie banner sends an update when the user accepts or declines, and the Google tags adapt accordingly.
  4. Customise your tags. Google’s own tags have built-in support for Consent Mode. Tags from other platforms, such as Meta and TikTok, must have consent requirements so that they are only triggered upon consent.
  5. Test the setup. Use the preview function in Google Tag Manager and Google’s own tools to check that consent status is sent correctly in all situations.

If you use server-side tracking, the consent status must also be passed on to your server container. Read more about GTM server-side tracking, if you want to see how it all fits together in a server-side setup.

Consent Mode v2 and server-side tracking

Consent Mode v2 and server-side tracking complement each other. Consent Mode ensures that your data complies with the user’s consent, whilst server-side tracking ensures that the data you are permitted to collect reaches the platforms more reliably.

With a unified setup, the consent signal is passed from the cookie banner in the browser, through your tracking server and on to Google Ads and Google Analytics. This provides more comprehensive data from users who have given their consent, and ensures those who have declined are handled correctly. If you’re new to this topic, you can start with our guide to what server-side tracking is.

Google Consent Mode v2 in Denmark

Danish advertisers are subject to both Google’s requirements and the Danish rules on cookies and consent. The Cookie Notice requires you to obtain consent before setting cookies that are not necessary for the website to function. The Danish Data Protection Agency also emphasises that consent must be voluntary, informed and just as easy to withdraw as it is to give.

The Danish regulations remain unchanged. Consent Mode v2 ensures that the consent you have obtained in accordance with the regulations is also respected within Google’s systems. Correct implementation in Denmark therefore requires both a cookie banner that complies with Danish regulations and a technical setup that correctly passes on the consent.

How to check if your Consent Mode v2 is working

You don’t need to be a developer to get an initial idea of whether your setup is working. There are three places worth checking.

Preview in Google Tag Manager

Open your website in preview mode in Google Tag Manager. Under the ‘Consent’ tab, you can see the status of the four parameters when the page loads, and how they change when you accept or decline in the cookie banner. All four parameters must be present, and their default status must be set before other tags are triggered.

Google Ads

In Google Ads, under your conversion actions, you can view consent diagnostics. Here, Google shows whether consent signals are being received and whether they contain the required parameters. If the diagnostics show warnings, this indicates that something is missing from the setup.

Test as a real visitor

Open your website in an incognito window, block all cookies, and check in the browser’s developer tools that no marketing cookies are being set. Repeat the test, this time accepting the cookies, and check that your tags are now triggered as expected.

Consent Mode and other advertising platforms

Consent Mode v2 is Google’s solution, but consent applies to all platforms. Meta, TikTok, LinkedIn and Microsoft Advertising each have their own way of handling consent, and they must all be configured so that they only receive data from users who have given their consent.

In practice, this means that your cookie banner must act as the central point where consent is obtained and distributed to all your tags. If you use Meta, consent should also be included in your Conversion API setup, so that the server only sends events for users who have given their consent to marketing.

Common errors when setting up Consent Mode v2

Many configurations appear to work, but contain errors that are only detected when data is missing.

Only two out of four parameters are sent

Older cookie banners often only send the original parameters. Without ad_user_data and ad_personalisation, the configuration does not meet Google’s requirements.

Tags are triggered before consent is given

If the default status is set too late, or if tags do not have the correct consent requirements, data may be sent before the user has made a decision.

Third-party tags ignore consent

Consent Mode only works automatically for Google’s own tags. Meta, TikTok, LinkedIn and other platforms must be managed separately to ensure they also respect the user’s choice.

No testing following changes

When the cookie banner, website or tags are changed, the setup may break without anyone realising. Consent should therefore be tested regularly.

Frequently Asked Questions

Is Consent Mode v2 a requirement?

Yes, for advertisers who wish to use Google’s advertising features, such as remarketing and personalised advertising, for users in the EU. Without Consent Mode v2, you will lose access to these features.

What is the difference between Consent Mode v1 and v2?

Consent Mode v2 adds two new parameters, ad_user_data and ad_personalisation, which tell Google whether user data may be used for advertising and personalisation.

Replaces Consent Mode v2 with my cookie banner

No. The cookie banner obtains consent, and Consent Mode v2 passes the consent status on to Google’s tags. You need both.

Can I use Consent Mode v2 without Google Tag Manager?

Yes, Consent Mode can be implemented directly in the code or via a cookie banner that supports it. However, Google Tag Manager is the most widely used and flexible solution.

Does Consent Mode v2 affect my figures in Google Analytics?

Yes. Users who block cookies are not tracked in the usual way, so your figures may be lower. With ‘advanced mode’, Google can model some of the missing behaviour and conversions, provided your website has sufficient traffic.

Does Consent Mode v2 work with server-side tracking?

Yes. The consent status simply needs to be sent from the browser to the server container, so that the tags on the server also respect the user’s choice.

Get started

Do you want to be sure that your Consent Mode v2 setup meets Google’s requirements and provides you with the most comprehensive data? Book a free demo, we’ll show you how the cookie banner, Consent Mode v2 and server-side tracking work together in WeTrack.

Thomas André Jensen is the founder of WeTrack and the founder and CEO of Versano. He established WeTrack based on the simple idea that marketing should be built on reliable data and deliver measurable results. On his blog, he shares insights on server-side tracking, consent and data quality.