PECR sits alongside the UK GDPR and governs cookies, pixels and direct marketing. Here is when consent is needed before your ad tags fire, and what the ICO expects.

If you run paid ads in the UK, the Privacy and Electronic Communications Regulations 2003, known as PECR, shape what you can do with cookies and pixels before a campaign goes live. Regulation 6 requires consent for most advertising-related tracking, and the regulator’s powers have grown. This explainer covers when consent is needed and what valid consent looks like.

What PECR Is and Where It Sits Alongside UK GDPR

PECR is domestic UK law sitting alongside the UK GDPR. The UK GDPR governs how personal data is handled generally; PECR adds specific rules for electronic communications, covering direct marketing by electronic message and technologies that store or access information on a user’s device, such as cookies and pixels.

The rules cover websites, mobile apps, smart TVs and other connected equipment, and both client-side and server-side technologies are in scope, so a pixel counts even when nothing is stored in the visitor’s browser. Where consent is required, it must meet the UK GDPR standard: freely given, informed and an unambiguous indication of the person’s wishes, given separately for each purpose. PECR also now carries the Data Protection Act 2018 definition of direct marketing.

Regulation 6 says you must not store or access information on someone’s device without consent unless an exception applies. For advertisers the effect is blunt: the ICO takes the view that advertising never qualifies as strictly necessary. Retargeting, cross-site tracking and social media tracking all need consent before the relevant tags fire.

Things advertisers often assume are harmless are caught too. An affiliate marketer needs consent to use a pixel that tracks clicks on affiliate links and attributes sales to those clicks. Your own measurement is caught as well: conversion tracking basics explains how the tracking works, and how retargeting works and the consent it needs covers remarketing audiences.

The ICO’s guidance on storage and access technologies is specific about how consent must be collected:

  • Rejection has to be as simple as acceptance, so a banner offering ‘Accept all’ without an equally visible ‘Reject all’ falls short.
  • Consent cannot be inferred from silence or inactivity, and phrases such as ‘by continuing to use this site you agree’ carry no weight. Toggles for non-essential categories must start switched off.
  • Requests must sit separately from your terms and conditions, use plain language and name the third parties relying on consent.
  • Withdrawal must be as easy as giving consent, and you must stop using the technologies once someone does.
  • Do not nag; the ICO suggests waiting about six months before asking again anyone who has declined.
  • Relying on a visitor’s browser settings by themselves will not demonstrate consent.

The ICO and the CMA have also published a position paper on harmful design: fairly presented choices are a compliance requirement, not merely good practice.

The strictly necessary exception is judged from the user’s point of view and covers only what the user has explicitly requested, such as a cookie that remembers a shopping basket. Funding the service is not a justification.

The Data (Use and Access) Act 2025 added a new Schedule A1 to PECR setting out further exceptions. The most relevant for small businesses is analytics: a tool that aggregates data only, tracks no individual visitors and does nothing related to online advertising can run without consent. But the exception covers analytics alone: if one script does several jobs and any one of them needs consent, the tool as a whole needs consent.

The ICO has proposed that some low-risk advertising activities, such as attribution using anonymised or privacy-enhancing techniques, could in future be exempt from consent. That is a proposal, not a rule change, and cross-site behavioural advertising will continue to require consent.

Worth trying

Check what your tags actually do, not what the banner says. If any script sets advertising or cross-site cookies before consent, the banner is decorative.

Email Marketing and the Fines for Getting It Wrong

PECR also governs direct marketing by email and text. In broad terms you need consent before sending individual marketing messages, subject to exceptions such as the soft opt-in for existing customers, and every message must identify the sender and offer an unsubscribe route.

For advertising content itself, PECR is not the only rulebook. The CAP Code governs what your ads say, which our plain-English guide to the CAP Code covers in detail.

Enforcement has teeth. The Data (Use and Access) Act 2025 brought PECR penalties into line with the UK GDPR, so the ICO can now impose fines of up to £17.5 million or 4% of worldwide annual turnover; the previous maximum was £500,000. These higher powers came into force on 5 February 2026, and the ICO is developing separate guidance on how it will apply them.

A compliant setup for a typical small advertiser looks like this:

  • Give ‘Accept’ and ‘Reject’ buttons equal prominence, and hold back anything that needs consent until the visitor has chosen.
  • Configure analytics so it aggregates data only and runs no advertising features, if you want to rely on the analytics exception.
  • Load Google Ads, Meta and other marketing tags only after consent. If you use Google products, consider Google Consent Mode v2, since Google’s consent policy covers UK users.
  • Keep a record of consent so you can demonstrate it was freely given.

As an illustration, take a candle shop running search ads and a Meta retargeting campaign. Its shopping basket cookie and aggregate analytics can work before consent. The Meta pixel must wait for an accept, and visitors who decline should see contextual or non-personalised advertising instead.

For decisions about your own setup, the ICO’s guidance on cookies and storage technologies is the authoritative reference, and a qualified adviser can help with unusual cases.

In brief

  • PECR regulation 6 requires consent before storing or accessing information on a user’s device, and the ICO says no advertising purpose counts as strictly necessary.
  • Valid consent means equal accept and reject options, no pre-ticked boxes, and consent requests kept separate from your terms and conditions.
  • Since 5 February 2026, ICO fines for PECR breaches can reach £17.5 million or 4% of global annual turnover, up from £500,000.
  • A privacy-friendly analytics tool can run without consent, but only if analytics is its sole purpose and it tracks no individuals.
  • The Data (Use and Access) Act 2025 introduced new exceptions in Schedule A1 to PECR, but advertising and cross-site tracking still need consent.

Common questions

Do I need a cookie banner if I only use analytics on my site?

It depends how the tool is configured. Analytics set up to aggregate data only, with no individual tracking and no advertising features, may run without consent, but a standard setup linked to advertising still needs it.

Does PECR apply to business-to-business marketing?

The government considered extending PECR’s requirements to B2B marketing but did not implement that proposal, so the position varies with who you contact and how. Check the ICO’s current guidance before building a list.

What happens if my ad tags fire before a visitor consents?

Setting non-essential cookies without consent is a PECR breach. Fines can now reach £17.5 million or 4% of global annual turnover, so audit your scripts rather than relying on the banner alone.

Are tracking pixels treated the same as cookies under PECR?

Yes. PECR covers storage and access technologies, including both client-side and server-side tools, so pixels fall in scope even when nothing is stored in the visitor’s browser.

This guide is general information, not legal advice. Ad platform policies and UK advertising rules change, so check the ASA’s and the platforms’ current guidance before you rely on it.