PrivacyQuick

Google Consent Mode & analytics

How to check Google Consent Mode is working

Open your site in a private window, confirm a denied default is set before any Google tag runs, then check that your banner sends an update and that Google's requests change. Tag Assistant, the browser's Network tab and GA4's consent settings each show a different part of that picture.

  • Plain English
  • Written for website owners
  • Free to read

To check that Google Consent Mode is working, you need to confirm four things: a consent default is set before any Google tag runs, all four core signals are included, your banner sends an update when the visitor chooses, and Google's tags change their behavior to match. You can test all of this in about fifteen minutes with a private browser window, the browser console, Google Tag Assistant and the Network tab. This guide walks through each test, explains the gcs and gcd parameters you'll see on Google requests, and lists the mistakes that show up most often.

What "working" actually means

A setup can look fine in a settings screen and still send the wrong signals. Before you start, it helps to know what a correct result looks like for each stage of a visit.

StageWhat you should seeWhere to check
Page load, no choice yetA default with ad_storage, analytics_storage, ad_user_data and ad_personalization set, before any Google tagConsole, Tag Assistant
Visitor rejectsAn update with the signals denied; no _ga or _gcl_au cookiesTag Assistant, Application tab
Visitor acceptsAn update with the accepted signals granted; Google cookies appearTag Assistant, Network tab
Next page or next visitThe stored choice applied straight away, without the bannerConsole, Network tab
Visitor from another regionThe default your policy sets for that regionVPN plus the checks above

If you need a refresher on the signals themselves, the Consent Mode v2 explainer covers what each one controls.

Test 1: read the dataLayer in the console

This is the fastest check and needs no extra tools.

  1. Open a private or incognito window, so no earlier consent choice is stored.
  2. Open DevTools (F12), go to the Console tab and load your page.
  3. Without touching the banner, type dataLayer and press Enter.

Expand the array and look for entries that contain consent. The first one should be a default, and it should appear before entries such as js and config that the Google tag adds. A correct default for an opt-in region looks like this when expanded:

0: Arguments(3)
   0: "consent"
   1: "default"
   2: {ad_storage: "denied", ad_user_data: "denied",
       ad_personalization: "denied", analytics_storage: "denied",
       wait_for_update: 500}

Now click Reject all, run dataLayer again and look for a new consent, update entry. Repeat in a fresh private window with Accept all. If you see no consent entries at all, Consent Mode isn't implemented on that page. If the default sits below config, it's set too late.

Google Tag Assistant (tagassistant.google.com) shows exactly what each Google tag saw at each moment. It works for sites using Google Tag Manager and for sites using gtag.js directly.

  1. Open Tag Assistant, add your domain and click Connect. Your site opens in a new tab.
  2. If Tag Assistant reports that it could not connect, your consent setup may be blocking the Google tag until consent. Accept the banner in the new tab and it should connect.
  3. In the event list on the left, select the earliest Consent event. Its API call should list all four core signals with the values you expect.
  4. Select a tag in the output and open its Consent tab. The On-page Default column shows the starting state, and the On-page Update column shows what your banner changed.
  5. Choose an option in the banner, then select the latest Consent event and confirm the update arrived for every signal.

In Tag Manager's preview mode you get one more useful view: the Tags tab for each event shows which tags fired and which were blocked. Use it to confirm that non-Google tags with additional consent checks, such as a Meta or LinkedIn tag, stay blocked until the visitor accepts marketing. The guide to consent in Google Tag Manager explains how those checks are set.

An empty Consent tab means no consent commands reached Google's tags. A warning that the default was set late means a tag ran before your default, which is the single most common Consent Mode bug.

Test 3: read gcs and gcd in the Network tab

Every request a Google tag sends carries the consent state with it. Open DevTools, go to the Network tab, tick "Preserve log" and filter for collect to see GA4 requests, or for google to see Google Ads and other requests too. Click a request and look at its query parameters.

The gcs parameter

gcs dates from the first version of Consent Mode. It has the form G1 followed by two digits: the first for ad_storage, the second for analytics_storage, where 1 means granted and 0 means denied.

Valuead_storageanalytics_storage
G100denieddenied
G110granteddenied
G101deniedgranted
G111grantedgranted

If gcs is missing from GA4 requests, Consent Mode probably isn't active for that tag.

The gcd parameter

gcd arrived with v2 and covers all four core signals, in the order ad_storage, analytics_storage, ad_user_data, ad_personalization. Each signal is shown as a letter, separated by digits. Google hasn't published a full public reference for the letters, but practitioners have decoded them consistently, and the commonly cited meanings are:

  • l: the signal wasn't set at all
  • p: denied by default, no update yet
  • q: denied by default, then denied by an update
  • r: denied by default, then granted by an update
  • t: granted by default, no update
  • u: granted by default, then denied by an update
  • v: granted by default, then granted by an update
  • m / n: no default, then denied / granted by an update

So on an opt-in page before any choice, you'd expect p four times. After Accept all you'd expect r four times, and after Reject all, q. An l for ad_user_data or ad_personalization tells you your setup only sends the v1 signals. Letters such as m or n suggest the default is missing. Treat this decoding as a debugging aid rather than an official specification.

