Skip to content

Do I need a cookie banner on my website?

By Ash, Founder, HosteazePublished 3 min read

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.

Freshly baked chocolate chip cookies cooling on a wire rack.
Credit: dmarr515 via Pixabay

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.

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 useExampleConsent needed?What you must still do
Strictly necessaryShopping basket, login, remembering cookie choicesNoExplain it in your cookie notice
Statistical purposesAggregate visitor counts, popular pages, device typesNo, if it meets the conditionsTell visitors and give a simple, free way to object
AppearanceRemembering a visitor's chosen language or text sizeNoTell visitors and give a simple, free way to object
Advertising and remarketingAd pixels, conversion tracking for ad platformsYesGet opt-in consent before it runs
Tracking individualsSession recordings, profiling visitorsYesGet opt-in consent before it runs
Embedded contentYouTube videos, social media pluginsUsuallyLoad 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:

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?

For anything that needs consent, the ICO expects:

For exempt analytics, a short notice with a clear "opt out" link meets the requirement to let people object.

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.

Sources

  1. ICO, What are the exceptions? (Guidance on the use of storage and access technologies)
  2. ICO, Guidance on the use of storage and access technologies
  3. ICO, How do we manage consent in practice?
A hand writing on a yellow sticky note resting on a laptop keyboard.TutorialHow to write prompts for an AI website builderGive the AI builder the facts it can't guess. Say what your business does, where, for whom, your services and prices, what makes you different, the tone you want, the pages you need and the one action visitors should take. Specific prompts produce specific websites. Then fix the draft one page at a time with short follow-up prompts.Websites and design · 26 November 2026A notebook page with a hand-drawn website layout and a handwritten list of features beside it.TutorialHow to write a website briefA good website brief fits on two pages and covers eight things: your business, your customers, the site's main goal, the pages you need, the features, examples you like, your budget and your deadline. Write it before you contact designers, so every quote is for the same job and nothing important gets missed.Websites and design · 26 November 2026The ornate stone front of an old building held up by a blue steel frame while the structure behind it is rebuilt.GuideHow to redesign a website without losing SEOBefore you redesign, list every page on your current site and note which bring in traffic. Keep the same addresses where you can. Where an address changes, set up a permanent 301 redirect from the old page to its closest new equivalent, and keep it for at least a year. Then submit a new sitemap and watch Search Console.Websites and design · 26 November 2026A fan of paint colour swatch cards spread out in rainbow order, from reds and yellows to greens and greys.QuestionHow do I make an AI-built website look unique?Replace everything generic the AI chose. Use your own photos instead of stock, set your brand colours and fonts rather than the defaults, rewrite the text in your own voice with real details, and change the home page layout. Small, consistent touches such as a distinctive headline, real customer stories and a clear logo do most of the work.Websites and design · 25 November 2026A smartphone showing a web page, resting on a laptop keyboard next to someone writing notes, the same site on two screen sizes.TutorialHow to make a website mobile-friendlyUse a responsive theme or builder template, make sure your pages include the viewport meta tag, keep body text readable without zooming, make buttons and links at least 24 by 24 pixels, compress images, and remove pop-ups that cover the page. Then test on a real phone and with Lighthouse, since Google retired its Mobile-Friendly Test.Websites and design · 24 November 2026

Ready to build your website?

Start with hosting set up for WordPress and small business websites.

See WordPress hosting