Google Analytics on your website.
Does it measure before anyone is asked?

Google Analytics 4 sets the cookies _ga and _ga_… and sends to google-analytics.com as soon as the script loads. Whether it loads before the choice depends not on Google but on how it is built in.

Check your website for free

Your account after the first check

Account view of a sample shop: points to fix, notes, services, history

Sample shop. Every point opens its fix with the steps for your tool.

Free for 14 days, no credit card. Results usually in under two minutes.

Where Analytics loads past the banner

The banner only holds Google Analytics back if it knows the code. Usually it is built in a second time somewhere the banner knows nothing about.

  1. 01

    gtag.js hard-coded in the theme

    The code with googletagmanager.com/gtag/js?id=G-… sits in the theme header or in a “code in head” field. It loads with every page, regardless of the banner.

    Art. 5(3) Directive 2002/58/EC

  2. 02

    A plugin or app adds its own tag

    A statistics plugin, a shop extension or the analytics setting of a site builder adds a second Google tag. One waits for consent, the other does not.

    Art. 5(3) Directive 2002/58/EC

  3. 03

    GA4 tag in Tag Manager without a condition

    If the GA4 tag in Google Tag Manager fires on “Initialization – All Pages” without a consent check, it loads before the choice, even when the banner itself is set up correctly.

    Art. 5(3) Directive 2002/58/EC

  4. 04

    Consent Mode with default “granted”

    If the default is “granted” or the region does not cover your country, GA4 sets cookies as if the visitor had agreed.

    Art. 5(3) Directive 2002/58/EC

Step by step

  1. Measure

    Open the page in a private window, developer tools (F12), Network tab, filter for “collect” and reload without touching the banner. Under Application, Cookies look for _ga. The report does this for every page it reads and names where the tag comes from.

  2. One installation only

    Find every place where G-… appears (theme, plugins, apps, Tag Manager) and keep only one, ideally in Tag Manager or the banner tool.

  3. Load only after consent

    In the banner tool assign Google Analytics to the statistics category; in Tag Manager tie the GA4 tag to consent for analytics_storage. How this works per tool is in the guides below.

  4. Check Google Signals

    If you do not need advertising audiences from Analytics, turn off data collection for Google Signals under Admin, Data collection and modification, Data collection; those requests then disappear.

  5. Measure again

    Check again without consent and after “Reject”. Only when no _ga cookie appears and no collect request with gcs G111 is in the list does Analytics no longer measure before the choice.

Questions

Does Google Analytics 4 set cookies?

Yes, by default _ga and _ga_ followed by the measurement ID, lasting up to two years. Before the choice they only appear if the tag loads without waiting for consent, or Consent Mode reports “granted”.

Is IP anonymization enough?

GA4 no longer has this setting. Either way, the tag still loads with the page, sets cookies and connects the browser to Google. The measurement shows what happens before the choice.

What about advanced Consent Mode?

There the tag loads right away and, on “denied”, sends measurement requests without cookies. How to read gcs and gcd is in the <a href="/en/guides/google-consent-mode-v2">Consent Mode v2</a> guide.

How does this work in my banner tool?

See the guides for <a href="/en/guides/google-tag-manager-consent">Google Tag Manager</a>, <a href="/en/guides/cookiebot-not-blocking">Cookiebot</a>, <a href="/en/guides/usercentrics-not-blocking">Usercentrics</a>, <a href="/en/guides/borlabs-cookie-not-blocking">Borlabs Cookie</a>, <a href="/en/guides/real-cookie-banner-not-blocking">Real Cookie Banner</a>, <a href="/en/guides/complianz-not-blocking">Complianz</a> and <a href="/en/guides/shopify-cookie-banner-check">Shopify</a>.

What a scan shows

It opens your website without consenting, also reads subpages, then clicks Reject and measures again; it also reads gcs and gcd of every Google request. If Google Analytics loads in advance, the report names the page, where the tag comes from and the fix for your banner tool. Right away for your website: cookie check.

Check your website for free

As of 15 November 2026. We name the reference so you can read it yourself; this is not legal advice.

Check your website for free

Free, no email or credit card needed. The result is usually ready in under two minutes.

With email: every fix and a weekly check for 14 days.

  1. Result with the most important fix, no email needed
  2. With your email: every fix and a weekly check for 14 days
  3. The trial ends by itself, no credit card