Every EU country works from the same ePrivacy rules, but each regulator reads them a little differently. A banner built for one country can fail in the next, because of a button colour, a reappearing banner or a missing reject option on the first screen.
This guide sets out the shared rules once, then what differs in France, Germany, Italy, the Netherlands, Spain and Ireland, and in Switzerland, which sits outside the EU but is treated much the same by Google.
The rules every EU country shares.
Two laws do the work. The GDPR covers what happens to personal data. The ePrivacy Directive, implemented differently in each member state, covers storing or reading anything on a visitor's device, which is what analytics cookies do. Together they mean a banner that asks first, and tags that listen to the answer.
Under the ePrivacy rules, only cookies that are strictly necessary for the service the visitor asked for are exempt. Analytics isn't one of them. GA4's cookies, and the identifiers it reads, need the visitor's agreement before they're set.
A few regulators allow narrow exemptions for simple audience measurement. France's and the Netherlands' are covered below. GA4 as normally set up, sending data to Google and linked to Google Ads, doesn't meet them.
The EU has proposed loosening the rules for some first-party audience measurement, as part of its Digital Omnibus package. At the last check it was still being negotiated, and even the proposal leaves out tools that feed data to third parties. Until it's law, plan on consent.
How the UK differs.
Since February 2026, UK law has had a narrow exception for some analytics, with strict conditions, though Marc's advice is still to ask first. For consent-or-pay sites, see the ICO's view. The EU has no general equivalent, so one banner and one rule for everyone can't be right in both places.
The practical answer is consent by region: EU visitors are asked first, and visitors elsewhere get the setup that suits their rules. The guide to region-specific consent in Tag Manager covers how.
What a valid consent looks like.
Regulators across the member states agree on the basics:
- Reject is as easy as accept. A way to refuse on the first screen, not buried in settings.
- Nothing is ticked in advance, and carrying on browsing isn't a yes
- Each purpose is named. Analytics and advertising are separate choices.
- Withdrawing is easy. A visible link, such as "Cookie settings", lets people change their mind later.
- Choices are kept, and so is the record of what someone agreed to, and when
Consent Mode v2, transfers and other tags.
Google's Consent Mode passes each visitor's choice to Google's own tags, and Google requires it for EEA traffic if you use Google Ads, to keep remarketing and audiences working. It doesn't block other platforms' tags, and it doesn't decide what the banner asks.
Use basic: Advanced Consent Mode v2 doesn't meet UK or EU consent rules, because its cookieless pings send data to Google before anyone has agreed. Consent Mode v2 for EEA traffic explains more.
Meta, LinkedIn, TikTok and Pinterest pixels, session recording and chat widgets all need consent before they load too.
Several regulators objected in 2022 to Google Analytics data going to the US. The EU-US Data Privacy Framework has covered those transfers since 2023, as GA4 and EU data transfers explains, and the privacy notice should say so.
Where GA4 setups go wrong, in every country.
The banner is usually fine. The problem is what happens underneath it.
- Tags fire before the banner. GA4 loads on page load and the first page view has already gone.
- The choice never reaches the tags. The consent manager and Tag Manager were never connected, so GA4 and Google Ads carry on as normal.
- Consent Mode missing, or set to granted by default so the reports look fuller
- Rejecting doesn't remove anything. Cookies set before the choice stay in the browser.
- A privacy notice that still names Universal Analytics
- Nobody has tested it as an EU visitor. The team is in the UK or the US, and sees a different banner.
France.
France's regulator was the first in Europe to fine the big platforms over cookie banners, for a fault any site can have: making it harder to say no than to say yes.
The rules.
France's cookie rules come from Article 82 of its Data Protection Act, read with the GDPR. The regulator is the CNIL. Its guidelines and recommendation of September 2020 add two points of emphasis to the shared basics:
- Rejecting takes the same effort as accepting. If there's an "Accept all" button, there has to be an equal way to refuse. A "Continue without accepting" link in the corner is the common French answer.
- Withdrawal from any page. A visitor who said yes must be able to change their mind wherever they are.
In January 2022 the CNIL fined Google and Facebook for banners that took one click to accept and several to refuse. Smaller sites have had the same letter since. The reject button is the test.
Where GA4 stands.
French law exempts some audience measurement from consent, and the CNIL used to publish a list of tools that qualified when set up its way.
In July 2025 it replaced the list with a self-assessment. A tool is exempt only if it measures the publisher's own site, produces aggregated statistics, doesn't follow people across sites, and shares nothing with a third party for its own use.
A standard GA4 setup sends data to Google and can be linked to Google Ads, so it doesn't fit. GA4 on a French site needs consent, first-party cookie or not.
The CNIL's formal notices of February 2022 were about Google Analytics transfers, not consent, and the Data Privacy Framework now covers them.
What to check in France.
- Whether "Continue without accepting" actually stops the tags, or only closes the banner
- A banner translated from an English template, with "Accept" in a big button and "Settings" in small text
- A way to change the choice later, from every page
Germany.
Germany has the strictest consent culture in Europe, sixteen regulators instead of one, and a long habit of treating Google Analytics with suspicion. A GA4 setup that passes in Germany passes almost anywhere.
The rules.
Cookies are covered by section 25 of the TDDDG, Germany's law on data protection in telecommunications and digital services. It was the TTDSG until a renaming in 2024; the substance didn't change. Nothing may be stored on, or read from, a device without consent unless it's strictly necessary for a service the visitor expressly asked for.
The DSK, the conference of Germany's federal and state data protection authorities, publishes the guidance regulators work from (version 1.2 of its guidance for providers of digital services). It says:
- Analytics usually needs consent. The guidance doesn't name Google Analytics, and won't say audience measurement is generally allowed without consent. That can only be decided for a precisely defined setup and purpose, and stops holding once more data or reports are added.
- Third-party analytics collects more. Such services usually collect far more than a simple count, which is why GA4 needs a yes first in practice. First-party cookies don't change that.
- No consent by nudging. A cookie wall that blocks the site until the visitor agrees, or a banner that reappears on every page until they do, is pressure, not choice.
- The privacy notice lists the tools: each service, what it does, and who runs it
Enforcement sits with the state authorities, so a business in Bavaria and one in Hamburg can get different letters about the same banner. Consumer organisations and competitors can also act over unfair competition.
Where GA4 stands.
GA4 can be run lawfully in Germany. It needs consent before anything loads, a privacy notice that describes it, and a setup that doesn't collect more than it needs. Google Signals and ads personalisation stay off unless there's a reason and a consent for them.
Some German businesses pick a European analytics tool instead, to avoid the conversation. That's a fair choice. Marc Alexander's view is that GA4 with proper consent is also fair, and the better one for a business that advertises with Google, because the two then share the same numbers.
What to check in Germany.
- Consent recorded for "statistics" but the Google Ads tag loading too
- An English-language banner on a German site
- The privacy notice read against what the site actually loads
Italy.
Italy's regulator wrote the EU's most detailed cookie guidelines, and they have features found nowhere else. A banner built for another country often fails here.
The rules.
Italy's cookie rule is article 122 of its privacy code, read with the GDPR. The regulator is the Garante per la protezione dei dati personali. Its guidelines on cookies and other tracking tools, adopted in June 2021 and in force from January 2022, set out:
- A close button, or "continue without accepting", that leaves the defaults in place, with accept and reject given equal weight
- Scrolling is not consent, except as part of a documented process that shows a positive choice, which in practice means never
- No cookie walls, except in particular cases the guidelines spell out
- Six months' peace. A visitor who refuses may not be shown the banner again for six months, unless the processing changes or the site can't tell it's the same visitor.
- No legitimate interest. Tracking can't be based on it; consent is the only route.
- Analytics without consent only if anonymised: IP address shortened, no cross-site use, no sharing with third parties for their own purposes, aggregated statistics only
In 2024 the Garante issued a series of decisions on cookie banners, after online checks carried out for it by the Guardia di Finanza. Those reported, such as decision no. 585 of 26 September 2024, ended in formal warnings rather than fines.
Where GA4 stands.
In June 2022 the Garante found that an Italian website's Google Analytics data went to the US without adequate protection. It gave the site 90 days to bring the transfers into line, and ordered them suspended if it didn't. The Data Privacy Framework has since removed that objection.
The consent objection remains. A standard GA4 setup isn't anonymised analytics in the Garante's sense, because it sends data to Google and can be linked to Google Ads, so GA4 on an Italian site waits for consent.
What to check in Italy.
- Refuse, then come back the next day: the banner shouldn't return. The consent manager has to store a no as carefully as a yes.
- "Accetta" in a filled button and "Rifiuta" in grey text, or no close button at all
- A privacy policy that says nothing about the US
Netherlands.
The Dutch regulator has been writing to websites about their banners since 2025, with a fine against a household-name retailer to point at. The Netherlands also has a written exemption for low-impact analytics.
The rules.
Dutch cookie rules sit in the Telecommunications Act, with the GDPR governing the data. The regulator is the Autoriteit Persoonsgegevens, the AP. Alongside the shared basics, the law allows analytics cookies without consent when they have no, or only a minor, effect on the visitor's privacy. That's the clause site owners reach for with Google Analytics.
The AP's campaign.
In 2024 the AP fined the owner of Kruidvat.nl 600,000 euros over tracking cookies set without valid consent. On objection, the AP cut it to 50,000 euros in 2025, but the finding stood: a banner that steers people into accepting isn't consent.
In 2025 the AP wrote to more than 200 Dutch websites about misleading banners. About three quarters fixed them, and it has opened enforcement against the rest.
By October 2026 it had warned around 100 more organisations, in media, health and welfare, and insurance, and about seven in ten fixed their banners. On 16 October it opened investigations into two that kept banners with no visible reject button.
It monitors around 10,000 Dutch websites and says cookies and tracking before consent stay a priority through 2028. It looks for cookies before a choice, a hidden reject option and pre-selected categories.
Where GA4 stands.
The AP's guide to a privacy-friendly Google Analytics setup, which allowed use without consent, was written for Universal Analytics: a processing agreement with Google, IP addresses shortened, data sharing off, no use with other Google services. GA4 links to Google Ads by design, and the AP hasn't published an equivalent for it.
Marc's view: a GA4 property used only to measure the site, with Google Signals, ads personalisation and data sharing settings off and nothing linked, is the closest GA4 comes to the exemption. Once Google Ads is linked, the exemption is gone and consent is the only safe footing. Ad pixels wait either way.
Spain.
Spain's regulator is one of Europe's busiest. It handles tens of thousands of complaints a year, publishes its decisions, and rewrote its cookie guide around one demand: a reject button on the first screen.
The rules.
Spain's cookie rule is article 22.2 of its information society services law, the LSSI, read with the GDPR. The regulator is the Agencia Española de Protección de Datos, the AEPD.
Its cookie guide is the practical standard. The July 2023 version, in force since 11 January 2024, follows the European Data Protection Board's guidance on deceptive design, and the edition updated in May 2024 keeps the same rules:
- Reject on the first layer. A "Reject" option in the banner itself, as prominent as "Accept". A settings button alone, which used to pass, no longer does.
- No tricks of design. Colour and contrast must not steer the visitor towards accepting.
- Cookie walls only with an alternative. Access may depend on consent only if another route to the same content is offered, such as a paid one, and the site says so clearly.
- Plain language, with each purpose and each third party named
Cookie banners are a recurring subject of the AEPD's published resolutions, alongside larger fines on telecoms, transport and the big platforms.
Where GA4 stands.
Analytics needs consent in Spain unless it meets the narrow audience measurement conditions European authorities share. A standard GA4 setup doesn't, so it waits for consent.
The AEPD's own decisions show where the line is. Before the Data Privacy Framework it ordered a travel company to stop sending Analytics data to the US, while dismissing a complaint against another site whose setup sent only a random identifier and no IP addresses. What the setup actually sends is what the regulator looks at.
What to check in Spain.
- A banner from before 2024 with "Aceptar" and "Configurar" but no "Rechazar"
- Click "Rechazar", reload, and confirm nothing non-essential loads
- A cookie wall with no alternative route
Ireland.
Ireland follows the shared EU rules closely. What stands out is how directly its regulator says first-party analytics is included.
The rules.
Cookies in Ireland are covered by the ePrivacy Regulations of 2011, S.I. No. 336 of 2011, read with the GDPR. In April 2020 the Data Protection Commission, the DPC, published guidance on cookies and tracking technologies, alongside a report on a sweep of Irish websites that found most of those it reviewed weren't compliant. It expects:
- Consent whether or not the cookie holds personal data, for anything not strictly needed to provide the service the visitor asked for
- Analytics included. First-party and third-party analytics cookies alike need consent. The DPC said first-party analytics was unlikely to be an enforcement priority, but that's a statement about priorities, not an exemption.
- No bundled consent. No single yes covering several purposes; each needs its own choice.
- Information up front: what each type of cookie does, and who sets it, before the visitor chooses
Where GA4 stands.
GA4's cookies shouldn't be set until the visitor agrees to analytics. Ireland is in the EEA, so Google needs Consent Mode v2 signals to keep remarketing and audiences working for Irish visitors.
What to check in Ireland.
- One "Accept all" with no way to choose purposes separately
- A banner set up for UK rules, which have started to differ from the EU's since the UK's Data (Use and Access) Act 2025
Switzerland.
Switzerland isn't in the EU, has no cookie banner law of the EU kind, and for years ran on "inform and let them object". That's changing through guidance rather than statute, and Google already puts Swiss visitors on the same footing as the EEA.
The rules.
Personal data is governed by the revised Federal Act on Data Protection, in force since 1 September 2023, which brought Swiss law close to the GDPR without copying it. Cookies sit under the Telecommunications Act, whose rule has always been lighter: tell visitors about the processing and give them a way to refuse.
The Federal Data Protection and Information Commissioner, the FDPIC, has filled the gap with cookie guidelines published in January 2025 and updated on 6 October 2025. They say:
- Strictly necessary cookies need information and an accessible way to object
- Personalised advertising and profiling may require consent, which must come before the cookie is set
- Several purposes, several choices. A consent that bundles purposes, or embedded third parties, isn't valid.
- Cookie paywalls, consent to all cookies or pay, are allowed in principle, with conditions, and the FDPIC will keep watching the practice
Fines under the Act are criminal, capped at 250,000 francs, imposed by cantonal prosecutors, and fall on the responsible person rather than the company. The first ones have been small; the reputational side is what moves Swiss businesses.
Where GA4 stands.
No Swiss authority has ruled on Google Analytics, and the FDPIC's guidelines don't name it. A plain reading is that GA4 used only for the site's own statistics sits on the lighter rule, while the same property linked to Google Ads with Google Signals on is personalised advertising and needs consent.
Two things settle it in practice. Since 31 July 2024 Google's EU user consent policy has covered visitors in Switzerland, so a site advertising with Google needs valid consent and the Consent Mode v2 signals. And the Swiss-US Data Privacy Framework has applied since September 2024, with Google certified under it.
Marc's view: a Swiss site that serves EU visitors too, which is most of them, should run the EU setup everywhere. The lighter Swiss rule saves nothing once Google's policy and the EU visitors are in the picture.
Watch for a notice-only bar with no way to refuse, and German, French and Italian banners that don't say the same thing.
What it means for a GA4 setup.
One setup can satisfy every country here: consent before anything non-essential, a reject option on the first screen as prominent as accept, separate choices for analytics and advertising, refusals remembered, and basic Consent Mode v2 wired to the banner. Country differences then mostly come down to wording and language.
Which rules apply to a business, and how cautious to be, is a question for its lawyer or data protection officer. How each regulator applies the rules more broadly is in Is GA4 legal in the UK and EU?
How to check it.
- Open the site in a private window from the country in question, with a VPN if needed. Before touching the banner, open the developer tools and watch the cookies and the network requests to Google, Meta and other platforms. Nothing but essential requests should go out.
- If
_gacookies appear, or a full page view goes to Google Analytics, before any choice, the setup isn't waiting - Reject, reload and check again
- Accept analytics only, and check that advertising tags still wait
- Check what the GA4 property is linked to, and whether Google Signals and data sharing are on
- Test each Consent Mode state with the Consent Mode v2 testing guide
The free tracking checker shows what a first-time visitor triggers. Marc, a GA4 specialist and GTM specialist, sets up GA4, Tag Manager and Consent Mode for European businesses, with prices in euros. The GA4 mini audit checks what a site does before a visitor agrees.
Sources.
- EDPB: Guidelines 2/2023 on the technical scope of Art. 5(3) of the ePrivacy Directive.
- European Commission: Digital package FAQ
- ICO: What are the exceptions? (storage and access technologies)
- Google: EU user consent policy
- Google: Consent mode on websites and mobile apps
- Google: Consent mode overview
- Google: Updates to consent mode for traffic in the EEA
- Google Analytics Help: EU, Switzerland, or UK-focused data and privacy
- European Commission: EU-US data transfers and the Data Privacy Framework
- CNIL: Cookies et autres traceurs, lignes directrices modificatives et recommandation (2020)
- CNIL: Cookies, solutions pour les outils de mesure d'audience (2025)
- Légifrance: CNIL decision SAN-2021-024 on refusing cookies (2021)
- CNIL: Mesure d'audience et transferts de données (2023)
- Gesetze im Internet: Section 25 TDDDG
- DSK: Guidance for providers of digital services (OH Digitale Dienste, version 1.2)
- Garante: Guidelines on cookies and other tracking tools, 10 June 2021
- Garante: Decision of 9 June 2022 on Google Analytics and transfers to the US
- Garante: Decision no. 585 of 26 September 2024, warning over a cookie banner.
- Security.NL: AP verlaagt boete Kruidvat voor trackingcookies van 600.000 naar 50.000 euro
- Autoriteit Persoonsgegevens: AP onderzoekt websites vanwege misleidende cookiebanner (16 October 2026)
- Ius Mentis: AP verlaagt Kruidvat-boete voor trackingcookies van 600.000 naar 50.000 euro
- BOE: Ley 34/2002 de servicios de la sociedad de la información (LSSI), article 22.2
- AEPD: Guía sobre el uso de las cookies (May 2024)
- AEPD: La AEPD actualiza su Guía sobre el uso de cookies (July 2023)
- EDPB: Guidelines 03/2022 on deceptive design patterns
- Irish Statute Book: S.I. No. 336 of 2011, the ePrivacy Regulations.
- Data Protection Commission: Guidance note on cookies and other tracking technologies (April 2020)
- Data Protection Commission: Report on the use of cookies and other tracking technologies (April 2020)
- FDPIC: Guidelines on data processing using cookies
- FDPIC: Cookie guidelines, updated version published
- Swiss Federal Council: Swiss-US Data Privacy Framework
Sources checked on 6 November 2026.