Is Google Analytics legal in the EU?
Yes, again, since July 2023. But only with a cookie banner and the visitor’s consent, and the legal ground it rests on is being challenged in the EU’s highest court.
Checked November 14, 2026. Not legal advice.
The short answer
From 2022 to mid-2023, several regulators found that using Google Analytics broke GDPR, because visitor data went to the US without enough protection.
In July 2023 the EU approved the EU–US Data Privacy Framework. Google is certified under it, so sending the data to Google in the US is allowed again.
What never changed: Google Analytics sets cookies, so you need the visitor’s consent first. In practice that means a cookie banner, and visitors who say no are not counted.
What regulators and courts decided
- January 2022AustriaAustria’s data protection authority found a website’s use of Google Analytics unlawful. The first of these decisions in the EU, after complaints from the privacy group noyb.
- February 2022FranceFrance’s CNIL ordered a website to stop using Google Analytics, or to change how it was set up, because data went to the US without enough protection.
- June 2022ItalyItaly’s data protection authority reached the same conclusion about a website and gave it 90 days to comply.
- September 2022DenmarkDenmark’s Datatilsynet said Google Analytics could not be used lawfully as it was, and told organisations to review their use of it or stop.
- July 2023SwedenSweden’s IMY ordered four companies to stop using Google Analytics. Tele2 was fined 12 million kronor and CDON 300,000 kronor.
- 2023NorwayNorway’s Datatilsynet found that Telenor’s use of Google Analytics broke the rules on transfers to the US, and recommended Norwegian companies to look at alternatives.
- July 2023EUThe European Commission adopted the EU–US Data Privacy Framework. Data may again go to certified US companies, Google among them, without extra safeguards.
- October 2024SwedenA Swedish administrative court upheld IMY’s fine against Tele2.
- September 2025EUThe EU General Court rejected a challenge to the Data Privacy Framework.
- October 2025EUThe challenger appealed to the EU Court of Justice. The appeal is still pending.
What still applies
Consent before cookies. The EU’s ePrivacy rules require consent before a site stores or reads anything on a visitor’s device, unless it is strictly needed. Google Analytics does both, so it needs a cookie banner.
A rejected banner means a missing visitor. Everyone who says no, or ignores the banner, is not in your numbers. Google Analytics can estimate them with Consent Mode, but those are models, not visits.
The framework can fall. Its two predecessors, Safe Harbor and Privacy Shield, were struck down by the EU Court of Justice in 2015 and 2020. If this one goes the same way, the 2022–2023 decisions apply again overnight.
Your options
Keep Google Analytics, with a banner
Legal today with consent. Use a consent tool, set up Consent Mode, and accept that part of your visitors are not counted. Keep an eye on the appeal.
Switch to cookieless analytics
Tools that count without cookies or visitor IDs, like Okidoki, Plausible or Fathom, usually need no banner for the analytics, and the people who say no are counted too. You get fewer marketing features than Google Analytics.
Host analytics yourself
Matomo on your own server keeps the data with you. With cookies turned off it can run without consent in some EU countries, France among them. It takes more work to set up and keep running.
Is Google Analytics 4 different from the old Universal Analytics here?
Google Analytics 4 drops full IP addresses and stores data in more places, but it still sets cookies and still sends data to Google. Regulators who looked at it reached the same conclusions about consent.
What happens if the Data Privacy Framework is struck down?
Sending visitor data to Google in the US would again need the extra protection that regulators found missing in 2022–2023. Sites would have to stop or change their setup quickly, as after Privacy Shield in 2020.
Sources
- IMY: Fyra bolag måste sluta använda Google Analytics (2023)
- IMY: Four companies must stop using Google Analytics (2023)
- IMY: Tele2 Sverige AB, the case and the court ruling
- CNIL: Use of Google Analytics and data transfers to the United States (2022)
- CNIL: Adéquation des États-Unis, les premières questions-réponses (2023)
- IAPP: Danish DPA renders decision against Google Analytics transfers (2022)
- European Commission: adequacy decision for EU-US data flows (10 July 2023)
- WilmerHale: Court of Justice to review challenge to the Data Privacy Framework (2025)