Free tool

Is Consent Mode v2 set up on your site?

Enter the address of a page. We fetch it once and read its HTML: which Google tags it loads, whether it sets a Consent Mode default with all four v2 signals, whether they start as denied, and which consent platform is there.

Four possible answers

What you get back

Consent Mode v2 defaults found

The page loads Google tags and sets all four signals to denied in its HTML, before the tags send anything.

Consent Mode, with gaps

The page sets a consent default, and part of it needs a look: a missing v2 signal, a signal that starts as granted, or a default that comes too late.

No consent default in the HTML

The page loads Google tags and its HTML sets no consent state. A consent platform or a Tag Manager container can still set one, out of this check’s sight.

No Google tags in the HTML

The HTML loads no Google tags, so there’s nothing for Consent Mode to steer. Tags that a script adds later aren’t in the HTML.

Each answer comes with its reasons: the Google tags and IDs we found, the consent default with each of its four signals, where it sits in the page, and the consent platform if there is one.

How it works

What we check, and how to fix it

Google Consent Mode passes a visitor’s choice from your cookie banner to Google’s tags. Your site gives each type of consent a state, denied or granted, and tags such as Google Analytics and Google Ads adjust: with ad_storage denied, Google says they set no new advertising cookies. Version 2 added two signals for advertising, ad_user_data and ad_personalization, next to ad_storage and analytics_storage. Consent Mode passes a choice on. Asking for it is still the job of your banner.

Our server fetches the page once with the same limits as our cookie banner checker (up to 3 redirects,8 seconds, 1.5 MB) and reads the HTML. We check:

  • which Google tags load: gtag.js and Google Tag Manager, also through a custom loader or a server-side container, with the IDs for Google Analytics 4 (G-), Google Ads (AW-), Floodlight (DC-) and the Google tag (GT-);
  • whether an inline script runs gtag('consent', 'default', …), and which of the four signals it sets;
  • whether each signal starts as denied, and for which regions;
  • whether the default comes before the first command that sends data, such as config, event or the Tag Manager snippet. Google’s guide calls this order vital;
  • whether a consent platform we know is on the page, such as Cookiebot, OneTrust, CookieYes, Usercentrics or Complianz.

How to fix a missing or incomplete default

  1. Put the default in the head of every page, above the Google tag or the Tag Manager snippet, with all four signals set to denied.
  2. If your banner loads asynchronously, add wait_for_update with a number of milliseconds. Google’s example gives the banner 500 milliseconds.
  3. When a visitor chooses, send gtag('consent', 'update', …) with their choice. Store the choice yourself and send it again on every later page, straight after the default.
  4. With Tag Manager, you can set the default inside the container instead, with your consent platform’s template or one built on Tag Manager’s consent APIs.
  5. To limit the denied default to some countries, add a region list with ISO 3166-2 codes. Google recommends scoping defaults to the regions where you show a banner.
  6. Check the result in Google’s Tag Assistant, which shows the default and each update on a live page.
Defaults, before the Google tag
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('consent', 'default', {
    'ad_storage': 'denied',
    'analytics_storage': 'denied',
    'ad_user_data': 'denied',
    'ad_personalization': 'denied',
    'wait_for_update': 500
  });
</script>
<!-- Then the Google tag or the Tag Manager snippet -->

From Google’s own documentation, checked on 28 October 2026:

Our guide Consent Mode v2 explained covers basic and advanced mode, the update after a choice, and when Google requires a certified consent platform.

What this check can’t see

  • Tags and settings inside a Google Tag Manager container. The container is a separate file, so a default or a consent template set there doesn’t show up here.
  • Defaults that a consent platform sets from its own script.
  • What happens after a choice: whether the update fires and the tags follow it. Tag Assistant shows that.
  • Tags that a script adds after the page loads, and other pages of the site.

General information about how Google documents Consent Mode, not legal advice. Whether a site meets the law depends on more than these signals, starting with a banner that asks before anything loads.

What we store

Nothing. The address you enter goes to our server, which fetches that one page and sends the result back to your browser. We don’t keep the address or the result, and we don’t log them. The site you check sees one visit from Cloudflare’s network, with our checker’s name in the user agent. More in the privacy policy.

Consent Mode: common questions

What is Google Consent Mode v2?
A way to tell Google’s tags what a visitor chose in your cookie banner. Your site sets each type of consent to denied or granted, and tags such as Google Analytics and Google Ads adjust what they store and send. Version 2 added two signals for advertising, ad_user_data and ad_personalization, next to ad_storage and analytics_storage.
Do I need Consent Mode v2?
Google says that if you measure visitors from the European Economic Area with Google tags, you must collect consent for the use of their personal data and share those consent signals with Google, for measurement, ad personalisation and remarketing. Consent Mode is the way to share them. If you already use Consent Mode and run no personalised advertising, such as remarketing, Google says you don’t need to do anything for v2.
Why can’t the checker see my Tag Manager setup?
Tags, triggers and consent settings inside a Google Tag Manager container live in a separate file that loads after the page. This check reads only the HTML, so a default set in the container or by a consent platform’s template doesn’t show up. Google’s Tag Assistant shows the consent state on a live page.
Does Consent Mode replace a cookie banner?
No. It passes on a choice that a visitor made somewhere else, in your banner or consent platform. Without a banner there’s no choice to pass on, and Google’s documentation leaves getting consent to you.
What happens to the address I enter?
Our server fetches that one page and sends the result to your browser. We don’t store the address or the result, and we don’t log them. To stop abuse, Cloudflare counts how many checks come from one IP address per minute.

General information based on Google’s documentation, not legal advice. A page we got wrong? Tell us.

Read and use next

Where Gatelamp helps

Early access

Switch on early.

Join the waitlist for Gatelamp. We invite people in small groups, and waitlist members get the early price.