Skip to content

EARN UP TO 50% COMMISSION WITH OUR RESELLER ACCOUNTS + REGULAR PASSIVE INCOME SIGN UP TODAY

Cookie law

What cookie law asks of your website

A plain-English summary of what UK and EU cookie law asks of a website, and which parts CookieScan helps with. General guidance, not legal advice.

Updated 4 min read

Applies to:
  • Compliance

https://cookiescan.com/help/what-the-cookie-law-asks/ Β· Updated 12 October 2026

On this page

Overview

Cookie law sets rules for storing or reading information on a visitor's device. It covers cookies and similar technologies, such as local storage, tracking pixels and device fingerprinting. In the UK the rules are in the Privacy and Electronic Communications Regulations (PECR). In the EU they come from the ePrivacy Directive, which each country puts into its own law.

This page is general guidance, not legal advice. Whether your website meets the law is your decision, so check with your own adviser if you're unsure.

The basic rule

Before your website stores or reads a cookie on a visitor's device, you must do two things:

  1. Tell the visitor clearly what the cookie does.
  2. Get their consent.

You don't need consent for cookies that are strictly necessary for something the visitor asked for. A shopping basket, a sign-in session and the cookie that remembers a visitor's choice are common examples.

In the UK, the Data (Use and Access) Act 2025 added more exceptions to PECR from 5 February 2026. Some cookies used only for statistics about your own website, or to remember how a visitor wants it to look, no longer need consent. You must still explain them, and give visitors a simple, free way to object.

Consent for cookies has to meet the standard set by the UK GDPR and the EU GDPR. Regulators expect consent to be:

  • Given by a clear action. The visitor selects a button or a switch. Carrying on browsing is not consent.
  • Asked for first. Non-essential cookies wait until the visitor agrees.
  • Off by default. Optional categories are not turned on or pre-ticked.
  • No harder to refuse than to accept. Rejecting takes no more effort than accepting.
  • Specific. Visitors can choose by purpose, not only all or nothing.
  • Possible to withdraw. Visitors can change their mind at any time.
  • Provable. You can show that a visitor gave consent.

What you need to do

Most websites follow the same five steps.

  1. Find out which cookies your website sets, and why.
  2. Tell visitors about them in a cookie notice and on your cookie banner.
  3. Ask for consent, and hold back non-essential cookies until visitors agree.
  4. Keep a record of each visitor's choice.
  5. Check again whenever your website changes.

How CookieScan helps

CookieScan gives you tools for each step. How you set them up, and whether that meets the law for your website, stays your decision.

What the law asksWhat CookieScan does
Know your cookiesScans your website and sorts cookies into Necessary, Preference, Statistics, Marketing and Unclassified.
Tell visitorsProvides an automatic cookie notice, and lets you edit the banner's wording and links.
Ask firstShows a cookie banner with Accept all, Reject all and Adjust.
Hold cookies backAuto-blocking stops cookies it can block until the visitor agrees.
Keep recordsRecords each choice in the Consent Log, with a proof of consent download.

For each tool, see:

Auto-blocking works only when you turn on Auto-block cookies. Cookies a visitor accepted earlier stay on their device after they choose Reject all. See Cookies are still there after Reject all.

Read the rules yourself

Was this article helpful?

Thanks for your feedback.

Please don't include personal details. We can't reply here.

Thanks for your feedback.

Please don't include personal details. We can't reply here.

Thanks, your comment has been sent.

Sorry, we couldn't record your feedback. Please try again later.

Still stuck?

Our support team can help with anything these guides don't cover. Tell us your CookieScan ID and the page address so we can look straight away.

Back to Cookie law