This guide gives an overview; it does not replace legal advice suited to your situation.
The principle
The ePrivacy directive provides two exceptions to consent: trackers used solely to carry out or facilitate a communication, and those strictly necessary for a service explicitly requested by the user. Everything else waits for their agreement.
Being exempt from consent does not exempt you from informing: these cookies are described in your cookie policy.
The list of exempt cookies
| Use | Example |
|---|---|
| Remembering the cookie choice | The cookie that remembers the visitor rejected |
| Shopping basket | The contents of a shop basket |
| Authentication | The session cookie of a customer area |
| Security | Protection against fraud, bots, request forgery |
| Display preferences the visitor asked for | The chosen language, dark theme, currency |
| Load balancing | The cookie that keeps the visitor on the same server |
| Media player | Volume or quality, for content the visitor plays |
| Exempt audience measurement | Under strict conditions, see below |
Exempt audience measurement
The French regulator accepts that an analytics tool may run without consent if it meets all of these conditions:
- it only produces anonymous statistics on behalf of the site owner;
- data is neither combined with other processing nor passed to third parties;
- it does not track the visitor from one site to another;
- trackers last 13 months at most, with no automatic extension on each visit;
- collected data is kept for 25 months at most;
- visitors are informed and can object.
Several tools can be configured this way, Matomo for one. Google Analytics is not one of them: it needs consent. See our guide Google Analytics and the GDPR.
Common pitfalls
- Live chat or review widgets that set tracking cookies on arrival: they are not a requested service until the visitor opens them.
- Embedded YouTube videos: they set Google cookies when the page loads, before any click. They must wait for consent.
- Fonts and maps loaded from Google: they pass the visitor’s IP address to Google; host your fonts yourself.
- “Necessary” for the business is not “necessary” for the visitor. An advertising cookie may be essential to the business model; it is not exempt for all that.
With Optooki
The scanner visits your site as a new visitor and files every cookie it finds in its category. Strictly necessary cookies stay active, the others wait for consent, and YouTube and Vimeo videos are replaced by a preview until agreement. If all your cookies are exempt, the dashboard tells you: you may not need a banner at all (learn more).