# Is Google Analytics GDPR compliant? What EU regulators decided and what Google changed

The CrispStats team · Published 2026-11-23 · Updated 2026-11-29

**TL;DR:** Google Analytics is not GDPR compliant or non-compliant by itself: the GDPR applies to how you use it, and the site owner is the one regulators hold responsible. In 2022 and 2023 regulators in Austria, France, Italy and Sweden found specific sites broke the GDPR by sending visitor data to Google in the US, but since the EU-US Data Privacy Framework took effect in July 2023, transfers to Google, which is certified under it, have a legal basis again. Consent for its cookies, a lawful basis, a privacy notice and settings such as retention are still your job, and your own counsel decides whether your setup holds.

> **Not legal advice.** This article summarises what regulators and courts have published, with links to each source, read on 23 November 2026. It is not legal advice and does not cover every country. Whether your own use of Google Analytics is lawful is a question for you and your own counsel.

Articles saying Google Analytics is illegal in Europe mostly date from 2022, when regulators in Austria, France and Italy ruled against sites using it. The position now has two halves. The part that made headlines, sending EU visitor data to the United States, changed in July 2023. The part that never changed, cookies and consent, is the part most sites still get wrong.

## The short answer

No product is "GDPR compliant" on its own. The [GDPR](/glossary/gdpr) regulates processing, and the website that installs Google Analytics decides why and how visitor data is processed, so it is the controller. Every regulator decision below was addressed to a website operator, not to Google.

Three separate questions decide whether a particular setup holds up:

1. **Is the transfer to the US lawful?** This was the 2022 problem. Since 10 July 2023 the EU-US Data Privacy Framework gives transfers to certified US companies, Google among them, a legal basis.
2. **Do you have consent to set its cookies?** Google Analytics sets cookies on the visitor's device. Under the [ePrivacy Directive](/glossary/eprivacy-directive) that generally needs consent in the EU, whatever happens to the data afterwards.
3. **Is the rest of the GDPR in place?** A lawful basis, a privacy notice, a data processing arrangement with Google, sensible retention and a way to honour access and deletion requests.

## What did EU regulators decide about Google Analytics?

