// Creative Agency

Consent Mode v2: 7 Steps to Set It Up Right in 2026

Consent Mode v2: 7 Steps to Set It Up Right in 2026

Consent Mode v2 is Google’s way of letting your website tell Google tags what each visitor agreed to, so those tags collect or hold back data accordingly. It is not a cookie banner. It is the layer behind the banner, and it only works when the banner, the tags and the consent signals are wired together in the right order. This guide explains what changed in v2, how Basic and Advanced modes differ, and the seven steps that get a business site set up and verified.

Depechecode
Keep Your Website Supported
For broader website support, Depeche Code offers technical support and ongoing maintenance alongside development and SEO services.

Visit

TL;DR

  • Consent Mode passes a visitor’s choices to Google tags. It does not show a banner and does not remember the choice by itself.
  • Version 2 added two signals, ad_user_data and ad_personalization, to the original ad_storage and analytics_storage.
  • Basic mode blocks Google tags until the visitor chooses. Advanced mode loads them with denied defaults and sends cookieless pings.
  • Defaults must be set before any measurement tag runs, and both the accept and deny paths must be tested in Tag Assistant.
  • Consent Mode is a Google feature, not a law: which privacy rules apply depends on where your visitors are.

Table of Contents

What Consent Mode v2 actually does

Google’s documentation describes consent mode as a way to communicate visitors’ consent choices to Google tags, which then adjust their behavior. It is explicitly not a consent banner or widget. Your banner (or consent management platform, the tool that shows the choices and records them) collects the decision. Consent Mode relays it.

When a visitor denies consent, consent-aware tags do not store cookies and send cookieless pings instead. When the visitor accepts, tags behave normally and send full measurement data.

Why a business owner cares: those pings feed modeling. Google says its consent-mode conversion modeling uses observable data and historical trends to estimate the relationship between consented and unconsented users and to fill in attribution paths you cannot see directly. Without it, every visitor who clicks “decline” disappears from your reports, and your cost per lead looks worse than it is.

What Consent Mode v2 actually does

What changed from v1 to v2

Google’s setup guide states that consent mode was updated in November 2023 with two additional parameters: ad_user_data and ad_personalization. Here is the full set in plain words.

Signal What it controls
ad_storage Advertising-related storage, such as cookies (Google’s definition)
analytics_storage Storage used for analytics measurement
ad_user_data Whether user data may be sent to Google for advertising purposes (new in v2)
ad_personalization Whether data may be used for personalized advertising such as remarketing (new in v2)

If you installed consent mode before late 2023, you have an upgrade to make: your banner or tag setup must now send the two new signals as well. A site that still sends only the original two is running the old version.

Basic vs. Advanced mode

This is the choice that most affects your data.

Basic Advanced
Google tags before the visitor chooses Blocked Load with default (usually denied) settings
Data sent before consent None, not even consent status Consent state and cookieless pings
Modeling Based on a general model Described by Google as advertiser-specific
After consent is granted Tags load and send full data Full measurement data is sent

The differences above come from Google’s own comparison of the two modes. Basic is the most conservative setup: nothing leaves the browser until the visitor clicks. Advanced keeps a thin, cookieless signal flowing so Google can model the gap. Which one fits depends on your privacy policy and the legal advice your business has received, so make that decision deliberately rather than leaving it to a plugin’s default.

Do you have to use it in the U.S.?

Consent Mode v2 is a Google product feature, not a statute. No U.S. law says “implement consent mode.” What U.S. site owners face is a patchwork of state privacy rules, opt-out signals such as Global Privacy Control, and, if you serve visitors in Europe, GDPR. Those rules decide how your banner must behave. Consent Mode is how that behavior reaches your Google tags.

Two practical consequences:

For the legal side of your banner, our guides on U.S. cookie consent requirements and honoring GPC before pixels fire, CCPA compliance for websites and GDPR for U.S. websites cover what the banner has to do. Questions about your specific obligations belong with your attorney.

Seven steps to set up Consent Mode v2

1. Decide your regions and defaults

List where your visitors come from and what each region needs: denied by default, granted by default with opt-out, or a mix. Write it down before touching any code. The most common mistake is copying one global default onto every visitor.

2. Pick a banner that supports Consent Mode

Your banner must send all four signals, including the two v2 additions. Check that it can store the visitor’s choice and re-prompt when they want to change it. Design matters here too: a banner people can actually understand gets better-quality choices, and our cookie consent design rules cover the layout details.

3. Set defaults before any tag fires

This is where setups most often fail. Google’s guide says to set defaults before measurement tags or events run. With gtag.js, that means a consent default command placed ahead of your config calls. In Google Tag Manager, use a consent template that calls setDefaultConsentState, and make sure it runs on the earliest trigger (Consent Initialization), not on Page View.

A minimal gtag default looks like this:

gtag('consent', 'default', {
  'ad_storage': 'denied',
  'analytics_storage': 'denied',
  'ad_user_data': 'denied',
  'ad_personalization': 'denied'
});

4. Send the update when the visitor chooses

When someone accepts, declines or changes preferences, the banner must fire an update (gtag('consent', 'update', ...) or updateConsentState in Tag Manager). Google advises tracking updates before page transitions, so a click that immediately loads a new page does not lose the choice.

5. Persist the choice

Consent Mode does not save anything. Google’s guide says you must persist the visitor’s choice and apply it on later page loads. In practice your banner stores it in a first-party cookie or local storage and replays the update on every page, before tags run. If returning visitors are asked again on every page, this step is the culprit.

6. Connect your tags

Google tags, including GA4 and Google Ads, read the signals automatically once configured. For other tags in Tag Manager, set the consent requirements each one needs, so a marketing pixel does not fire until the matching signal is granted. If you are still setting up conversions, our GA4 conversion tracking guide shows what to measure, and the small business analytics guide helps you decide which numbers matter.

6. Connect your tags

7. Test every path

Do not publish on faith. Google’s debugging guide describes a sequence: open a new Tag Assistant session, inspect the earliest Consent event for defaults and the latest for banner-driven updates, then check the Tags tab to confirm the right tags fired or were blocked.

Run the check twice:

  1. Deny path: decline everything. Defaults should show denied, the update should keep them denied, and measurement tags should respect that (blocked in Basic, cookieless pings in Advanced).
  2. Accept path: accept everything. The update should flip all four signals to granted and your tags should fire in full.

If you use regional defaults, simulate each location. Then reload the page to confirm the saved choice is replayed.

Common problems and what causes them

Symptom Usual cause
Defaults appear after the first tag fires Default command is on the wrong trigger or placed below the tag snippet
Banner clicks change nothing Update command is missing, or it sends only the two v1 signals
Returning visitors see the banner on every page The choice is not persisted or not replayed
Traffic drops sharply after launch Basic mode is blocking tags until choice, or the banner converts few visitors to “accept”
Two banners or two tag setups conflict A plugin and a Tag Manager template are both setting consent

That last one is common on WordPress sites, where a theme, an analytics plugin and a cookie plugin can each try to manage consent. One system should own it.

Perspective: consent is part of the website, not an add-on

We build and maintain business websites, and what we see in this topic is simple: consent settings are a site architecture decision, not a checkbox in a plugin. The order in which scripts load, which template owns consent, how a banner is designed and how the choice is saved all live in the website itself.

That is why we treat measurement as part of the build and the ongoing upkeep. Our approach to websites is built around delivering clean, high-performing sites with transparent ownership of everything delivered, which means the people responsible for your tags and your banner should be able to explain exactly where each one lives and why.

A site that is maintained regularly stays consistent as plugins update, themes change and campaigns launch. For a business that depends on Google Ads and analytics, that consistency is what keeps the data trustworthy.

Donovan Wells - Founder and CEO

Keeping it working after launch

Consent setups drift. A plugin update can change when scripts load, a new landing page can bypass the default snippet, and a redesign can drop the banner altogether. Build a short routine:

  • Re-run the deny and accept tests after any theme, plugin or tag change.
  • Re-test after every redesign. Our website redesign checklist covers what to preserve so tracking and search visibility survive the move.
  • Compare conversions in your reports against actual leads each month. A sudden gap usually means a consent or tag problem, not a market change.

Where we come in

Depeche Code is an Orlando-based digital agency covering website development and redesign, SEO, WordPress hosting and maintenance, AI chatbots, mobile apps and social media management. If your site’s tracking and consent setup needs to stay solid while your pages, plugins and campaigns change, our WordPress maintenance plans start from $99 per month, and our WordPress hosting and maintenance page shows what is included.

Depechecode

If you are planning a new site or a redesign, tell us up front what tracking you rely on. You can reach the team through Depeche Code.

FAQ

Is Consent Mode v2 mandatory?

It is a Google feature, not a law, so no statute requires it by name. It becomes practically necessary when you want Google to model conversions from visitors who decline, since Google’s eligibility for that modeling includes correct Consent Mode or IAB TCF v2.0 implementation. Your legal obligations around the banner itself depend on where your visitors are.

What is the difference between Consent Mode v1 and v2?

Version 2, introduced in November 2023, added two parameters: ad_user_data and ad_personalization. They sit beside ad_storage and analytics_storage and tell Google whether user data may be sent for advertising and whether it may be used for personalization.

Does Consent Mode replace my cookie banner?

No. It only communicates the choice to Google tags. You still need a banner or consent platform to collect the choice, and a way to persist it so it is applied on later page loads.

How do I test Consent Mode v2?

Start a new Tag Assistant session, look at the first Consent event for your defaults and the last one for the banner update, then check the Tags tab to see which tags fired. Repeat for the accept and deny paths and for each region if you use regional defaults.

Sources

Recommended