Skip to content

Websites

Cookie consent in the UK: what your website needs after the Data (Use and Access) Act

By RISCCPublished 8 min read

Websites

Cookie consent is one of the most visible parts of a website's compliance, and one of the most often done badly. Banners that load tracking before anyone clicks, that make rejecting harder than accepting, or that list dozens of vague categories are still common. The rules have also changed recently, with new exceptions introduced by the Data (Use and Access) Act 2025.

This guide explains what UK websites need now, in plain English. It isn't legal advice, and if your site uses complex advertising or tracking, it's worth taking advice specific to your setup.

How cookie consent works in the UK

The Privacy and Electronic Communications Regulations, known as PECR, set the rules on storing information on, or accessing information from, someone's device. That covers cookies, but also tracking pixels, local storage, device fingerprinting and scripts that do the same job. The ICO's guidance on the use of storage and access technologies is the main reference, and was finalised after the Data (Use and Access) Act changed PECR.

The basic rule is that you need consent, unless an exception applies. Where you use these technologies, you must also give people clear information about them.

The exceptions

Some uses don't need consent.

Strictly necessary

Technologies that are strictly necessary to provide a service the person has asked for, such as remembering what's in a shopping basket, keeping someone logged in or load balancing, have always been exempt.

New exceptions under the Data (Use and Access) Act

The government's summary of the Data (Use and Access) Act changes explains that the Act allows these technologies to be used without consent in certain low-risk situations. The ICO's guidance sets out exceptions covering purposes such as collecting statistical information to improve a website or service, adapting the appearance or functions of a site to a person's preferences, security and fraud prevention, and some emergency situations.

Conditions apply

The new exceptions are purpose-limited. For the statistical and appearance exceptions in particular, people must be given clear information and a simple, free way to object. If a technology is used for anything beyond the exempt purpose, such as sharing analytics data for advertising, consent is still needed. Read the ICO's guidance carefully before relying on an exception.

What still needs consent

Most commercial tracking still needs consent.

Advertising and remarketing

Tags from advertising platforms, such as Google Ads, Meta and LinkedIn, used to measure ads, build audiences or show remarketing ads, generally need consent.

Third-party tracking

Social media embeds, some video players and many third-party widgets set technologies for their own purposes, which usually need consent.

Analytics beyond the exception

Analytics that shares data with third parties for their own purposes, or that's used for profiling or advertising, falls outside the statistical exception.

What good consent looks like

Consent under PECR must meet the UK GDPR standard: freely given, specific, informed and unambiguous.

Before anything loads

Non-exempt technologies must not load until the person has given consent. A banner that appears while tracking tags fire in the background isn't valid consent.

Equal choices

Rejecting should be as easy as accepting. A prominent "Accept all" button with "Reject" hidden in a settings menu doesn't meet the ICO's expectations.

No pre-ticked boxes

Categories that need consent must be off by default.

Clear information

Explain in plain language what each category does, who sets it and how long it lasts. Link to a fuller cookie policy.

Easy to change

People must be able to change their mind as easily as they agreed. A link in the footer that reopens the consent settings is the usual approach.

Telling people about exempt technologies

Even where consent isn't needed, you must still tell people what you use. For the new statistical and appearance exceptions, the information must be clear and the way to object must be simple. A cookie policy that lists every technology, its purpose and duration, and explains how to object or change preferences, covers this.

Google Consent Mode

If you use Google Ads or Google Analytics, Google's consent mode adjusts how Google's tags behave based on the person's choice. When people decline, tags can send limited, cookieless signals that Google uses for modelling, depending on how consent mode is set up. It needs to be configured properly with your consent banner. Our guide to Google Ads conversion tracking explains how it fits with measurement.

Auditing your website

Most businesses don't know everything their site sets.

List what loads

Use your browser's developer tools, or a scanning tool, to list every cookie, pixel, script and storage item your site uses, on key pages and after interactions such as submitting a form.

Find the source

For each one, work out which tool sets it and why. Old tags from tools you no longer use are common.

Categorise

Sort them into strictly necessary, potentially exempt under the new exceptions, and needing consent.

Remove what you don't need

