Home Services Pricing FAQ Blog AboutContact Free Scan

Do I need a cookie consent banner on my website?

QUICK ANSWER

Yes. Under PECR and the UK GDPR, you must obtain informed consent before setting non-essential cookies on a visitor's device. This includes analytics cookies (Google Analytics), advertising cookies (Facebook Pixel), and most third-party tracking cookies. Only strictly necessary cookies — like session cookies for a shopping basket — are exempt.

The law on cookies in the UK

Two sets of regulations govern cookies on UK websites:

These rules apply to every website accessible to UK visitors, regardless of where the website or business is based. If your site is available in the UK, you need to comply.

What counts as a "non-essential" cookie?

Any cookie that is not strictly necessary for the basic functioning of the website is non-essential and requires consent. Common examples of non-essential cookies that require consent:

If you are unsure whether a specific cookie is essential, the Information Commissioner's Office (ICO) advises treating it as non-essential and seeking consent.

What is exempt?

Only cookies that are strictly necessary for a service explicitly requested by the user are exempt. The ICO gives these examples:

The exemption is narrow. If a cookie provides any benefit to the website owner rather than the visitor — such as analytics data — it is not exempt, even if it also benefits the user indirectly.

What happens if you do not comply?

The ICO can issue fines of up to £500,000 under PECR for cookie consent failures. In practice, the ICO typically starts with enforcement notices requiring changes within a set timeframe, followed by fines for persistent non-compliance.

Beyond fines, non-compliance erodes visitor trust. Research consistently shows that UK consumers care about how their data is used, and visible non-compliance damages brand reputation.

What a compliant cookie banner looks like

A compliant cookie consent mechanism must include:

Common mistakes to avoid

Checking your compliance

A cookie audit identifies every cookie your website sets, when it is set, and whether consent is obtained first. PulseShield's cookie compliance scanner crawls your site and flags every non-essential cookie along with compliance issues such as cookies loaded before consent and missing reject options.

For the full regulatory requirements, see our detailed guide to the ICO's cookie consent requirements. If you are building a compliance checklist for your whole site, our guide to GDPR website compliance covers cookies alongside the wider data protection obligations.

Is your cookie consent compliant?

Free scan checks your cookie banner, SSL, security headers, and more.

Free Security Scan View Plans