Analytics and Tracking

ePrivacy Directive

Also called Cookie Law, ePrivacy

The European rule that requires permission before storing or reading anything on a visitor's device, cookies included.

Quick facts: ePrivacy Directive

Category
Analytics and Tracking
Also called
Cookie Law, ePrivacy
Level
Intermediate
Affects
Tag firing order, cookie policy accuracy, banner design
Where to see it
Browser developer tools (Application storage), Google Tag Manager preview, cookie scanners
In this article4
  1. How the ePrivacy Directive works
  2. Why the ePrivacy Directive matters
  3. Where the ePrivacy Directive goes wrong
  4. How to act on it

How the ePrivacy Directive works

The rule is narrower and blunter than people assume. Before you store information on a visitor’s device, or read information already stored there, you need their permission. The only exception is storage that is strictly necessary to deliver the service the person asked for — a session identifier that keeps a shopping basket alive, a token that stops a form being abused, a record of the consent choice itself.

It is a directive rather than a regulation, which means each country wrote it into its own law. That is why banners and enforcement differ noticeably between member states, and why the United Kingdom kept an equivalent rule of its own after leaving the European Union. GDPR does not replace it; the two work together, with GDPR supplying the definition of what valid consent looks like.

Why the ePrivacy Directive matters

This, not GDPR, is the reason your site has a banner. And because it is about the act of storing and reading rather than about personal data, it catches things a data-protection argument would miss. Local storage, session storage, advertising pixels, device fingerprinting scripts and tags that read an existing identifier are all in scope, whether or not you consider what they hold to be personal.

That distinction changes what you have to do. “We anonymise everything” is not an answer here, because the obligation attaches to the writing and the reading, not to what is later done with the result.

Where the ePrivacy Directive goes wrong

The most frequent failure is analytics loading before anybody has chosen, with the banner sitting on top as decoration. If the tag has already written its identifier, the choice came too late to mean anything.

Close behind is a cookie policy that lists cookies and nothing else, while the site quietly uses local storage and a handful of advertising pixels that never appear in the table. Then there is the strictly necessary category being stretched to cover audience measurement or personalisation, and the banner that offers a prominent accept with no equally easy way to decline, which several regulators have said does not produce valid consent.

How to act on it

Open your own site in a clean browser, refuse or ignore the banner, and inspect what has already been written to the device. Anything beyond the genuinely essential should not be there yet. That single test finds most problems faster than reading any policy document.

Then make the categories honest, block non-essential tags until a consent update says otherwise, and give reject the same visual weight as accept. Rebuild the cookie table from what the site actually loads rather than from a template, and revisit it whenever a new tool is added — a single embedded video or chat widget can bring identifiers with it.

Do and do not

Do

  • Block non-essential tags until the visitor has chosen
  • Build the cookie table from what the site really loads
  • Give declining the same prominence as accepting

Do not

  • Classify analytics or advertising as strictly necessary
  • Assume anonymising the data removes the need for permission
  • Leave the policy unchanged after adding a new widget

Questions people ask about this

Is the ePrivacy Directive the same as GDPR?

No, they are separate laws that overlap. The ePrivacy Directive governs storing and reading information on someone's device, whatever that information is. GDPR governs the use of personal data, wherever it came from. In practice the directive tells you that you need permission for a tag, and GDPR tells you what a valid permission has to look like.

Does it only apply to cookies?

No. It applies to any storage of, or access to, information on a visitor's device. That includes local storage, session storage, tracking pixels that set identifiers, software development kits inside apps and fingerprinting techniques that read device characteristics. Naming your policy after cookies alone is one reason so many cookie tables are incomplete.

Which cookies count as strictly necessary?

Ones without which the service the visitor asked for cannot work: keeping a login session, holding items in a basket, balancing traffic across servers, protecting a form from abuse, and remembering the consent choice itself. Analytics, advertising and personalisation are not strictly necessary, however useful they are to you, and they need permission first.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.