Test 4: check the cookies

Consent Mode signals only help if Google's tags respect them, so confirm what actually lands in the browser. In DevTools, open the Application tab, then Storage → Cookies for your domain.

  • Before any choice and after Reject all, there should be no _ga, _ga_*, _gcl_au or similar Google cookies on your domain.
  • After accepting analytics, _ga and _ga_* should appear. After accepting marketing, advertising cookies such as _gcl_au may appear, depending on which tags you run.
  • Check local storage too. Some third-party scripts store identifiers there instead of in cookies.

Also look at the third-party requests in the Network tab. Consent Mode governs Google's tags only. A Meta Pixel, Hotjar or LinkedIn tag that fires before consent is a separate problem that needs script blocking or tag manager consent checks. The DevTools cookie guide shows these panels step by step.

Test 5: check Google's own diagnostics

Google's interfaces confirm whether signals are reaching your accounts over time, rather than on a single page view.

  • Google Analytics 4: go to Admin, then under Data collection and modification click Consent settings, and select your web data stream. GA4 shows the status of advertising-related and behavior analytics consent signals and may flag problems. Google says these notices can take 48 to 72 hours to update after you start sending the required signals.
  • Google Ads: Google Ads reports consent status in its conversion diagnostics. Where exactly it appears in the interface changes from time to time, so check Google Ads Help for the current location.

These views are useful for confirming a fix has taken hold, but they lag. Use Tag Assistant and the Network tab for anything you need to see immediately.

Testing basic vs advanced, and regional rules

What you should see before consent depends on which implementation you chose. The comparison of basic and advanced Consent Mode explains the trade-offs.

  • Basic: before consent, no requests to google-analytics.com, googletagmanager.com or googleadservices.com at all. After acceptance, the tags load and their first requests should already carry the granted state.
  • Advanced: before consent, requests appear with gcs=G100 and no Google cookies are set. After acceptance, requests switch to G111 (or the mix the visitor chose).

If your defaults differ by region, test from each region you care about. Google decides which regional default applies based on the visitor's location, so the reliable way to test is a VPN exit in each country, repeating Tests 1 to 4. Check at least one EEA country, the UK, Switzerland and one opt-out region such as California. If your consent tool picks the banner mode by region, confirm that the default it sends matches the banner the visitor sees.

Common mistakes and how they show up

SymptomLikely causeFix
Tag Assistant warns the default was set lateThe Google tag or container snippet sits above the defaultMove the default above every Google snippet, or fire it on the Consent Initialization trigger in Tag Manager
l for the last two signals in gcdOnly v1 signals are sentAdd ad_user_data and ad_personalization to both default and update
G111 before any clickGranted by default, or a second script granting consentSearch templates, plugins and the container for other gtag('consent' calls and keep one source
Correct on first page, denied again on the nextStored choice not re-sent on each pageSend the stored choice as the default or an immediate update on every page
Same default in every countryRegion settings missing or wrongCheck the region arrays or your consent tool's regional rules
_ga cookie before consentA hard-coded GA snippet outside your consent setupRemove duplicate tags; check theme files and plugins

Duplicate tags deserve a special mention. Sites that moved to Tag Manager often still have an old gtag.js snippet in the theme, or an analytics plugin that adds its own. That copy may run without your default. Tag Assistant usually shows it as a second Google tag ID.

Next steps

  • Run Tests 1 to 4 in a private window for no choice, Reject all and Accept all.
  • Repeat from each region where your defaults differ.
  • Check GA4's Consent settings two or three days after any change.
  • Retest after every tag, theme or plugin change, not just at launch.
  • Write down what a correct gcs and gcd look like for your site so anyone can repeat the check.

Once signals arrive correctly, you can look at what Google does with the denied traffic in the guide to Consent Mode modeling. If you use PrivacyQuick, it sets the denied default before anything else and sends the update when the visitor chooses; the Consent Mode docs list which category maps to which signal, so you know what to expect in each test. For the checks beyond Google tags, use the cookie banner launch checklist.

Frequently asked questions

What does gcs=G100 mean?

It means both ad_storage and analytics_storage were denied when the request was sent. G111 means both were granted, G110 means only ad_storage was granted and G101 means only analytics_storage was granted.

Why does Tag Assistant say it could not connect?

Usually the Google tag or Tag Manager container hasn't loaded yet, often because your consent setup blocks it until the visitor accepts. Accept the banner in the Tag Assistant tab and it should connect.

How long does GA4 take to show that consent signals are received?

Google says the notices in GA4's consent settings can take 48 to 72 hours to update after you start sending the required signals. Use Tag Assistant and the Network tab for immediate checks.

Should I see requests to Google before the visitor consents?

It depends on your setup. With basic Consent Mode you should see none, because Google tags are blocked. With advanced Consent Mode you'll see cookieless requests with gcs=G100 and no Google cookies set.

Check your own website in 30 seconds

Our free scanner lists every cookie and tracker your site sets, sorted into categories, before you add a banner.

Run a free cookie scan Start free

This guide is general information, not legal advice. Laws and regulator guidance change; check the current rules for your situation or ask a lawyer.