Do I need a cookie banner on my website?
By Ash, Founder, HosteazePublished 3 min read
The short answer
You need a cookie banner if your site uses cookies or similar tracking for advertising, social media tracking or anything else that isn't covered by an exception. As of October 2026, UK rules let you skip consent for strictly necessary cookies and for purely statistical analytics, but only if you tell visitors and let them object easily.

The UK cookie rules have changed, and the ICO finalised its new guidance in April 2026, so a lot of advice online is now out of date. The short version: simple, privacy-friendly analytics no longer needs a consent banner, but anything to do with advertising or tracking people still does. The rules come from the Privacy and Electronic Communications Regulations (PECR), as amended by the Data (Use and Access) Act 2025, and the ICO's guidance now covers cookies and similar technologies such as tracking pixels, scripts and fingerprinting.
Which cookies need consent and which don't?
As of October 2026, the ICO's guidance lists five exceptions where you don't need consent. Three matter for most small business websites:
| Type of use | Example | Consent needed? | What you must still do |
|---|---|---|---|
| Strictly necessary | Shopping basket, login, remembering cookie choices | No | Explain it in your cookie notice |
| Statistical purposes | Aggregate visitor counts, popular pages, device types | No, if it meets the conditions | Tell visitors and give a simple, free way to object |
| Appearance | Remembering a visitor's chosen language or text size | No | Tell visitors and give a simple, free way to object |
| Advertising and remarketing | Ad pixels, conversion tracking for ad platforms | Yes | Get opt-in consent before it runs |
| Tracking individuals | Session recordings, profiling visitors | Yes | Get opt-in consent before it runs |
| Embedded content | YouTube videos, social media plugins | Usually | Load only after consent, or after the visitor presses play with a clear notice |
The other two exceptions cover transmitting communications and locating someone who needs emergency help, which rarely apply to a business website.
When does analytics count as "statistical purposes"?
The ICO is strict about this. The exception applies only when the sole purpose is collecting aggregate statistics about how your site is used, so you can improve it. Its examples of what fits include page-by-page visit totals, scroll depth, device and browser types, how people arrived, A/B tests, and city or region level location.
It doesn't cover:
- Recording what individual visitors did, other than for security.
- Measuring whether people clicked or saw an advert.
- Sharing conversions with advertising partners.
- Profiling visitors or categories of visitors.
- Tracking people across other sites and apps.
If your analytics tool does any of these, or the provider uses the data for its own purposes, you need consent.
How do I work out what my site uses?
- List every tool on your site: analytics, ads, chat widgets, booking systems, embedded maps and videos, social buttons.
- Open your site in a private browser window, then check the cookies and storage it sets. In Chrome, that's under Developer tools > Application.
- For each tool, note what it does and match it to a row in the table above.
- Remove anything you don't use. A forgotten ad pixel from an old campaign still needs consent.
What makes a cookie banner compliant?
For anything that needs consent, the ICO expects:
- Nothing non-essential runs until the visitor agrees.
- Accepting and rejecting are equally easy, ideally side by side on the first screen.
- Agreement takes a positive action, such as clicking Accept. Carrying on browsing doesn't count.
- A clear description of what each type of cookie does and who sets it.
- An easy way to change your mind later, such as a link in the footer.
For exempt analytics, a short notice with a clear "opt out" link meets the requirement to let people object.
Where does the cookie information go?
Put a cookie notice, or a cookies section in your privacy notice, linked from every page. Our guide to what should be in a website privacy policy covers the wider privacy information. Embedded content is a common blind spot, and it's worth checking when you go through our website launch checklist.
If you're setting up analytics for the first time, our guide to setting up Google Analytics 4 covers the basics. Check the data sharing and advertising settings against the conditions above before deciding you don't need consent. And for the full list of pages your site needs, see what pages a small business website needs.
Related guides: What is UX design?.
Frequently asked questions
Do I need consent for Google Analytics?
It depends on how it's set up. The statistical purposes exception only covers aggregate analytics used solely to improve your site. If analytics data is also used for advertising, such as linking to an ads account for remarketing or conversion tracking, you need consent. Check your settings before relying on the exception.
Do I need a cookie banner if I only use strictly necessary cookies?
No consent banner is needed for cookies that are essential to a service the visitor asked for, such as a shopping basket or login. You should still explain them in a cookie or privacy notice.
Can I just show a notice saying "by using this site you accept cookies"?
Not for cookies that need consent. Consent must be a clear, positive action, so carrying on browsing doesn't count. For cookies covered by the analytics or appearance exceptions, a clear notice plus an easy way to object is what's required.




