Asset 20 8 2
Does AI recommend your business? Run the free check →

Join 15,000 business owners, marketers and entrepreneurs. The Sunday newsletter you'll be annoyed only arrives once a week.

Article

Do You Need Visitor Consent for Google Analytics? A Straight Answer From Someone Who's Been Fined-Adjacent

If you are skim reading
Straight answer: yes, if you have UK or EU visitors, you need consent before Google Analytics cookies fire, full stop.

Straight answer: yes, if you have UK or EU visitors, you need consent before Google Analytics cookies fire, full stop. The legal basis isn't GDPR, it's the older cookie law (PECR in the UK, the ePrivacy Directive in the EU), and no amount of "legitimate interest" paperwork gets you out of it. If you're US-only with no California, Colorado or Virginia traffic, the picture is looser, but "looser" isn't "nothing."

The bit almost everyone gets wrong

I've sat in more discovery calls than I can count where a business owner tells me their developer said Google Analytics is "fine without a banner because it's anonymised." It isn't fine. And the anonymised part isn't even true anymore in the way people think.

Here's the mix-up. GDPR gives you six possible legal bases for processing personal data, and legitimate interest is a real one of them. Marketers hear "legitimate interest" and assume it covers analytics cookies. It doesn't, because cookies aren't governed by GDPR first, they're governed by PECR (the Privacy and Electronic Communications Regulations) in the UK, and by the ePrivacy Directive across the EU. Both of those laws say, in effect: you may not store or read a non-essential cookie on a visitor's device without their prior consent. Not "legitimate interest." Not "implied by continued browsing." Prior, informed, opt-in consent, ticked before the cookie drops, not after.

Google Analytics is not an essential cookie. It doesn't make your site function. It measures behaviour for marketing purposes, which puts it squarely in "you need permission first" territory under UK and EU law.

What counts as personal data here

The other thing people get wrong is thinking GA4 doesn't touch personal data because it doesn't collect names or emails. It collects IP addresses (at least briefly, before regional processing), device identifiers, and a client ID stored in a first-party cookie that ties a visitor's sessions together over time. Under both UK GDPR and EU GDPR, that's personal data. The European Court of Justice settled this back in 2016 (Breyer v Germany): a dynamic IP address counts as personal data if the site operator has a legal way to link it to a person, which Google, as the processor, does.

This is why, between 2022 and 2023, data protection authorities in Austria, France, Italy, and Denmark all ruled that using Google Analytics could breach GDPR, specifically because of how data gets transferred to Google's US infrastructure post-Schrems II. Austria's DSB was first, in January 2022. France's CNIL followed and gave companies three months to switch to a compliant setup or stop using GA. None of that was about consent bannering directly, it was about the transfer, but it tells you regulators are actively looking at GA, not ignoring it.

The story I keep coming back to

A client of mine, a small marketing consultancy near Reading with maybe 4,000 monthly site visitors, had GA4 installed with no consent banner at all. Their previous web developer had told them, in writing, that "GA is anonymous and doesn't need a cookie notice." Eighteen months later, a competitor filed a complaint with the ICO, not because of a data breach, just a straightforward "this site tracks visitors without asking" complaint. The ICO doesn't fine small businesses for this on a first pass, they send a letter. But that letter asked for evidence of consent mechanisms going back a year, a subject access request log, and a description of data flows to third parties. Producing that after the fact, with no banner and no consent logs, took the client about three weeks of work and a very uncomfortable afternoon with their solicitor. A £40 cookie consent tool installed from day one would have avoided all of it.

That's the uncomfortable bit nobody likes to say out loud: enforcement against small sites is rare, which is why so many small businesses run without a banner for years and nothing happens. But "nothing happened yet" isn't the same as "compliant," and the ICO's letters go out on complaint, not on size. You don't need to be Tesco to get one.

A banner that just says "we use cookies, OK?" with one button does not meet UK or EU standards. Valid consent under PECR and GDPR has to be:

  • Freely given, meaning "reject all" has to be exactly as easy to find and click as "accept all," same size, same prominence, not greyed out or buried in settings
  • Specific, meaning visitors can say yes to analytics and no to marketing/advertising cookies separately, not one blanket toggle
  • Informed, meaning you name the actual tools (Google Analytics, Meta Pixel, whatever else), not just "third parties"
  • Given before the cookie fires, not after, which means GA has to be blocked by default until the visitor actively clicks accept
  • Recorded, meaning you can prove, with a timestamp, what a given visitor consented to if a regulator ever asks

The ICO has fined and publicly named UK companies for "reject" buttons that were harder to find than "accept," so this isn't a theoretical bar, it's an active enforcement pattern.

Since March 2024, Google requires sites serving ads or measuring conversions for EEA users to implement Consent Mode v2. This isn't optional if you use Google Ads alongside GA4 and have any EEA traffic. Consent Mode v2 sends Google two extra signals, ad_user_data and ad_personalization, alongside the older analytics_storage and ad_storage signals, so Google knows whether it's allowed to use cookies at all for a given visitor.

Here's the practical catch: if you haven't set this up correctly, and a visitor declines cookies, GA4 doesn't just stop counting them cleanly, it can start showing gaps and gaps that don't match your server logs. If your numbers have looked off since you added a cookie banner, that mismatch is usually the reason, and it's worth reading why Google Analytics might not be showing your website data before you assume the tracking code itself is broken.

