People often call it "the cookie law". The directive dates from 2002 and was amended in 2009, which is when the consent requirement for cookies took its current shape. The text is on EUR-Lex (opens in a new tab). Because it is a directive, not a regulation, each EU country wrote it into its own national law, so the details and the regulator differ from country to country. This page is an explanation, not legal advice.
What Article 5(3) covers
The rule is about the visitor's device, not about personal data as such. It applies when a website stores information on a phone or computer, or reads information already stored there. Cookies are the classic case, but the same logic applies to local storage and similar techniques.
There are two exemptions:
- Storage or access needed only to carry out the transmission of a communication.
- Storage or access that is strictly necessary to provide a service the user explicitly asked for, such as a shopping basket or a sign-in session.
Analytics cookies are generally not treated as strictly necessary, which is why many sites put them behind a cookie banner.
In 2024 the European Data Protection Board adopted guidelines on the technical scope of Article 5(3) (opens in a new tab). They read the rule as covering more than cookies, including some tracking techniques that do not set a cookie at all. If you are planning a cookieless setup to avoid consent, that document is worth reading with your adviser.
ePrivacy and the GDPR together
| Question | Answered by |
|---|---|
| May I store or read something on the visitor's device? | ePrivacy Directive (national law) |
| What makes consent valid? | GDPR definition of consent |
| What may I do with the personal data I collect? | GDPR |
A proposal for an ePrivacy Regulation, which would have replaced the directive with one EU-wide law, was discussed for years. The directive and the national laws based on it remain the rules to follow.
The UK version
In the UK the same rule lives in PECR, the Privacy and Electronic Communications Regulations. The UK has since amended PECR with new exceptions, so UK and EU rules are no longer identical.
How Reveata relates to it
By default Reveata's script sets two first-party cookies on your domain: _dt_v, a random visitor id with a visit counter that lasts up to 400 days, and _dt_s, a session id that expires after 30 minutes of inactivity. They hold no personal details and are never shared across websites. These are listed in Reveata's Cookie Policy.
If you prefer to store nothing on the device, switch on Cookieless in Settings → General, or load the cookieless build of the script. The server then counts visitors for one day with a hash built from a daily random salt, your website, the IP address and the user agent, and deletes each salt after its day ends. See Privacy, cookies and cookieless mode for the trade-offs.
Reveata's own documentation is clear that whether you need consent depends on your configuration and your visitors' countries, and that you should check with your legal adviser.