The short answer: can you run analytics without a cookie banner?
You can run analytics without a cookie banner in the UK, as long as you meet some strict conditions. In that case, you do not need to ask visitors to opt in first. But there are rules, and you must follow them.
Since 5 February 2026, UK law has had a statistical purposes exception for cookies and similar tools. It lets you run analytics without a cookie banner that asks for consent. You can use it only if you meet these conditions:
- You use the tool only to understand how people use your own website, so you can improve it.
- You tell visitors clearly what you are doing.
- You give visitors a simple, free way to say no.
If you use the same tool for anything else, such as advertising or tracking people, you need consent. So analytics without a cookie banner does not mean “no rules”.
Words used in this guide
- PECR is the Privacy and Electronic Communications Regulations. It is the UK law on cookies and similar tools.
- UK GDPR is the UK law on personal data.
- ICO is the Information Commissioner’s Office. It is the UK regulator, and it writes the official guidance.
- Storage and access technologies is the ICO’s name for cookies and similar tools. It covers any storing of, or access to, information on a visitor’s device. This includes local storage, tracking pixels and device fingerprinting.
In this guide, the word “cookies” often means all of these.
What changed in UK law
Before 2026, PECR said you needed consent to use cookies and similar tools, unless they were strictly necessary to give the visitor the service they asked for. Analytics cookies needed consent. That is one reason why so many UK websites show a cookie banner.
The Data (Use and Access) Act 2025 (DUAA) changed this. Here are the key dates:
- 19 June 2025: the DUAA became law when it received Royal Assent (GOV.UK summary).
- 5 February 2026: the new PECR cookie rules came into force. Some cookies, including those used only for statistics, no longer need consent if the conditions are met (Stevens & Bolton briefing).
- 29 April 2026: the ICO published its final guidance on storage and access technologies (ICO: What are the exceptions?).
The ICO now lists five exceptions to the consent rule. This guide focuses on one of them, the statistical purposes exception, because it is the one that matters most for analytics without a cookie banner.
The statistical purposes exception in plain words
The ICO says you do not need consent if the sole purpose of the tool is to collect information for statistics about how your service is used, so that you can improve it. Three ideas matter here.
1. Sole purpose. The tool must be used only for this. If you also use it for anything else, the exception does not apply, and you need consent. (Osborne Clarke explains this well.)
2. Statistics, not tracking. The exception is about how your service is used, not about who uses it. The ICO says it is not for identifying, tracking or monitoring people or groups of people.
3. Information and a way to say no. You must give visitors clear information about what you do. You must also give them a simple way to object, free of charge. The ICO says that if you do not do both of these things, you are not using the exception correctly, and you must get consent.
The exception is for services delivered over the internet, such as websites and apps.
What is allowed and what is not
The ICO gives examples of what is likely to fit the exception and what is not. The table below follows them.
| What you want to do | Can you do it without consent? |
|---|---|
| Count total visits to each page | Likely yes |
| Measure scroll depth or clicks on parts of a page | Likely yes |
| See device types, browsers and operating systems | Likely yes |
| See how visitors reached you, for example from search or an email campaign | Likely yes |
| Run an A/B test of two versions of a page | Likely yes |
| See rough location, such as city or region, if people cannot be identified | Likely yes |
| Check page speed, bounce rate and exit pages | Likely yes |
| Record or log what individual visitors do on your site | No, you need consent (unless it is for security) |
| Measure whether people saw or clicked an advert | No, you need consent |
| Link a visitor ID to purchases so you can share it with advertising partners | No, you need consent |
| Track or profile visitors, or groups of visitors, for example by IP address or pages visited | No, you need consent |
| Follow visitors across different sites or apps | No, you need consent |
| Do anything for online advertising | No, you need consent |
The ICO also gives two examples to show where the line is.
- Allowed: A website owner uses a third-party analytics service to measure scroll depth, time on each page and bounce rate. The goal is to see which articles people read deeply, so the owner can plan future content. The ICO says the owner can use the exception.
- Not allowed: The same owner then adds settings to split visitors by age group and gender, so it can decide what content to promote to them. The ICO says this goes beyond the exception, because it involves profiling to target content.
Three ways to run analytics without a cookie banner
Routes 1 and 2 let you skip a banner that asks for opt-in consent. Route 3 is the safe fallback when those two do not fit.
Route 1: Use a tool that does not touch the visitor’s device
The PECR consent rule applies when you store information on a visitor’s device, or access information that is already there. If a tool does neither, this rule should not apply to it. Some tools count visits without setting cookies or reading device data. Tools like this are one way to run analytics without a cookie banner.
Two warnings:
- Check what the tool really does. The ICO treats device fingerprinting as a storage and access technology, so a tool that is sold as “cookie-free” may still be covered.
- UK GDPR can still apply if you handle personal data. See the section on UK GDPR below.
Route 2: Use the statistical purposes exception
Choose this route if your tool does store or access information on the device, but only to give you statistics that help you improve your site. You must meet all the conditions in this guide. If you do, you can run analytics without a cookie banner that asks for opt-in consent.
The law firm Brodies expects that you will still need a pop-up or a similar tool to explain what you do and let people opt out (Brodies). So think of this route as a short notice with an off switch. It is not a consent wall.
Route 3: Ask for consent
Choose this route if you cannot meet the exception’s conditions, or if you want to use the data for advertising or profiling. Consent must meet UK GDPR standards. If you are not sure whether the exception applies, asking for consent is the safe choice.
Which route fits you?
| Your situation | Best route |
|---|---|
| The tool does not store or read anything on the visitor’s device | Route 1 |
| The tool uses cookies or similar, but only gives you statistics to improve your site | Route 2 |
| The tool is also used for ads, profiling, or recording individual visitors | Route 3 |
| You are not sure | Route 3 |
Using a third-party analytics tool
Yes, you can use a third-party tool for analytics without a cookie banner, if it stays within the ICO’s limits. The ICO says the exception allows you to build your own tool or use a provider. But there are clear limits. The provider must:
- act on your behalf, and only help you improve your own service;
- use the information only for that purpose, and not link it with other information it holds; and
- be your processor, not a joint controller of the data.
You must also:
- tell visitors that you use a provider, and explain what it does with the information;
- agree and record who does what;
- think about UK GDPR duties, including transfers of personal data outside the UK.
If a provider also uses the data for other purposes, for example to link a visitor’s activity to an advert they clicked earlier, you need consent.
Before you choose a tool, ask these questions:
- Does it store or read anything on the visitor’s device?
- Can the vendor use my visitors’ data for its own purposes, such as advertising or product development? (If yes, be careful.)
- Does it join my data with data from other sources?
- Does it follow people across sites or build profiles?
- Where is the data processed?
- Can I switch off identifiers and other features that I do not need?
The answers depend on the tool and on how you set it up. The brand name does not decide this.
Aggregate the data and do not keep individual records
The ICO says you must turn individual-level information into aggregate statistics. You must not keep personal data for longer than this process needs.
- There is no set time limit. The ICO says daily aggregation could be right for many services. Hourly may suit some, for example a service with many visitors.
- Whatever your schedule, keep individual-level information only as long as you need it.
- Put technical and organisational measures in place so that your aggregated data cannot be used to identify people.
The exception will not apply if you keep the individual-level records after you aggregate them. It also will not apply if you make guesses or decisions about people, or groups of people, using information such as their IP address or their category on your service.
How to give visitors a simple way to say no
PECR does not say exactly what “a simple means of objecting” looks like. The ICO gives one example: add a “statistical purposes” switch to your existing consent tool. Leave it on by default, and let visitors turn it off at any time.
These rules apply:
- If someone objects, you must stop storing or reading information on their device.
- If they later turn it back on, you can start again.
- You must not rely only on browser settings. You cannot assume that every visitor has set up their browser in a certain way.
- The option should be easy to find and easy to use.
Here is an example of a short notice. Change it so that it matches what you really do.
We use analytics to count visits and see which pages are useful, so we can improve this website. We use this data only for that purpose. You can switch analytics off at any time in Analytics settings.
If you use a provider, say so, and say what it does with the data.
UK GDPR still applies
The exception lets you run analytics without a cookie banner that asks for consent under PECR. It does not remove your duties under UK GDPR.
The ICO says that individual-level information collected for analytics may be personal data, for example when it relates to a specific visitor. If it is, you must also follow UK GDPR. In simple terms, this means you should:
- have a lawful basis for using the data (many sites rely on legitimate interests, but you must decide this for yourself);
- explain what you do in your privacy notice;
- build privacy in from the start, including when you choose a provider; and
- not keep personal data for longer than you need.
Step-by-step checklist for analytics without a cookie banner
- List everything. Write down every cookie, pixel and script on your site, and what each one does. Include embedded videos and external fonts. The ICO says embedded content, such as a YouTube video, should not set cookies or similar tools the moment someone opens the page. It also says you should tell people, under the video, that pressing play will use them. External font libraries may collect visitors’ IP addresses. If you use one, you must explain this and give a simple, free way to object. Or you can host the fonts yourself.
- Keep purposes apart. Keep analytics separate from advertising and marketing tags. Anything for advertising needs consent.
- Choose your route. Route 1, Route 2 or Route 3.
- Set up the tool. Switch off advertising and cross-site features. Make sure the vendor cannot use the data for itself or link it with other data. Aggregate the data on a regular schedule, and delete individual-level records once they are aggregated.
- Update your privacy and cookie notice. Name the tool, explain what it measures and why, say whether a provider is involved, and explain how to object.
- Add the opt-out. Make it easy to find, such as a link in your footer or a switch in your consent tool.
- Test the opt-out. Switch analytics off, then check that the tool really stops storing and reading information on your device.
- Write down your reasons. Keep a short note that explains why you think the exception applies.
- Check again from time to time. New plugins, tags and tool updates can change what is collected.
Common mistakes with analytics without a cookie banner
- Using the exception for advertising. Ad measurement, conversion tracking that feeds advertising partners, and retargeting are outside the exception.
- Mixing purposes in one tool. If a tool is also used for something else, the exception does not apply to it.
- Keeping individual records. The ICO says this takes you outside the exception.
- Profiling visitors. Splitting visitors into groups to decide what to show them goes beyond statistics.
- Using a vendor that reuses your data. The provider may only help you improve your own service.
- Having no opt-out, or relying only on browser settings. The ICO says this is not enough.
- Forgetting UK GDPR. The exception only covers the PECR consent rule.
- Believing marketing claims. Words like “cookie-free” or “privacy-friendly” are not legal tests. Check what the tool actually does.
Frequently asked questions
Can I run analytics without a cookie banner?
Yes, if your analytics meets the exception. You do not need a banner that asks for opt-in consent for it. But you must still give visitors information and an easy way to object, and Brodies expects this will usually mean a pop-up or similar tool. You also still need consent for anything that is not covered by an exception, such as advertising cookies.
Can I use any analytics tool under the exception?
No. The exception depends on what the tool does and how you use it, not on its name. It must be used only for statistics to improve your site.
Does this apply to apps as well as websites?
The ICO says the exception is for services delivered over the internet, such as a website or an app.
What happens if I get it wrong?
From 5 February 2026, the maximum PECR fine rose from £500,000 to £17.5 million or 4% of global annual turnover, whichever is higher. Mishcon de Reya also says that since then, any breach can be fined, not just serious ones (Mishcon de Reya).
Does this guide cover visitors from the EU?
No. This guide covers UK law only. If you also serve visitors in the EU, check the rules there separately.
Is this legal advice?
No. If your site is complex, handles sensitive data or uses advertising technology, speak to a qualified data protection adviser.
Key takeaways
- You can run analytics without a cookie banner in the UK if you meet the statistical purposes exception, but you still need to give notice and an opt-out.
- The tool must be used only for statistics to improve your own website. It must not be used for ads, profiling or tracking people.
- You must tell visitors what you do and give them a simple, free way to say no.
- Aggregate the data and do not keep individual-level records.
- A third-party tool is allowed only if it acts for you and cannot reuse the data.
- UK GDPR still applies to any personal data you handle.
- If you are not sure, ask for consent.
Related reading on Linkvexa
- Can You Use GA4 Without Cookie Consent in the UK?
- ICO Cookie Guidance 2026: A Plain-English Checklist for Small Business Websites
- More analytics guides
Sources
- ICO: Guidance on the use of storage and access technologies, “What are the exceptions?”
- GOV.UK: Data (Use and Access) Act 2025: data protection and privacy changes
- Stevens & Bolton: The DUAA cookies, what is changing and what you need to know
- Brodies: ICO publishes updated guidance on storage and access technologies
- Osborne Clarke: New exceptions explained in ICO final guidance
- Mishcon de Reya: Unlawful cookies, a new avenue for the ICO to issue fines?