It started with a court ruling. In July 2020 the Court of Justice of the EU [struck down the Privacy Shield](https://curia.europa.eu/jcms/upload/docs/application/pdf/2020-07/cp200091en.pdf) (the case known as Schrems II), the framework most companies used to send personal data to the US, because US surveillance law did not offer protection equivalent to the EU's. A month later the privacy group noyb filed 101 complaints against European websites still using Google Analytics and Facebook tools. Regulators then decided those complaints one by one.

Decisions on Google Analytics data transfers. Each one concerned a specific site and the legal position before July 2023.

| Date | Regulator | What it decided | Source |
| --- | --- | --- | --- |
| January 2022 | Austria (DSB) | A website's use of Google Analytics transferred personal data to the US unlawfully; Google's extra safeguards were not enough | [noyb summary of the decision](https://noyb.eu/en/austrian-dsb-eu-us-data-transfers-google-analytics-illegal) |
| February 2022 | France (CNIL) | Ordered a website operator to bring its use into line within one month, if necessary by stopping Google Analytics; IP addresses and cookie identifiers were personal data | [CNIL decision, published by the EDPB](https://www.edpb.europa.eu/system/files/2022-08/fr_2022-02_decisionpublic_redacted_0.pdf) |
| June 2022 | Italy (Garante) | Found a publisher's use unlawful, gave it 90 days to comply, and warned every Italian site using the tool | [Garante notice, in Italian](https://www.garanteprivacy.it/home/docweb/-/docweb-display/docweb/9782874) |
| July 2023 | Sweden (IMY) | Ordered three companies to stop using it (a fourth, Tele2, had already stopped); fined Tele2 SEK 12 million and CDON SEK 300,000 | [IMY announcement](https://www.imy.se/en/news/four-companies-must-stop-using-google-analytics/) |

The reasoning was the same everywhere. The data sent to Google, including an IP address and a cookie identifier, counted as personal data. It was transferred to the US under standard contractual clauses, and the regulators found that neither the clauses nor Google's technical measures stopped US intelligence agencies from being able to access it. Consent banners did not fix this, because consent to a cookie is not consent to an unsafe transfer.

Note the dates. The Swedish decisions were announced in July 2023 but concerned data collected years earlier, before the new framework existed. None of these decisions says Google Analytics is banned in general.

## What changed in July 2023?

On 10 July 2023 the European Commission [adopted an adequacy decision](https://ec.europa.eu/commission/presscorner/api/files/document/print/en/ip_23_3721/IP_23_3721_EN.pdf) for the EU-US Data Privacy Framework (DPF). It concluded that the US now protects personal data sent to certified companies to a level comparable to the EU's, after a US executive order limited intelligence access and created a Data Protection Review Court that EU residents can turn to. Before adopting it, the Commission had to ask the European Data Protection Board, which [gave its opinion](https://www.edpb.europa.eu/our-work-tools/our-documents/opinion-art-70/opinion-52023-european-commission-draft-implementing_en) in February 2023: it welcomed the improvements and listed concerns.

For Google Analytics the change is direct. Google says Google LLC is certified under the framework and that it has [relied on the DPF since 1 September 2023](https://business.safety.google/adsdatatransfers/) for EEA data sent to the US by its advertising and analytics products. You can check any company's certification on the [official DPF list](https://www.dataprivacyframework.gov/list). On the same page, Google says that since 16 September 2024 it has also relied, in certain circumstances, on the UK Extension to the DPF and the Swiss-US framework for data sent from the UK and Switzerland.

Is the framework itself safe? A French member of parliament, Philippe Latombe, asked the EU General Court to annul it. The court [dismissed the case](https://curia.europa.eu/juris/liste.jsf?num=T-553/23) on 3 September 2025. He [appealed to the Court of Justice](https://eur-lex.europa.eu/eli/C/2025/6610/oj/eng) on 31 October 2025 (case C-703/25 P). We found no judgment on that appeal as of 23 November 2026, so the framework stands, with a live challenge. The Court of Justice struck down both earlier frameworks, which is why some organisations keep a plan for what they would do if it fell.

> **Lawful transfer is not the whole answer.** After the DPF, Denmark's regulator [corrected reports](https://www.datatilsynet.dk/presse-og-nyheder/nyhedsarkiv/2023/jul/brug-af-google-analytics-kraever-ikke-kun-lovlige-overfoersler-til-usa) that Google Analytics had become "legal again". It said it had taken no position on the tool, and that a lawful transfer is only one requirement: a legal basis, the agreement with the provider and visitors' rights still have to be in place.

## What did Google change in Google Analytics 4?

Universal Analytics, the version the 2022 decisions examined, stopped processing data in July 2023 (the differences are in [GA4 vs Universal Analytics](/blog/ga4-vs-universal-analytics)). Its replacement, GA4, comes with several privacy changes. Each one is described on Google's own help pages:

Read on Google's help pages on 23 November 2026.

| Change | What Google says | Source |
| --- | --- | --- |
| IP addresses | Google Analytics does not log or store IP addresses | [Safeguarding your data](https://support.google.com/analytics/answer/6004245) |
| EU collection | Data from EU, Swiss and UK devices is collected through servers in those regions, used for location lookup there, and the IP address is dropped before the data is forwarded | [EU-focused data and privacy](https://support.google.com/analytics/answer/12017362) |
| Granular location and device data | Can be switched off per region, which stops collection of city, browser and OS minor versions, device model and the raw user agent | [EU-focused data and privacy](https://support.google.com/analytics/answer/12017362) |
| Google signals | Can be switched off per region | [EU-focused data and privacy](https://support.google.com/analytics/answer/12017362) |
| Retention | Event and user-level data kept for 2 or 14 months on standard properties (it limits explorations, not standard reports) | [Data retention](https://support.google.com/analytics/answer/7667196) |
| Consent mode | Tags can wait for consent; in advanced mode they send cookieless pings when a visitor declines, used for modelling | [Consent mode](https://support.google.com/analytics/answer/9976101) |

These changes reduce what is collected. They do not remove the cookies. GA4 still sets `_ga` and `_ga_<container-id>`, each lasting [two years by default](https://support.google.com/analytics/answer/11397207), and an identifier stored in a [first-party cookie](/glossary/first-party-cookie) is still the thing the ePrivacy rule is about. The full list of what the tag sends is in [what data Google Analytics collects](/blog/what-data-does-google-analytics-collect).

## Does Google Analytics still need a cookie banner?

In the EU, generally yes. The cookie rule comes from the ePrivacy Directive, not the GDPR, and the Data Privacy Framework does nothing to it. Storing or reading an identifier on a visitor's device needs consent unless it is strictly necessary for a service they asked for, and analytics is rarely treated that way. That is why most EU sites load Google Analytics only after the visitor accepts, and why [consent mode](/glossary/consent-mode) exists.

One detail worth knowing: in advanced consent mode, Google's tags load before the banner is answered and send cookieless pings even when a visitor declines. Google says those pings may include the user agent, screen resolution and IP address, which it does not log. Whether that is acceptable without consent in your country is a question regulators have not answered uniformly, so ask your counsel before choosing advanced mode. Our guide to [whether you need a cookie banner for analytics](/blog/do-you-need-a-cookie-banner-for-analytics) covers the device rule in more depth.

## What do you still have to do yourself?

A checklist drawn from the regulator decisions and Google's own documentation. Your counsel may add to it; none of it is optional just because the transfer question was settled.

- **Get consent before the tag sets cookies**, with a banner that makes declining as easy as accepting.
- **Name Google Analytics in your privacy notice:** what is collected, why, for how long, and that it goes to Google in the US under the DPF.
- **Accept Google's data processing terms** in the Analytics admin, so the contract side is in place.
- **Set retention deliberately.** Choose 2 or 14 months for event data based on what you will actually analyse. See [GA4 data retention](/blog/ga4-data-retention).
- **Switch off what you do not use:** Google signals, granular location and device data, advertising features and Google Ads links, region by region if needed.
- **Never send [personal data](/glossary/personally-identifiable-information)** such as email addresses in page URLs, page titles or event parameters. Google's own [policy forbids it](https://support.google.com/analytics/answer/6366371).
- **Be ready to answer requests.** GA4 has a user deletion tool and API for a visitor who asks to be erased.
- **Keep a fallback plan** in case the Court of Justice rules against the DPF.

### Worked example: what a 40% decline rate does to reports

Say 10,000 people visit your site in a month, and 40% of them decline the banner. With basic consent mode, Google Analytics only sees the 6,000 who accepted. Your reports show 6,000 visitors, and any comparison by source or page is a comparison of the people who click "accept", which may not be a random sample. Advanced mode fills the gap with modelled estimates, built from the cookieless pings. The 40% is an example, not a measured rate: check your own banner's numbers before relying on either figure.

## How CrispStats handles the same questions

Taking the three questions in turn. On consent for cookies, CrispStats answers the question by not setting any, and by writing nothing to the device by default; [cookieless analytics explained](/blog/cookieless-analytics-explained) shows how visitors are counted instead, and why many site owners, with their counsel, decide such a tool needs no banner. On the data the regulators examined in 2022, the IP address and the cookie identifier: there is no cookie identifier, and the IP address is used for a daily hash and then dropped, never stored.

On transfers and the rest of the GDPR, we are in the same position as any vendor, and we do not claim the questions disappear. Visitor data is personal data for the moment it is processed. Our [privacy policy](/legal/privacy) states where data is stored, a database in Seoul, South Korea, not in the EU, and some of our [subprocessors](/legal/subprocessors) are US companies; the privacy policy says transfers out of the EEA, the UK or Switzerland rely on a recognised mechanism such as standard contractual clauses. A [data processing agreement](/legal/dpa) is available. Read those pages with your counsel the same way you would read Google's; the [GDPR-compliant analytics](/analytics/gdpr-compliant-analytics) page sets out the rest, and our list of [Google Analytics alternatives](/alternatives/google-analytics-alternatives) compares other tools on the same points.

## Does consent mode v2 close the questions regulators raised?

No. The decisions in the table were about transfers of personal data, including an IP address and a cookie identifier, to the United States before July 2023. The Data Privacy Framework is what changed that transfer question, for as long as it stands. Consent mode does not replace it, and it does not replace consent when the tag sets cookies.

Consent mode v2, at a high level, adds two advertising signals, ad_user_data and ad_personalization. Google requires them for traffic from the European Economic Area if you want to keep its personalisation and measurement features. In basic mode Google says nothing is sent before consent. In advanced mode the tags send cookieless pings when consent is denied. Neither mode is the transfer basis, the privacy notice or the retention setting in the checklist above.

The parameter list and the contents of those pings are in the [consent mode guide](/blog/google-consent-mode-explained). This is general information, not legal advice.

## Is the banner about Google Analytics or about the rest of the page?

If Google Analytics is the only script that stores an identifier, the banner is there for that script. Most sites also load advertising, video, chat or a tag manager. Those can need consent on their own, including when the Google tag waits for accept. A banner that only gates Google Analytics does not answer storage by the other scripts.

That split is in [do you need a cookie banner for analytics](/blog/do-you-need-a-cookie-banner-for-analytics). Cookieless analytics is a different design. It does not make a Google tag cookieless, and it does not mean the visit is anonymous. The CNIL decision cited above treated the cookie identifier and the IP address as personal data. How those categories sit in the published definitions is in [PII examples](/blog/pii-examples-in-analytics). Google says GA4 does not log or store IP addresses. The regulators still treated the cookie identifier as personal data, so dropping one field does not erase the other.

## Frequently asked questions

### Is Google Analytics banned in the EU?

No. No EU law or regulator has banned the tool in general. Regulators in Austria, France, Italy and Sweden found that specific websites broke the GDPR by transferring data to the US before July 2023. Since the EU-US Data Privacy Framework took effect, transfers to Google as a certified company have a legal basis.

### Does the Data Privacy Framework make Google Analytics compliant?

It settles the transfer question for as long as the framework stands. It does not touch the cookie consent rule, the need for a lawful basis, a privacy notice, retention choices or visitors' rights. Denmark's regulator said exactly this in July 2023. Your own counsel decides whether the rest of your setup holds.

### Is GA4 more privacy friendly than Universal Analytics?

It collects less by default. Google says GA4 does not log or store IP addresses, collects EU data through EU servers and lets you switch off granular location, device data and Google signals per region. It still sets two cookies that last two years by default, so the consent question remains.

### What happens if the Court of Justice strikes down the Data Privacy Framework?

Transfers would fall back on other mechanisms such as standard contractual clauses, the position regulators found insufficient for Google Analytics in 2022. Google says it may use standard contractual clauses where a framework no longer applies. The appeal, case C-703/25 P, was filed on 31 October 2025 and had no judgment we could find as of 23 November 2026.

### Does anonymizing IP addresses make Google Analytics GDPR compliant?

Not on its own. Google's help page says IP masking is not necessary in GA4, because IP addresses are not logged or stored. Regulators still treated the cookie identifier as personal data, and cookies still need consent in the EU.

### Does consent mode v2 change the 2022 Google Analytics decisions?

No. Those decisions were about transfers to the United States before the Data Privacy Framework. Consent mode v2 adds two advertising consent signals so Google tags can be told the visitor's choice. It does not replace a transfer basis, a privacy notice or consent when the tag sets cookies. Your own counsel decides.

### If I only load Google Analytics after consent, do other scripts still need a banner?

Yes, if they store or read non-essential information on the device. The banner is about the page, not about one tag. Advertising, video, chat and tag managers are common cases. Gating Google Analytics does not cover them. This is general information, not legal advice.
