Cookie Consent Done Properly on UK Websites

A web page with a consent banner beside a cookie, representing cookie consent on UK websites – Y5MEDIA

Most UK business websites use cookies or similar tracking for analytics, advertising, chat or embedded videos. PECR sets rules on when consent is needed, and the ICO has been checking websites. This guide explains what a proper cookie setup looks like in plain terms.

It is written for UK business owners and website managers who are unsure whether their cookie banner actually works.

The basics

Under PECR, storing or accessing information on a user’s device, through cookies, pixels, local storage or similar, generally requires clear information and consent, unless it is strictly necessary for a service the user asked for. The Data (Use and Access) Act 2025 introduced some new exceptions, for example for certain analytics and functional purposes under conditions. Advertising and most third-party tracking still generally need consent. Check the latest ICO guidance for detail.

What a proper banner does

  • Loads no non-essential cookies before the visitor chooses.
  • Makes “reject” as easy as “accept”, on the first layer.
  • Explains in plain words what each category does and who sets it.
  • Does not use pre-ticked boxes or treat scrolling as consent.
  • Remembers the choice and lets people change it later.
  • Is accessible to keyboard and screen-reader users. See website accessibility for UK businesses.

Common problems we find

  • Analytics and advertising pixels firing before consent.
  • A banner with “accept” but no equivalent “reject”.
  • Old tracking codes from previous agencies still running.
  • Embedded maps, videos and chat widgets setting cookies without consent.
  • A cookie policy that lists cookies the site no longer uses, or misses ones it does.

A practical fix

  1. Audit every cookie, script and pixel on the site.
  2. Remove anything you do not need.
  3. Categorise the rest: strictly necessary, analytics, functional, advertising.
  4. Implement a consent platform that blocks non-essential scripts until consent.
  5. Configure tools for consent, such as Google’s consent mode for analytics and ads.
  6. Update the cookie policy and privacy notice to match.
  7. Test in a fresh browser to confirm nothing loads before consent.

Will this hurt our analytics?

You may see fewer recorded visits, because some visitors decline. Consent-aware setups and server-side measurement can recover some insight within the rules. Clean, trustworthy data is more useful than inflated numbers from unlawful tracking.

How Y5MEDIA helps

We audit your site’s cookies and scripts, set up a proper consent platform, configure analytics and ads for consent, and update your cookie policy for your adviser to review. This is part of our data privacy and website services. See also practical UK GDPR and PECR groundwork.

How to check your own site in five minutes

  1. Open your website in a private or incognito browser window.
  2. Before clicking anything on the banner, open the browser’s developer tools and look at the cookies and network requests.
  3. If you see analytics, advertising or social media trackers already loading, consent is not being respected.
  4. Click “reject” or “reject all” and reload. Trackers should still not load.
  5. Check that you can find and change your choice later, usually through a link in the footer.

Categorising what you find

CategoryTypical examplesConsent?
Strictly necessaryShopping basket, login session, security, remembering the cookie choiceNot usually required
AnalyticsVisitor statistics toolsGenerally required, with some new limited exceptions; check ICO guidance
FunctionalRemembering preferences, live chatDepends on the purpose; check guidance
Advertising and socialAd pixels, retargeting, social sharing trackersRequired
Embedded contentVideo players, mapsOften required; consider privacy-enhanced modes or click-to-load

Choosing a consent platform

  • Blocks scripts until consent, not just displays a banner.
  • Equal-weight accept and reject options.
  • Works with your analytics and advertising tools’ consent features.
  • Keeps a record of consent.
  • Accessible and fast, so it does not slow the site down.
  • Easy for you to update when you add new tools.

Example scenario

Illustrative, not a client case. An online homeware shop has a banner with only an “OK” button, while advertising pixels from three past campaigns load on every visit. Removing unused pixels, adding a proper consent platform with reject on the first layer and configuring analytics to respect consent brings the site in line with good practice. The shop’s reported visits drop slightly, but the data it keeps is cleaner and more trustworthy.

Mistakes to avoid

  • Assuming a free banner plugin blocks scripts by default. Many only display a message.
  • Leaving tags in Google Tag Manager that fire regardless of consent.
  • Copying another site’s cookie policy.
  • Forgetting to update the setup when marketing adds a new tool.

Related reading

Frequently Asked Questions

Do we need a cookie banner?

If your site uses non-essential cookies or similar tracking, you generally need to inform visitors and get consent.

Are analytics cookies still non-essential?

Some analytics may now fall under new exceptions in limited circumstances. Check ICO guidance; advertising cookies generally still need consent.

Must reject be as easy as accept?

The ICO expects users to have a genuine choice, and equally prominent options are the safest approach.

Will consent reduce our tracked traffic?

Possibly. Consent-aware setups help keep useful insight within the rules.

Can you fix this without rebuilding the site?

Usually yes.

Y5MEDIA for UK Businesses

Tell Us the Problem in Your Own Words

You do not need to know which service you need. Describe what is not working, and we will tell you honestly whether and how we can help. Email support@y5media.com, use the contact page, or message us on WhatsApp.

Leave a Reply

Your email address will not be published. Required fields are marked *