Step by step: getting this right this week

  1. Audit what's on your site. Open your browser dev tools or use a free scanner and list every cookie firing on first load, before any click. If GA's _ga or _gid cookies are already there, you have a problem today, not a future one.
  2. Install a consent management platform that supports Google Consent Mode v2 natively. Cookiebot, Osano, and CookieYes all do this out of the box and cost somewhere between £8 and £30 a month for a small business site.
  3. Configure default consent state to "denied" for analytics_storage and ad_storage until the visitor clicks accept. This is the single step most DIY installs skip, and it's the one that matters legally.
  4. Write the banner copy so a visitor can say yes to analytics and no to advertising separately, with equal-weight buttons.
  5. Test it. Load your site in an incognito window, decline everything, then check GA4's DebugView or your network tab to confirm no analytics request fires.
  6. Keep a consent log. Most CMPs store this automatically, but check yours does, and check how long it retains records, because you'll want at least a year of history if anyone asks.

If you're outside the UK and EU

The US has no federal cookie consent law. California's CCPA/CPRA gives residents an opt-out right for "sale or sharing" of personal information, and GA4's advertising features can trip that definition, so a "Do Not Sell or Share My Personal Information" link is expected practice for California traffic even without a full EU-style banner. Colorado and Virginia have similar, slightly softer, opt-out laws. Canada's PIPEDA leans toward "meaningful consent" without mandating a specific banner mechanic. If your traffic is US-only with no EU or UK visitors, you have more room, but check your analytics location report before you assume that's true, because most sites with any content marketing at all pick up EU visitors within weeks.

Work with me

Want AI doing the heavy lifting in your marketing?

I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.

Why some businesses quietly decide GA isn't worth the hassle

I'll say the thing most posts on this topic dance around: for a lot of small sites, the compliance overhead of running Google Analytics, the banner, the consent logging, the Consent Mode setup, the ongoing legal risk from EU data transfer rulings, costs more time than the insight is worth. If you're a five-page brochure site getting 300 visits a month, you might get more value from server-side, cookieless analytics like Plausible or Fathom, which don't need consent at all because they don't use cookies or collect personal data in the same way. It's worth reading whether you should block Google Analytics on your business website before assuming GA is the default you're stuck with. For most businesses doing serious content or paid marketing, GA4's depth is still worth the setup work. For a lot of smaller sites, it isn't, and nobody sells you that answer because there's no product to sell you at the end of it.

Even with a perfect banner, you should expect your GA4 numbers to under-report. If 30 to 40 percent of visitors decline analytics cookies, and that's a realistic range once you have a genuine equal-weight reject button, your active users figure and every conversion number built on it is now missing a real chunk of your traffic. Google Consent Mode's "modelling" tries to estimate the missing behaviour statistically, but it's an estimate, not a count. Budget for that when you report numbers upward, because a board or client comparing this year's GA4 figures to last year's pre-banner figures is comparing two different measurement systems, not two different periods of performance.

The one-line rule I give clients

If a cookie exists purely to help Google or you understand behaviour, and it's not required to load the page or process a payment, it needs consent first, everywhere in the UK and EU, and increasingly in parts of the US too. That's it. Everything else, the banner design, the CMP you pick, the Consent Mode wiring, is implementation detail sitting on top of that one rule. Get the rule right and the rest is a Tuesday afternoon's work, not a legal crisis, and it's a much smaller job than untangling what Google Analytics cookies mean for your privacy policy after the fact, the way my Reading client had to.

Related: data analytics: guidelines and how to pitch.

I've also explained how AI SEO works for a small business. When rankings stop bringing clicks, getting named in Google AI Overviews matters more.

It's worth bookmarking a plain English take on whether more traffic always helps as well.

Frequently asked questions

Do I need a cookie banner just for Google Analytics if I have no ads?

Yes. The consent requirement comes from cookie law (PECR/ePrivacy), not from whether you run ads, so GA on its own, with no advertising cookies at all, still needs a visitor's opt-in before it fires for UK and EU visitors.

Is anonymised or IP-masked Google Analytics data exempt from consent?

No. GA4 no longer offers the IP anonymisation toggle that GA Universal Analytics had, and even under the old system, courts treated masked IPs as personal data if the site owner could still reasonably link them to a person, which most Google Analytics setups can.

What happens if I never installed a consent banner and just leave it?

Most small sites never get checked, but enforcement is complaint-driven, meaning a single competitor, disgruntled customer, or ex-employee filing a report to the ICO or an EU regulator can trigger a request for evidence you don't have, which is far more disruptive to fix retroactively than to set up correctly from the start.

Can I use "legitimate interest" instead of consent for Google Analytics?

No. Legitimate interest is a valid GDPR basis for some kinds of data processing, but non-essential cookies are governed separately by PECR in the UK and the ePrivacy Directive in the EU, both of which require prior opt-in consent regardless of which GDPR basis you'd otherwise rely on.

Official documentation

Published and maintained by the Lilach Bullock team, covering marketing, AI and business growth.
Your buyers are asking AI who to use. Does it say you?

See for free whether ChatGPT, Claude, Perplexity, Gemini and Google name you, and get the plan to become the answer.

Check my AI visibility →
Sundays only

Get the Sunday newsletter.

One email a week. AI experiments, marketing tactics, and the workflows Lilach is building right now in her own business.

Subscribe free

Let’s get your marketing running on AI.

Book a free 30-minute call

We figure out what you need, where AI fits in, and what working together would look like.

Book the call →

Or take the 30-second calculator

You’ll see the hours and the money quietly leaking out of your week, and the three workflows worth building first.

Take the calculator →

Or grab the free AI resource library

Prompt packs, templates, checklists, and swipe files. The exact tools I build for paying clients. Yours, free.

Get the library →
Keep reading

More from the blog.