@modern/standing

Privacy · Measurement

Consent Mode v2, set before your first tag fires.

Your cookie banner says one thing and your network tab may say another. We implement Consent Mode v2 and your consent platform so the choice your visitor makes is the one your tags obey, on a headless stack, without layout shift and without losing your read on traffic.

Signals · 4, including v2Modes · Basic · AdvancedBoundary · Not legal advice

What is Consent Mode v2, and do you need it?

You need it if you run Google Ads or GA4 and have visitors in the EEA. Consent Mode is how your site tells Google tags what each person agreed to, and Google's documentation sets out what each tag stops doing when a signal is denied. Without the two v2 signals, Google will not use your EEA data for ad audiences, remarketing or some measurement. The setup is a few lines of code. Getting it right on a real estate is not.

Basic consent mode

Google tags do not load until your visitor answers the banner. Nothing is sent before that, not even the fact that they declined. It is the simplest setup to defend. The cost is that Google models your conversions from a general model, not one built on your own traffic.

Advanced consent mode

Tags load at once with every signal set to denied. While consent is denied, they send pings with no cookies, and that lets Google build a model from your own data. You get better gap-filling. You also send something before consent, so your counsel should sign off on it.

The four signals

ad_storage and analytics_storage control cookies. The two added for v2, ad_user_data and ad_personalization, control whether your user data goes to Google for ads and whether it can be used for remarketing. Miss either one and your EEA audiences stop filling.

Modelled data has a floor

GA4 only fills gaps for properties with enough traffic. Google asks for at least 1,000 events a day with analytics denied for seven days, and 1,000 daily users who granted it on 7 of the past 28 days. Below that, advanced mode buys you little.

What fires before your visitor clicks?

Open your site in a private window. Do not touch the banner. Now watch the network tab. Look for anything that goes out in that first second: an ad pixel, a heatmap script, a font or video embed that sets its own cookie. If you find one, the banner is on screen, the visitor has said nothing, and the data has already left.

That gap matters because the law in the EU sets the bar at the device, not at the cookie. Storing or reading anything on a visitor's device needs consent unless it is strictly needed for the service they asked for. The EDPB's 2023 guidelines apply that rule to tracking pixels and URL tracking too. And since Planet49, a pre-ticked box does not count as consent. We start every project with this audit, because it gives you the full list of tags the rest of the work has to bring under control.

Consent management platform implementation.

You do not need us to pick a banner from a list. You need the one you pick to work inside your stack. We implement OneTrust, Cookiebot, Usercentrics and Didomi, among others. Most of the work is not in the CMP at all. It is in how your frontend renders, when your tags load and who owns the state.

Default before anything loads

Your consent default has to run before the tag manager does. In Google Tag Manager that means the Consent Initialization trigger, which fires ahead of every other trigger. On a hand-built stack, it means an inline script at the top of the document, not a client component that mounts later.

Server knows the answer

On a server-rendered or edge-rendered page, your server can read the consent cookie before it sends any HTML. That way the page arrives with the right state, the banner only renders for people who have not answered, and returning visitors never see it flash.

A banner that does not shift the page

A banner that pushes content down when it mounts is a layout shift your users feel and your Core Web Vitals record. We pin it as an overlay with fixed space, so the page under it never moves.

Route changes in a single-page app

In a Next.js or other client-routed app, the page never fully reloads. Page views and consent updates have to fire on route change, or your analytics count one visit where there were six.

Server-side tagging

Moving tags to a server container does not move the consent duty. The web container still collects the choice and passes it on with each request. Google's own server tags read that state. Any other vendor tag you add there has to be gated by a rule you write.

One state, every tool

Your CMP, Google tags, the pixel your paid team added last spring and the chat widget should all read one state. Two consent sources on one page is how a declined visitor still gets tracked.

Keeping your analytics through a migration.

The worst week to change consent is the week you launch a new site, and it is the week most teams do it. Traffic falls, and nobody can say if the cause is the new templates, the redirects or the banner. We split the change: consent is set up and measured on the old site where we can, or the baseline is captured before the switch, so each effect can be read on its own.

If you are moving content as well, our CMS migration work carries the tag plan and the consent setup across with the content model. If the drop has already happened, the SEO traffic recovery diagnostic treats a consent change as one of the first causes to rule in or out.

How the work runs.

01

Audit what fires before consent

We load your key pages in a clean browser, answer nothing, and record every request, cookie and pixel that goes out. You get the list by vendor and by page, with the template that loads each one.

02

Choose and wire the CMP

We pick a CMP that fits your stack, your markets and your ad setup, then wire it into your rendering layer instead of pasting a script tag into the head.

03

Set Consent Mode v2 and the tag manager

Defaults by region, all four signals mapped, every tag tied to the signal it needs. Basic or advanced is a decision we write down with your counsel, not a toggle we flip.

04

Prove it in the network tab

Each consent path is tested: accept, reject, partial, and no answer. We check what leaves the browser in each case and keep the captures as evidence.

05

Watch the numbers after launch

Your reported sessions and conversions will move when consent changes. Before the switch we record sessions, conversions and the accept rate by template, so a drop can be read as a consent effect, a broken tag or a real loss.

Consent questions, answered.

What is Google Consent Mode v2?

It is the way your site tells Google tags what each visitor agreed to. Tags then change what they collect. Version 2 added two signals, ad_user_data and ad_personalization, to the original ad_storage and analytics_storage. Google needs those signals from EEA users before it will use their data for ad measurement, audiences and remarketing.

Should we use basic or advanced consent mode?

Basic is simpler to defend: nothing goes to Google until a visitor answers. Advanced loads tags at once and sends pings with no cookies while consent is denied, which gives you better modelled data. That is a legal and risk choice as much as a technical one, so we set out both options and your counsel decides.

Do we need a certified CMP?

If you run AdSense, Ad Manager or AdMob and show personalised ads to users in the EEA or UK, Google has required a certified CMP that works with the IAB TCF since 16 January 2024. Switzerland followed on 31 July 2024. For a site that only runs analytics and Google Ads tags, the rule is not the same, but a certified CMP is still the easier path.

Which consent management platform do you implement?

The one that fits your stack. We work with OneTrust, Cookiebot, Usercentrics and Didomi, among others. The choice turns on your markets, your ad setup, how much you need to brand the banner and whether the tool can render cleanly on a headless frontend.

Why did our analytics drop after we changed the cookie banner?

Usually because people who decline are no longer counted, which is the point. Sometimes it is a broken tag, a default that never updates or a route change that stopped firing. If the drop came with a fall in search traffic too, our SEO traffic recovery diagnostic separates the two causes.

Does server-side tagging remove the need for consent?

No. Moving tags to a server changes where data is processed, not whether you need permission to collect it. The web container still has to collect the choice and pass it to the server, and every tag there must respect it.

Is this legal advice?

No. We build and test the setup. Whether your basis for each tag is lawful in each market is a question for your privacy counsel or DPO, and we work to their decisions.

Primary sources.

Each claim about Google's tags and EU consent law on this page was checked against these documents in October 2026.

Consent implementation

See what your site sends before anyone says yes.