In the EU and UK, a cookie banner is triggered by device access under ePrivacy Article 5(3) and PECR, not by the GDPR. A tool that stores and reads nothing on the device can usually run without an analytics banner. The GDPR still covers the IP address it processes, so you need a legal basis (usually legitimate interest) and a privacy notice.
In the US there is generally no opt-in banner rule; the real risks are CCPA/CPRA opt-outs, Global Privacy Control and wiretap lawsuits. This guide is for site owners, marketers and developers deciding whether to drop analytics from their banner.
Not legal advice. General information as of October 2026; laws and guidance change, so check with counsel.
"Cookieless" is a technical claim. "No banner needed" is a legal conclusion, and it depends on two things: what the script does on the device and what data the server keeps.
If your analytics sets cookies, EU and UK law requires consent before it runs.
If it reads and writes nothing on the device, the ePrivacy consent duty usually does not arise, but GDPR duties remain.
If a "cookieless" tool uses fingerprinting or localStorage, it is treated like a cookie.
If your audience is US-only, the model is notice and opt-out, not opt-in.
Removing cookies from analytics takes away one reason for a banner, not all of them. YouTube embeds, ad pixels, chat widgets and A/B testing tools can still need consent.
Cookie-based GA4 — Banner under ePrivacy/PECR?: Yes; GDPR legal basis + notice?: Yes; US obligations: Notice; opt-out if linked to ads
Cookieless tool that reads nothing from the device — Banner under ePrivacy/PECR?: Usually not; GDPR legal basis + notice?: Yes; US obligations: Notice
"Cookieless" tool using fingerprinting or localStorage — Banner under ePrivacy/PECR?: Yes, likely; GDPR legal basis + notice?: Yes; US obligations: Notice + opt-out if data is shared
US-only audience, no EU/UK visitors — Banner under ePrivacy/PECR?: Not applicable; GDPR legal basis + notice?: Not applicable; US obligations: Notice + opt-out
Most competitor pages blur this distinction, and it is the core of the whole question. ePrivacy Article 5(3) asks one thing: are you storing information on the user's terminal equipment, or accessing information already stored there? If you are, and it is not strictly necessary for a service the user explicitly requested, you need prior consent. That is the banner rule. It covers any storage or access, not only cookies: localStorage, pixels and scripts that read device properties all count.
The GDPR asks a different question: are you processing personal data? If you are, you need one of the six lawful bases in Article 6, transparency under Articles 13–14, support for data subject rights and a processor contract under Article 28. Consent is one of those bases, not the only one.
ePrivacy decides whether you need a banner; the GDPR decides what you owe for the data. Cookieless analytics can clear only the first gate.
People mix the two up for two reasons. ePrivacy borrows the GDPR's definition of consent, and GDPR Recital 30 names cookie identifiers and IP addresses as online identifiers. In the UK the ePrivacy rules sit in PECR, and UK GDPR covers the data. A proposed EU ePrivacy Regulation never replaced the directive, so national implementations still differ.
A practitioner in an r/gdpr discussion summed it up well: cookieless analytics "can at most address the PECR/ePrivacy aspect." Seen that way, it is data minimization in action, not a workaround.
Trigger — ePrivacy Art. 5(3) / PECR: Storing or reading information on the device; GDPR / UK GDPR: Processing personal data, including IP addresses
What it requires — ePrivacy Art. 5(3) / PECR: Prior consent unless strictly necessary or exempt; GDPR / UK GDPR: Lawful basis, privacy notice, rights, DPA with vendors
Who enforces — ePrivacy Art. 5(3) / PECR: National authorities named in each member state's ePrivacy law (CNIL, ICO and others); GDPR / UK GDPR: Data protection authorities
What cookieless analytics changes — ePrivacy Art. 5(3) / PECR: Can remove the consent duty if nothing touches the device; GDPR / UK GDPR: Reduces the data processed, but the duties stay
Cookieless tools usually count unique visitors with a short-lived hash computed on the server. Here is how cookieless analytics counts visitors without cookies. The legal question is what the script actually does in the browser.
No banner for analytics is defensible if:
Nothing is written to or read from the device: no cookies, localStorage, sessionStorage or IndexedDB.
The script does no canvas, font or audio reads, and no other fingerprinting.
Identifiers are short-lived and limited to a single site.
Nothing tracks the visitor across sites.
Data is not shared with ad platforms or combined with other datasets.
A stricter national rule, such as Germany's (see below), does not apply to your setup.
You still need a banner, or at least a consent category, if:
The "cookieless" tool falls back to localStorage or fingerprinting. Simple Analytics' founder argues that many tools marketed as cookieless did exactly this. Some vendors openly describe "non-invasive fingerprinting" based on screen resolution and language.
The same script also fires ad pixels.
You embed third-party content such as videos, maps or social posts.
You run chat widgets, session replay or A/B testing tools that store identifiers.
A national authority reads the device-access rule more strictly than the EU baseline.
Watch for a trap in consent management platforms. Many CMPs auto-categorize every analytics script and block it until consent, even where the law may not require it, so check which category each tool is assigned to. The banner itself also needs a cookie to remember a refusal, as one r/gdpr commenter pointed out. That cookie is strictly necessary, and setting it is fine.
Five checks before dropping the analytics banner. Other scripts such as embeds, chat widgets and A/B testing tools may still need consent.
Swapping a cookie for a fingerprint does not get a tool out of ePrivacy. It only changes where the identifier is computed. The table shows how regulators tend to view common techniques.
First-party cookie (e.g. _ga) — Touches device?: Yes; Personal data at rest?: Yes, pseudonymous ID; Typical consent position: Consent required (CNIL exemption only if strictly configured)
localStorage ID — Touches device?: Yes; Personal data at rest?: Yes, pseudonymous ID; Typical consent position: Consent required
Browser fingerprint (canvas, fonts, screen) — Touches device?: Yes, reads device properties; Personal data at rest?: Yes; Typical consent position: Consent required
Daily-rotating salted hash, salt deleted — Touches device?: Not if no device reads are made; IP/headers debated; Personal data at rest?: Not after the salt is deleted; Typical consent position: Usually no consent; GDPR basis still needed
Raw IP logs kept — Touches device?: No storage, but the IP is received; Personal data at rest?: Yes; Typical consent position: GDPR basis needed; ePrivacy debated where IP is used to track
The European Data Protection Board adopted the final Guidelines 2/2023 on the technical scope of Art. 5(3) on 7 October 2024. They read "storage or access" broadly: URL and pixel tracking, local processing by scripts, IP-only tracking where the IP originates from the user's equipment, and unique identifiers. Even HTTP headers such as the user agent, used for fingerprinting, "can lead to the application of Article 5(3)."
So fingerprinting needs consent like a cookie, and reading screen size via JavaScript can be argued to be access. Yet the EDPB adds that applicability "does not systematically mean that consent needs to be collected." This is guidance, not binding law, continuing the Article 29 Working Party line that includes Opinion 04/2012 on the cookie consent exemption.
EU authorities treat IP addresses as personal data. In its Google Analytics decision, the Italian DPA said an IP address "would not be anonymised even if it were shortened" (noyb summary). A stable hash of IP plus user agent is still pseudonymous data under GDPR Article 4(5) for as long as it can be re-linked. Deleting the daily salt is what pushes the stored identifier toward anonymity.
Plausible publishes its formula as hash(daily_salt + website_domain + ip_address + user_agent) with a rotating salt (Plausible DPA). Fathom describes a similar SHA-256 approach with a salt that rotates at midnight UTC.
One nuance competitors skip: anonymizing data is itself processing. The moment of collection, when the raw IP arrives, still needs a legal basis. IP anonymization (truncating the last octet) is a useful extra safeguard. It costs you precision in city-level geolocation, and the Italian DPA's statement shows that truncation alone does not make data anonymous.
For cookieless analytics, the usual legal basis is legitimate interest under GDPR Article 6(1)(f). The ICO describes a three-part test:
Purpose. Is there a real interest? Pass: understanding which pages work and fixing the ones that don't. Fail: "we might find a use for the data later."
Necessity. Could you achieve it with less data? Pass: aggregate counts from a daily hash. Fail: keeping raw IPs indefinitely to count visitors.
Balancing. Would visitors reasonably expect it, and is the impact low? Pass: aggregate pageviews on a blog. Fail: session replay, mouse tracking or cross-visit profiles, especially on sensitive topics.
Record the answers in a short legitimate interests assessment. Even with no banner, the following duties remain.
What your privacy notice must still say about analytics:
The name of the analytics provider and its role as your processor.
The purpose: aggregate audience statistics.
What is collected (IP address on arrival, user agent, pages, referrer) and what is kept.
The retention period.
The right to object under Article 21, and how to exercise it.
You also need an Article 28 data processing agreement with the vendor and must answer access requests where data is still personal. One practitioner on r/gdpr argues that a footer link is "too passive" and that the notice should be actively surfaced. Treat that as one view, not a rule.
Data location matters too. Schrems II struck down Privacy Shield in 2020, and Austrian, French and Italian authorities then found Google Analytics transfers unlawful (noyb). The EU-US Data Privacy Framework adequacy decision of July 2023 eased this (PostHog summary). The EU General Court upheld the framework on 3 September 2025, though an appeal is possible. EU data hosting still cuts transfer paperwork and dependence on that framework. Privacy by design and data minimization make the legitimate interest argument stronger.
Article 5(3) is a directive, so each country transposed it and each regulator reads it a little differently.
EU baseline — Rule for device access: ePrivacy Art. 5(3); Analytics exemption?: Only "strictly necessary"; Regulator stance: EDPB reads "access" broadly (Guidelines 2/2023)
France — Rule for device access: Art. 82 of the Loi Informatique et Libertés; Analytics exemption?: Yes, CNIL audience-measurement exemption; Regulator stance: Strict on conditions; active cookie enforcement
Germany — Rule for device access: §25 TDDDG; Analytics exemption?: No general analytics exemption; Regulator stance: Authorities tend to require opt-in
UK — Rule for device access: PECR reg. 6, amended by the Data (Use and Access) Act 2025; Analytics exemption?: Yes, statistical purposes exception; Regulator stance: Pragmatic; enforcement focused on advertising
US — Rule for device access: No general device-access rule; Analytics exemption?: Not applicable; Regulator stance: Notice and opt-out model
The CNIL allows audience measurement without consent when the tool serves the publisher alone and produces only anonymous statistics. It must not cross-reference data with other processing, pass non-anonymous data to third parties or follow a person's browsing across sites. The CNIL recommends a tracker lifetime of 13 months, not extended automatically, and data retention of no more than 25 months. Users must still be informed, so the exemption removes consent, not transparency. Vendors applying it also truncate IPs, as Adobe's guide shows.
Germany's Telecommunications Telemedia Data Protection Act was renamed the TDDDG on 14 May 2024. Its §25 mirrors Article 5(3) and has no general analytics exemption. German authorities tend to require opt-in for analytics that access the device, which is why TelemetryDeck flags "except Germany." On "cookieless tracking DSGVO": a tool that truly does not access the device falls outside §25, but DSGVO (GDPR) obligations stay.
In the UK, cookie consent is a PECR question and UK GDPR covers the data. The ICO is seen as more relaxed on analytics than EU authorities, but it requires reject to be as easy as accept. Section 112 of the Data (Use and Access) Act 2025 came into force on 5 February 2026. It added a statistical purposes exception that applies only when analytics is the sole purpose, the output is aggregate, and users get clear information and a free, simple way to object.
A common question on r/GoogleAnalytics is whether every US website needs a cookie consent banner. Generally it does not. No federal or state law sets a general opt-in rule for cookies. The US model is notice plus opt-out, with extra rules for children and health data. If you also serve EU or UK visitors, EU rules can still apply to those visits.
CCPA/CPRA — Triggered by: California business above the thresholds; What it requires: Notice at collection, privacy policy, "Do Not Sell or Share" opt-out; How cookieless first-party analytics changes the risk: Low, if data stays with a service provider and never feeds ads
Other state privacy laws — Triggered by: Residents of states with comprehensive laws; What it requires: Notice, opt-out of sale and targeted ads; How cookieless first-party analytics changes the risk: Same: little to opt out of if nothing is sold or shared
GPC — Triggered by: Browser sends an opt-out signal; What it requires: Treat as a valid opt-out where state law requires it; How cookieless first-party analytics changes the risk: Few duties, but honoring it shows good faith
CIPA — Triggered by: Third parties receive visitor communications; What it requires: Defend wiretap claims; pen-register suits limited by SB 690; How cookieless first-party analytics changes the risk: Lower without third-party trackers or session replay
COPPA — Triggered by: Child-directed site or actual knowledge of under-13 users; What it requires: Parental consent for personal information, including persistent IDs; How cookieless first-party analytics changes the risk: Reduced, but needs analysis
HIPAA — Triggered by: Covered entities and business associates; What it requires: No PHI to vendors without a BAA; How cookieless first-party analytics changes the risk: Reduced; vendor contract still matters
The CCPA, as amended by the CPRA, applies to for-profit businesses that meet one of three thresholds. They are gross revenue above $25 million (the statutory figure, since indexed), buying, selling or sharing personal information of 100,000 or more California consumers or households, or earning 50% or more of revenue from selling it. They need a notice at collection, a privacy policy and a "Do Not Sell or Share" opt-out when data goes to ad partners ("sharing" means cross-context behavioral advertising). Analytics kept with a service provider under contract and not used for ads usually falls outside sale or sharing. A growing number of states, including Virginia, Colorado, Connecticut, Texas and Oregon, have comprehensive privacy laws with similar opt-out rights.
Global Privacy Control is a browser signal. California requires businesses to treat it as a valid opt-out of sale or sharing. The Attorney General's Sephora settlement of 24 August 2022 ($1.2 million) involved failing to process GPC opt-outs. Colorado has required businesses to honor GPC since 1 July 2024. A cookieless tool that does not sell or share data has little to opt out of, but honoring GPC anyway is a strong good-faith signal. For example, Statable honors Do Not Track and Global Privacy Control by default, so those visits are not measured at all, and it does not sell or share analytics data under CCPA.
Plaintiffs' firms have filed many suits under the California Invasion of Privacy Act over session replay, chat widgets, pixels and third-party trackers. The wiretap theory (§631) is that a third party "eavesdrops" on the conversation between visitor and site. The pen-register theory (§638.51) treats trackers as devices that capture routing data. Outcomes vary by court. On 30 September 2026, SB 690 was signed. It removes the private right of action for §638.51 claims arising from websites and apps, but other CIPA claims remain. The risk comes from sharing data with third parties that use it for their own purposes. First-party, aggregate analytics without session replay sits at the lower-risk end.
COPPA treats persistent identifiers as personal information on child-directed sites. A limited "support for internal operations" exception exists. The FTC's amended rule took effect on 23 June 2025. On HIPAA, HHS guidance on tracking technologies made healthcare and pharma marketers cautious, even after a June 2024 ruling vacated part of it. Washington's My Health My Data Act adds consumer health data rules. Some vendors, such as Piwik PRO, sign BAAs. Signing a BAA is a contract, not a legal status.
Do you need cookie consent for Google Analytics? In the EU and the UK, yes. Standard GA4 sets _ga cookies that last two years by default, so it needs consent before it runs. Google Consent Mode v2 does not remove the banner. It adjusts tags based on the choice the banner records.
Default (no Consent Mode) — EU banner needed?: Yes; Data sent before consent: Full hits with cookies; US consideration: Usually allowed with notice
Consent Mode, basic — EU banner needed?: Yes; Data sent before consent: None; tags blocked; US consideration: Usually allowed with notice
Consent Mode, advanced — EU banner needed?: Yes; Data sent before consent: Cookieless pings: timestamp, user agent, referrer; may include IP and screen resolution; US consideration: Usually allowed with notice
GA4 linked to Google Ads — EU banner needed?: Yes, plus ad consent; Data sent before consent: Depends on mode; US consideration: CCPA "sharing" and GPC apply
In advanced mode, GA sends cookieless pings when consent is denied and models the gap. Those pings still reach Google with the user agent and, when analytics storage is denied, may include the IP address, though Google says GA does not store or log IPs. Regulators have not confirmed that such pre-consent pings are lawful. The CNIL exemption has historically not been available for standard GA configurations.
In the US you can usually run GA without a banner. Once GA data is linked to Google Ads for remarketing or ad personalization, CCPA "sharing" and GPC come into play. GA4 consent setup is a separate topic. If you want to avoid the question entirely, compare cookieless analytics tools.
Cookie-based tools only see visitors who accept. Those visitors are not a random sample, so reports skew toward people who click "accept," and year-over-year comparisons break when a compliant banner goes live. Cookieless tools close that gap, at a cost; see what you give up with cookieless analytics.
Regulators, including the CNIL, the ICO and the EDPB's cookie banner taskforce, treat manipulative designs as producing invalid consent. Those designs include unequal buttons, a reject option hidden behind "customize," pre-ticked boxes and confusing colors.
Banner design rules regulators look for:
Accept and reject buttons with equal size, color and prominence.
A reject option on the first layer, not buried in settings.
No pre-ticked boxes or bundled purposes.
Withdrawal as easy as giving consent, available at any time.
Clear naming of each purpose and vendor.
If you keep a banner for ads or embeds, move a cookieless analytics tool out of the consent-gated category only after confirming it qualifies.
In DevTools > Application, confirm the script writes no cookies, localStorage or sessionStorage. Statable, for example, sets no cookies and writes nothing to the device.
Check vendor docs for fingerprinting (canvas, fonts, audio) and cross-site IDs. Statable uses no fingerprinting; identifiers are scoped to one site.
Confirm raw IPs are not stored and identifiers rotate. Statable uses the IP on arrival to compute a daily per-site identifier and location, then discards it.
Confirm hosting location and sub-processors. Statable processes and stores data in the Netherlands.
Sign the vendor DPA. Statable is designed for Art. 6(1)(f) legitimate interest, with a DPA in its Terms.
Write a short legitimate interests assessment.
Update the privacy notice: tool, purpose, retention, right to object.
List every other script (ads, embeds, chat) that still needs consent.
For US traffic, check sale/share status and that GPC is honored.
Run the cookieless tool in parallel before dropping the analytics category, then compare.
A browser extension such as Statable's free GDPR Checker is one way to scan a page. No tool makes a site compliant: you remain the controller and still need a privacy notice and consent for other tools. For options, see the best cookieless analytics tools and their pricing. Get specialist advice for children's or health sites.
No. Removing cookies addresses the ePrivacy question, meaning the banner, not the GDPR. If IP addresses or other identifiers are processed, you still need a legal basis, a privacy notice and a DPA with the vendor. A vendor's "GDPR compliant" claim describes its design, not your compliance.
With a cookie-based tool in the EU or UK, yes, because it sets a non-essential cookie. With a tool that touches nothing on the device and keeps only aggregate data, you usually do not need a banner, but notice and a legal basis remain. France's CNIL exemption and the UK's statistical purposes exception are the clearest official routes.
While the hash can be re-linked, because a stable salt or key is kept, it is pseudonymous and still personal data. Daily salt deletion and not storing raw IPs push it toward anonymous data. Collecting the IP to compute the hash is still processing and needs a legal basis.
Both say they set no cookies, and both claim no banner is needed for their analytics under GDPR, PECR and CCPA (Plausible, Fathom). Treat these as vendor claims. You remain the controller and still need a privacy notice, and other scripts on the page may need consent. See the cookieless tools comparison.
Generally no US law requires an opt-in banner. You do need a privacy policy, plus CCPA or other state-law notices and opt-outs if you sell or share data. You must honor GPC where state law requires it, and you should watch CIPA risk from third-party trackers and session replay.
Moving collection to the server can avoid device access. If the server still receives and keeps personal data, or forwards it to ad platforms, the GDPR and US sharing rules still apply. Server-side tracking changes where data flows, not whether the law applies.
No. Consent Mode depends on a banner and adjusts Google tags based on the visitor's choice. In advanced mode, cookieless pings still send data such as the user agent, and possibly the IP address, to Google before consent.
No. This is general information as of October 2026. Rules differ by country and change often. Consult a qualified lawyer, especially for children's, health or pharma sites.