Updated August 2026. Google Analytics is on millions of websites — and it is one of the most common sources of GDPR problems for small businesses. The short answer to "is Google Analytics GDPR-compliant?" is: it can be, but only if visitors consent before the script loads. Most sites get this wrong.
Two pieces of EU law apply:
Together they mean: the GA tag must not fire until the visitor clicks "Accept." A cookie banner that appears at the same time as the tracking script — or after it — does not count. The data was already collected.
This is not theoretical:
| Case | Issue | Outcome |
|---|---|---|
| Austrian DSB rulings (2021–) | GA transfers IP data to the US without adequate safeguards | Dozens of sites found non-compliant |
| Danish Datatilsynet (2024–2026 practice) | Analytics tags firing before consent | Orders to block scripts until consent |
| French CNIL guidance | Same — consent required before measurement cookies | Fines up to €20M / 4% turnover under GDPR |
Regulators have focused on large sites first, but enforcement against small and mid-sized businesses is growing — and a competitor complaint is enough to trigger an audit of any site.
google-analytics.com, googletagmanager.com/gtm.js, connect.facebook.net, or similar fire before you accept cookies — your tracking loads without consent.Enter a URL and see which trackers load and whether consent is handled — works on WordPress, Shopify, Wix, Squarespace, Webflow, custom HTML, anything.
Run the free scan →denied.<script>
gtag('consent', 'default', {
'ad_storage': 'denied',
'analytics_storage': 'denied'
});
</script>
Only after the visitor accepts do you call gtag('consent', 'update', {...'granted'}).No. But loading it without prior consent violates GDPR and ePrivacy. With a proper CMP and Consent Mode v2, it is legal.
Cookieless tools that don't store device identifiers generally fall outside the ePrivacy consent requirement. Standard Google Analytics is not anonymous.
If your site serves visitors from the EU — even from a US company — GDPR applies to those visitors. Location-based consent gating is possible but adds complexity; applying consent EU-wide is simpler and safer.
Keep consent logs (your CMP does this), document your configuration, and re-scan regularly. EUComply Pro includes monitoring that alerts you when a new tracker appears on your site without consent coverage.