GDPR vs PECR Cookies UK: What Website Owners Need to Know
UK cookie rules are often misunderstood because GDPR and PECR are closely connected, but they do different jobs. PECR usually deals with storing or accessing information on a visitor’s device, while UK GDPR applies where personal data is processed.
This guide explains the difference between GDPR and PECR for cookies, analytics tools, advertising pixels, consent banners, cookie policies and website tracking technologies.
This is practical website guidance only. It is not legal advice or formal compliance certification.
Quick Answer: What Is the Difference Between GDPR and PECR?
PECR is usually the first rule to consider when a website stores or accesses information on a visitor’s device, such as through cookies, pixels, tags or similar technologies. UK GDPR then becomes relevant where the information collected or processed is personal data.
PECR
Focuses on storing or accessing information on a user’s device, including cookies and similar tracking technologies.
UK GDPR
Applies when personal data is processed, including personal data collected or inferred through cookies, tags or tracking tools.
Practical Rule
Check PECR first for cookie access or storage, then check UK GDPR where personal data is involved.
GDPR vs PECR Cookies Comparison
This table gives a simple practical comparison for UK website owners using cookie banners, analytics tools, advertising pixels or tag managers.
| Area | PECR | UK GDPR |
|---|---|---|
| Main focus | Storing or accessing information on a user’s device. | Processing personal data fairly, lawfully and transparently. |
| Applies to cookies? | Yes, where cookies or similar technologies are stored or accessed. | Yes, where cookie data is personal data or is linked to a person. |
| Consent relevance | Consent is normally required for non-essential cookies and similar technologies. | Consent must meet UK GDPR standards where consent is relied on. |
| Examples | Analytics cookies, advertising pixels, retargeting tags, embedded tracking scripts. | User IDs, behavioural profiles, conversion tracking data, identifiable analytics data. |
| Practical website check | Does the banner block non-essential cookies before consent? | Is personal data processed lawfully, transparently and for clear purposes? |
Why GDPR and PECR Both Matter for Cookies
A cookie banner can be affected by both PECR and UK GDPR. PECR is usually relevant at the point where a website stores or accesses information on a device. UK GDPR becomes relevant where the data collected through that technology is personal data.
For example, Google Analytics, Meta Pixel, Google Ads tags and retargeting scripts may involve both device access and personal data processing, depending on how they are configured and used.
This is why a cookie policy alone is usually not enough for websites using analytics or advertising tools. The website should also give visitors clear choices and make sure the technical setup respects those choices.

Practical Examples for UK Websites
These examples show how GDPR and PECR can overlap in real website tracking setups.
Google Analytics
PECR is relevant where analytics cookies or similar identifiers are stored or accessed. UK GDPR may also apply where analytics data can identify or relate to a person.
Meta Pixel
PECR is relevant where the pixel stores or accesses device information. UK GDPR may apply where the resulting data is used for advertising, retargeting, audience building or conversion tracking linked to individuals.
Strictly Necessary Cookies
Some cookies may be essential for a user-requested service, such as security, login sessions or basket functionality. These are treated differently from analytics or marketing cookies.
GDPR and PECR Cookie Checklist
Use this checklist to review whether your website’s cookie banner, policy and tracking setup need closer attention.
- Does the website use cookies, pixels, tags or similar technologies?
- Are non-essential cookies blocked until consent is given?
- Are analytics cookies separated from strictly necessary cookies?
- Are advertising and retargeting tools clearly explained?
- Can visitors reject non-essential cookies easily?
- Does the cookie policy explain what cookies do and why?
- Does the privacy policy explain personal data processing where relevant?
- Can visitors change or withdraw their consent?
- Has tracking behaviour been tested before and after consent?
- Are WordPress plugins, Shopify apps and tag manager scripts checked?
Common GDPR and PECR Cookie Mistakes
Most cookie banner issues come from treating the banner as a visual notice rather than a working consent control.
Relying on Implied Consent
Wording such as “by continuing to browse, you accept cookies” is usually weak because it does not give a clear active choice.
Treating Analytics as Necessary
Standard analytics cookies are not usually strictly necessary for the website to function, so they should be reviewed carefully.
Banner Says One Thing, Tags Do Another
A website may display a banner but still allow analytics or advertising scripts to load before consent. This is a technical issue, not just a wording issue.
Official Cookie Guidance
The ICO explains that websites should tell people if cookies are set, clearly explain what those cookies do and why, and obtain consent unless a limited exception applies for cookies that are essential to provide a service requested by the user.
The ICO also explains that PECR sits alongside UK GDPR and the Data Protection Act 2018. Where PECR rules apply, they take precedence, so website owners should usually consider PECR first when cookies or similar technologies are used.
GDPR vs PECR Cookies FAQs
Is PECR different from GDPR?
Yes. PECR contains specific rules for cookies, similar technologies and electronic communications. UK GDPR applies where personal data is processed.
Which law should I check first for cookies?
For cookies and similar technologies, PECR is usually the first law to consider because it deals with storing or accessing information on a user’s device. UK GDPR should then be considered where personal data is processed.
Do all cookies need consent?
No. Some cookies may be essential to provide a service requested by the user. However, analytics, advertising, retargeting and marketing cookies usually need careful consent review.
Does legitimate interest allow analytics cookies without consent?
Legitimate interest under UK GDPR does not remove the need to consider PECR. Where PECR requires consent for storing or accessing information on a device, website owners should not skip the cookie consent step.
Is a cookie policy enough without a banner?
Usually not where non-essential cookies are used. A cookie policy explains the technology, but visitors also need a meaningful consent choice before optional cookies or similar technologies are used.
Related Cookie Banner Guides
Continue reading practical guidance on cookie banners, analytics consent, advertising pixels, Consent Mode and platform-specific tracking checks.
Check Your Cookie Banner Against GDPR and PECR Expectations
Download the free checklist or request a practical review of your cookie banner, cookie policy, analytics tags, advertising pixels and tracking behaviour.
This is practical website guidance only and is not legal advice or formal compliance certification.
