Umami vs Google Analytics 4: do you still need a cookie banner?
Google Analytics almost always needs a cookie banner. A cookieless tool like Umami usually does not, and it counts the visitors a banner loses. We put Umami on every site we build, so you should know we have a view. Here is the honest comparison, including where Google Analytics is still the better choice.
By Elliot · Published 23 October 2026 · 9 min read
Which should a small business use?
For most UK small business websites, Umami is the better default. Under the statistics exemption in force since 5 February 2026 it needs no cookie banner, as long as you explain it and offer a simple opt-out, so it counts the visitors a banner would lose. Its script is about 2 KB against roughly 170 KB for Google Analytics. Choose Google Analytics if you depend on Google Ads audiences or need its deeper reports, and give it a proper consent banner.
Choose Umami if...
you run a service business, a local trade or a small shop, you want accurate visitor numbers without a banner, and you care about page speed. That is most of the small business sites we see.
Choose Google Analytics if...
you rely on Google Ads remarketing or smart bidding, you need demographics or BigQuery, or your team already lives in GA4. Then set it up properly, with a consent banner that works.
Either way...
tell visitors what you measure and why, in a cookie policy that matches what the site really does. Most of the risk we find is a policy that says one thing while the site does another.
Umami vs Google Analytics, side by side
Umami wins on consent, accuracy, speed and data ownership. Google Analytics wins on cost to run, depth of reports and its link with Google Ads. Checked October 2026.
| Category | Umami | Google Analytics 4 | Better |
|---|---|---|---|
| Cookies | None. It writes nothing to the visitor's device. | Two: _ga and _ga_<id>, kept for two years by default. | Umami |
| Cookie banner for analytics | Not needed, provided you explain it and offer a simple opt-out. | Needed for a standard set-up. | Umami |
| Visitors counted | Everyone who loads the page, unless they opt out or block it. | Only visitors who accept. Google's modelling fills the gap only above about 1,000 consenting users a day. | Umami |
| Script weight | About 2 KB compressed. | About 160 to 180 KB compressed, depending on the property. | Umami |
| Who holds the data | You, or whoever hosts it for you. Ours runs on servers in the EU. | Google. | Umami |
| IP addresses | Not stored. Used for a moment to estimate location, then dropped. | Google says it does not log or store IP addresses from UK users. | Even |
| Data retention | As long as you choose to keep it. | User-level data in explorations is kept for 2 or 14 months. Standard reports are not affected. | Umami |
| Cost | Free, open-source software (MIT licence), but someone pays to host it. Umami Cloud is free for one site. | Free, with nothing to host. | Google Analytics |
| Depth of reports | Pages, referrers, campaigns, events, goals, funnels, journeys, revenue and Core Web Vitals. | All of that, plus demographics, audiences, a BigQuery export and an AI-assistant traffic channel. | Google Analytics |
| Google Ads | No direct link. Conversions can be sent to Google Ads from your enquiry records instead. | Native linking, remarketing audiences and signals for smart bidding. | Google Analytics |
What “cookieless” actually means
Cookieless analytics count visits without leaving anything on the visitor's device. That matters because the law is wider than cookies. The UK rules (the Privacy and Electronic Communications Regulations, as changed by the Data (Use and Access) Act 2025) cover storing information on a device or reading it back, so local storage, tracking pixels and scripts that read device details are all in scope, not just cookies.
Umami counts a visit on its server, not in the browser. It takes the website, the visitor's IP address and browser type, the current month and a secret unique to the installation, and turns them into a one-way code. Page views with the same code are grouped as one visitor. The IP address itself is never saved, and the code changes each month by default, so the same person cannot be followed from one month to the next, or onto another website.
To be precise about it: Umami writes nothing to the device, but its script does read two things, the screen size and a setting that tells it whether the visitor has opted out. That is why Umami relies on the statistics exemption described below rather than sitting outside the rules altogether, and why the opt-out is not optional.
Why Google Analytics usually needs a banner
Since 5 February 2026, UK law has had an exemption from cookie consent for analytics whose only purpose is to produce statistics about how a site is used, so it can be improved. The data must not be shared except to help with those improvements, visitors must be told clearly, and they must have a simple, free way to object. The ICO's guidance adds that it is not a broad exception, that the data should be aggregated, that it does not allow monitoring of individual visitors, and that it never covers advertising.
A standard GA4 set-up sits badly with that. It sets a _ga cookie that Google describes as being “used to distinguish users”, kept for two years by default, and with data sharing switched on Google acts as an independent controller of the data rather than your processor. The ICO does not name any product, and no regulator has said GA4 qualifies. So the safe reading for most sites is the usual one: GA4 needs consent before it loads.
The cost of that banner is missing data. In an ICO survey of 2,316 UK adults in March 2024, 21% said they normally reject cookies and a further 24% said it depends on the website. Google's Consent Mode can model the visits it does not see, but only when a site sends at least 1,000 events a day from people who declined and has at least 1,000 consenting users a day. A local business site never gets near that, so the visitors who say no simply disappear from the reports.
None of this makes Google Analytics illegal. The UK-US data bridge has been in force since October 2023 and Google is certified under it. Used with a consent banner that works, GA4 is a lawful choice. It is just a heavier one than most small sites need.
When Google Analytics is still the right choice
GA4 is the better tool if you build remarketing audiences from site visitors, if your Google Ads smart bidding needs fast on-site signals, if you run a large online shop that lives in merchandising reports, or if your marketing team already knows it inside out. If that is you, we would set GA4 up properly, with a consent banner that blocks it until the visitor agrees, rather than talk you out of it.
And Umami has costs of its own. Self-hosting means a server and a database that someone keeps running and backed up. Visitor numbers are estimates: a visitor who changes network, or returns next month, counts again. Some ad blockers block some Umami set-ups. There are no age, gender or interest reports, no audiences to advertise to, and no way to import your Google Analytics history. For a service business that wants to know which pages bring enquiries, none of that usually matters. For a large advertiser, some of it might.
Do you need a cookie banner?
Answer these about everything on your site, not just your analytics. Embedded videos, social media plugins and some map widgets can set cookies of their own.
1. Does anything store or read data on the device?
Cookies count, and so do local storage, pixels and scripts that read device details. If something does this and is not strictly needed for a service the visitor asked for, it needs consent unless an exemption applies.
2. Is any of it advertising, or shared for someone else's use?
Ad pixels, remarketing tags and analytics that pass data to the provider for its own purposes are outside the statistics exemption. Those need a banner, and nothing may load before the visitor says yes.
3. If it is analytics only, does it meet every condition?
Statistics about how the site is used, to improve it, not shared for anyone else's purposes, explained clearly, and with a simple, free way to object. Meet all of that and no banner is needed.
No banner, no cookies, every visitor counted
Every website we build ships with cookieless Umami analytics, which we host and run for you, and a private link to your own dashboard. This site works the same way: it sets no cookies, stores nothing on your device, and our cookie policy explains exactly what is recorded and has a one-click switch for anyone who would rather not be counted.
We check rather than assume. When we audited every client site that was live in August 2026, each one set zero cookies during normal browsing, and Umami was confirmed cookieless by testing it in a browser rather than taking it on trust. Leaving out a 170 KB analytics tag also helps the thing that matters most for a small business site: how quickly it loads on a phone. Our guide to why website speed matters explains the knock-on effect on enquiries and rankings.
Switching from Google Analytics to Umami
A clean switch takes a few weeks, most of it spent running both side by side.
1. Export what you want to keep
There is no importer from Google Analytics into Umami, so download any history you will want later before you remove GA4.
2. Add Umami
One small script tag, pointing at your own Umami server or at Umami Cloud. It starts counting page views straight away.
3. Track the actions that matter
Page views alone will not tell you what the site earns. Add events for enquiry forms, phone taps and email clicks, and test that each one fires.
4. Run both for a few weeks
Expect Umami to count more visitors than GA4. That is not an error: GA4 only sees the people who accepted the banner.
5. Remove GA4 and the banner
Only once nothing else on the site needs consent. Check for ad pixels, embedded videos and social plugins first, since each can set its own cookies.
6. Update your policies
Rewrite the cookie and privacy policies to describe what Umami records, and add the opt-out. Ours are live examples of both.
Umami and Google Analytics questions, answered
Is Google Analytics illegal in the UK?
No. The 2022 rulings against Google Analytics in Austria, France and Italy were EU decisions about the older Universal Analytics, made before the EU-US Data Privacy Framework. In the UK, the data bridge with the US has been in force since 12 October 2023 and Google LLC is certified under it. The live UK question is consent for cookies, not the transfer: used with a working consent banner, GA4 is lawful.
Can Google Analytics be used without a cookie banner?
Not in a standard set-up. Since 5 February 2026 UK law has an exemption for analytics used only to produce statistics that improve a site, but it does not cover data shared with a provider for its own purposes, and the ICO says it does not allow tracking of individual visitors. A default GA4 property shares data with Google and sets a two-year identifier. No regulator has said GA4 can qualify, so we would not rely on it.
Does Umami need a cookie banner?
Usually not. Umami sets no cookies and writes nothing to the device, but its script does read a little information from the browser, such as screen size, so it relies on the statistics exemption rather than being outside the rules altogether. That exemption needs two things from you: a clear explanation in your cookie policy, and a simple, free way for visitors to opt out. Browser settings alone do not count.
Is Umami GDPR compliant?
It can be, and it makes compliance much easier, but no tool is compliant on its own. Umami stores no IP addresses and no cookies, and a self-hosted copy keeps the data with you. You still need to describe it in your privacy policy, keep the data no longer than you need, and avoid sending personal details such as email addresses into it as event data.
Can ad blockers block Umami?
Some can. In October 2026 the EasyPrivacy list blocked Umami Cloud and self-hosted copies on addresses beginning with umami., but not a copy on a neutral address such as analytics.yourdomain.co.uk. Umami lets you rename its script for this reason. Treat it as often not blocked, not as unblockable, and expect lists to change.
Will my visitor numbers go up when I switch?
Very likely, because GA4 behind a banner only counts the people who accept. In an ICO survey of 2,316 UK adults in March 2024, about one in five said they normally reject cookies and another quarter said they decide site by site. A small site is also far below the roughly 1,000 consenting users a day Google needs before it will model the missing visits.
Can I still run Google Ads without Google Analytics?
Yes. Google Ads can take conversions directly, including offline conversions uploaded from your own enquiry records, which is how we measure our own campaigns. What you lose without GA4 is remarketing audiences built from site visitors, and the extra on-site signals smart bidding can use.
What does Umami cost?
The software is free under the MIT licence. Running it yourself means paying for a small server and database and someone to look after them; ours costs roughly £10 to £15 a month. Umami Cloud has a free plan for one website and up to 100,000 events a month, and paid plans from $20 a month. On our website plans it is included and we run it for you.
Sources & further reading
The guidance on this page is grounded in primary sources. Follow the links to read them in full.
- legislation.gov.uk: Data (Use and Access) Act 2025, section 112
Replaces PECR regulation 6: storing or reading information on a device needs consent unless an exemption applies.
- legislation.gov.uk: Data (Use and Access) Act 2025, schedule 12
Inserts PECR Schedule A1. Paragraph 5 is the statistics exemption and its five conditions.
- legislation.gov.uk: The Data (Use and Access) Act 2025 (Commencement No. 6) Regulations 2026
Brings section 112 and schedule 12 into force on 5 February 2026.
- ICO: Guidance on storage and access technologies, the exceptions
How the ICO reads the statistics exemption: aggregation, no tracking of individuals, processors only, and a real way to object.
- ICO: Cookies omnibus survey, summary of findings
2,316 UK adults, March 2024: 48% normally accept cookies, 21% reject and 24% decide by website.
- Google: Cookie usage by Google Analytics on websites
The _ga and _ga_<id> cookies, what each is for and their default two-year lifetime.
- Google: Data sharing settings
With Google products and services sharing on, Google acts as an independent controller of the data.
- Google: Consent mode on websites and mobile apps
What GA4 sends when consent is denied, in basic and advanced mode.
- Google: Behavioural modelling for consent mode
The 1,000-a-day thresholds a property must meet before Google models visits from people who declined.
- Google: Data retention
The 2 and 14 month options for free properties, and that they apply to explorations, not standard reports.
- Data Privacy Framework List
Google LLC is active under the UK Extension to the EU-US Data Privacy Framework.
- Umami: source code and licence
How Umami builds its visitor code, what it stores, and the MIT licence. Read at version 3.4.0.
- Umami: Environment variables
The monthly default for the visitor code, and the settings that rename the script to avoid some ad blockers.
- Umami: Pricing
Umami Cloud's free plan for one site and 100,000 events a month, and its paid plans.