Every unnecessary tag is a compliance risk and slows the site down. Remove anything nobody uses.

Check behaviour

Test that non-exempt items don't load before consent, and stop loading after someone rejects or withdraws consent.

Choosing a consent tool

Consent management platforms handle the banner, record choices and block tags until consent is given. Choose one that can genuinely block tags before consent, offers equal accept and reject options, works with Google Consent Mode if you use Google's tools, and doesn't slow your site significantly. Check its default settings carefully, because some are configured in ways that don't meet UK expectations out of the box.

Cookies on different kinds of website

What a site needs depends on what it does.

Simple brochure sites

A small service business site with a contact form and basic analytics may need very little: strictly necessary items, analytics that may fall within the statistical exception if set up carefully, and consent for anything else, such as a map embed or video. A simple banner and clear cookie policy usually cover it.

Online shops

Shops typically use basket and checkout technologies, which are strictly necessary, plus analytics, advertising pixels, review widgets and email marketing tools. The advertising and many third-party tools need consent, and the consent setup must be tested carefully across the checkout.

Sites running paid advertising

If you run Google Ads, Meta or LinkedIn campaigns, their tags are central to measuring results. They need consent, and consent mode or similar settings determine what's measured when people decline. Plan the consent setup alongside your tracking, so you understand the data you'll have.

Sites with logins or portals

Logged-in areas use technologies that keep people signed in, which are strictly necessary. Check any extra tools used inside portals, such as chat or analytics, separately.

Embedded content

Maps, videos, social media posts and booking widgets embedded from other services often set their own cookies as soon as the page loads. A common approach is to show a placeholder that loads the embed only when the person clicks it or has consented to that category. It keeps the page faster too.

Banner design

A banner can be compliant and still easy to use.

Keep it short

A sentence or two explaining what you'd like to use and why, with clear buttons.

Don't block the site

Banners that cover the whole screen frustrate people. A bar at the bottom or a small panel is usually enough.

Mind accessibility

The banner must work with a keyboard and a screen reader, and mustn't hide content people are trying to use. Our guide to website accessibility covers why.

Mind performance

Heavy consent tools can slow page loading. Our guide to Core Web Vitals explains why that matters.

Consent and your data

Rejection rates vary by site and audience. A well-designed, honest banner tends to perform better than a confusing one. If analytics data drops after fixing a non-compliant banner, that's a sign the old setup was collecting data without valid consent. Use the exempt statistical exception where it genuinely applies, and Google's consent mode modelling where appropriate, to fill some of the gap.

Privacy information

Your cookie information should sit alongside your privacy notice. If you collect personal data through forms, analytics or chat, the privacy notice must explain it. The ICO's guidance on what privacy information to provide covers what's required.

Common mistakes

Tags loading before consent. Reject hidden behind extra clicks. Pre-ticked categories. Vague category descriptions. No way to change preferences later. Old tags from tools nobody uses. Assuming all analytics is now exempt. Banners that don't work with a keyboard.

Keeping it up to date

Cookie compliance isn't a one-off job. Every time you add a new tool, such as a chat widget, booking system, video embed or advertising platform, check what it sets and update your consent settings and cookie policy. Repeat a full audit at least once a year, and whenever your website is rebuilt or moves platform. Our website maintenance checklist includes this.

Who owns it

Assign someone to own cookie compliance, usually whoever manages the website or marketing tags. When agencies or freelancers add tracking, make sure they tell that person and update the consent settings.

A cookie consent checklist

  1. Audit every cookie, pixel, script and storage item.
  2. Remove what you don't need.
  3. Categorise as necessary, exempt or needing consent.
  4. Check any exception you rely on against the ICO's guidance.
  5. Block non-exempt items until consent is given.
  6. Make reject as easy as accept, with nothing pre-ticked.
  7. Explain each category clearly and link to a cookie policy.
  8. Offer an easy way to change preferences later.
  9. Configure Google Consent Mode if you use Google's tools.
  10. Retest whenever you add a new tool.

Every website we build includes a properly configured consent setup, with tags blocked until consent and clear information for visitors. If your current site needs a review, our website design service can audit and fix it. See how we work with businesses in Birmingham, our website projects, or read more on our main website design page.