Skip to content

Ads and analytics

Consent Mode v2 and the cookie banner: what a site owner needs to know

What Consent Mode v2 is, how it relates to the cookie banner, which consent signals Google passes and what a site owner should check so that analytics and ads work correctly.

Consent Mode v2 is a Google mechanism that passes signals about the user's choice in the cookie banner to analytics and advertising services. The site tells Google tags whether storing data for ads, analytics and personalization is allowed, and the tags behave accordingly. It works only together with a consent banner.

In brief

  • The cookie banner collects consent, and Consent Mode passes it to Google tags in the form of signals.
  • The second version adds ad_user_data and ad_personalization to the analytics_storage and ad_storage signals.
  • There are basic and advanced modes: in the basic one, Google tags are not loaded until consent is given; in the advanced one, they send anonymous signals without cookies.
  • For advertising in the European Economic Area, Google requires consent signals to be passed, otherwise advertising capabilities are limited.
  • Legal requirements depend on the country, so the final decision should be agreed with a lawyer.

Cookie banner and Consent Mode: what is the difference

The banner is the interface the visitor sees. It explains which cookies the site uses and lets them accept, decline or configure categories. Consent Mode is a technical layer that takes the choice from the banner and passes it to Google tags.

So Consent Mode alone is not enough: without a banner there is no source of consent. And conversely, a banner without Consent Mode only blocks scripts, while Google does not know the user declined and cannot model the lost data.

Which signals version 2 passes

SignalWhat it controls
analytics_storageStoring data for analytics, including GA4
ad_storageStoring advertising-related data, for example ad cookies
ad_user_dataSending user data to Google for advertising
ad_personalizationPersonalized advertising, including remarketing

Each signal has the value granted or denied. What is new in the second version is precisely the last two signals, which Google uses for advertising services in European regions.

Basic and advanced modes

Basic mode

Google tags are not loaded until the user gives consent. Until then, no data is received at all. This is simpler from a privacy standpoint, but you lose all statistics from visitors who declined.

Advanced mode

Tags load right away, but until consent they pass only limited signals without cookies. Google uses them to model the behavior of those who declined and partly restores the picture of conversions. The decision on which mode to choose depends on your privacy requirements and legal assessment, so do not make it on your own.

What this changes for a site owner

  • Analytics. Some visitors will decline cookies, and their data will be missing from GA4 or will be modeled. Reports show an incomplete picture.
  • Advertising. For campaigns that target audiences in the European Economic Area, the absence of consent signals leads to restrictions: remarketing and conversion measurement work worse.
  • Conversion data. Google can supplement it with modeling, but only with a sufficient volume and correct setup.
  • Trust. A clear banner that honestly explains why cookies are used helps visitors feel more comfortable.

How to set up Consent Mode v2

  1. Choose a consent management platform. It can be a Google-certified partner service or a built-in module of your CMS.
  2. Set up the cookie categories: necessary, analytics, advertising, functional. Describe each in the language of your site.
  3. Turn on the Consent Mode integration and make sure the default values are set before the tags load.
  4. In Google Tag Manager, check the consent mode for tags. GA4 and Google Ads tags must take the signals into account automatically, while third-party tags need separate firing conditions.
  5. Test all scenarios: accept all, decline all, partial consent.
  6. In the Tag Manager preview mode, check that the signals change after the choice and the tags work correctly.

What the banner itself must contain

  • Clear text without legal jargon.
  • Accept and decline buttons that are equally prominent.
  • Links to the privacy policy and to category settings.
  • The ability to change the decision later through a link in the footer.
  • Pre-blocking of non-essential cookies until consent.

The list of requirements depends on the legislation of the country where the business operates and on the site's audience. Rules change, so check current norms and consult a lawyer.

What changes in real reports

After implementing consent, you will notice that the number of users and sessions in GA4 may drop slightly. This is expected: some visitors decline analytics cookies. Compare periods after launch only with each other, because the period before the banner had different data collection conditions.

In Google Ads, the impact is visible in conversions and audiences. If remarketing lists used to fill quickly, they may now grow more slowly. Conversion modeling helps compensate for some of the losses, but it needs a sufficient volume of data. Small accounts may feel this more strongly.

How to check that everything works

  1. Open the site in incognito mode without accepting cookies. Look at the requests in the developer tools: tags must not set advertising cookies.
  2. Accept all categories and make sure events went to analytics.
  3. Decline all categories and see whether the corresponding cookies disappeared.
  4. In the Tag Manager debug mode, open the consent panel for each tag and make sure the signal values match the choice.
  5. In Google Ads, review the tag diagnostics and the conversion measurement status.

Repeat the check after every update of the site, the banner plugin or the container. The banner often breaks when the theme or scripts change, and then consent stops being passed correctly, although everything looks like it works.

The banner on Horoshop, WordPress and site builder sites

The connection method depends on the platform. In WordPress, a consent management plugin that can pass Consent Mode signals is usually installed. On Horoshop, the banner is added through the integrations settings or as a separate script from a consent management system. Site builders sometimes have a built-in banner, but check whether it passes signals in exactly the Google format.

Regardless of the platform, the banner script must load first, before the analytics tags. Otherwise the tags will manage to send data before the user makes a choice. This is one of the most frequent reasons why a banner formally exists, but data is collected without permission.

What to do with other services

Consent Mode applies to Google tags. Other tools, such as social media pixels, heat maps and chats, have their own mechanisms. They must be launched only after the corresponding consent, usually through triggers in Tag Manager that check the cookie category. Draw up a list of all scripts on the site, assign each to a category and check that it responds to the user's choice.

Common mistakes

  • The banner exists, but Google tags load before consent and ignore the user's choice.
  • Default values are set after the tags load, so the first events go without the right signals.
  • The decline buttons are hidden or made barely noticeable.
  • Only analytics_storage and ad_storage are set up, and the new signals of the second version are missing.
  • The mobile version and the language versions of the site are not tested.
  • Tags of third-party services, for example a social media pixel, are not linked to consent.
  • The privacy policy is not updated after new analytics is introduced.

Questions and answers

Do I need Consent Mode v2 if my customers are only from Ukraine?

Google's requirements apply to advertising for users from the European Economic Area. If the audience is mainly Ukrainian, the requirements may be less relevant, but some visitors come from Europe. Assess the makeup of your audience and consult a lawyer.

Will my analytics disappear after implementation?

No, but the data will become incomplete: after declining cookies, some people will not make it into the exact statistics. Advanced mode lets you partly restore the picture through modeling.

Is a banner plugin enough?

Only if the plugin supports passing Consent Mode signals. Check this in the documentation and test it on the site.

How does basic mode differ from advanced?

In basic mode, tags are not loaded before consent. In advanced mode, they load and pass anonymous signals without cookies, which helps modeling.

Who is responsible for the setup?

Technically, this is done by a developer or a marketer. The legal part, that is the texts and the choice of mode, should be agreed by the business owner with a lawyer.

Conclusion

Consent Mode v2 links the user's choice in the cookie banner to the behavior of Google tags. For a site owner, the main things are to have a clear banner, pass all four signals, set the default values and test the scenarios. Final legal decisions depend on your country and audience. LightSEO can help with the technical setup of tracking during development or an audit. See also our pages on an SEO audit of your site and Google ads.

Read also