Cookies strictly necessary for the service the visitor asked for are exempt from consent. Article 5(3) of the ePrivacy Directive, which every EU country has written into its own law, exempts trackers used only to carry out the transmission of a communication, or strictly necessary for a service the visitor explicitly requested. Regulators read “strictly necessary” narrowly. France’s CNIL has published the most detailed list of examples, which the table below follows.
Which trackers are exempt from consent?
According to the CNIL, trackers can work without prior consent when they are used to:
| Purpose | Example |
|---|---|
| Remember the visitor’s cookie choice | Your banner’s cookie that remembers “Reject all” |
| Authenticate the visitor, including login security | Session cookie of a customer account |
| Keep the contents of a shopping cart | Shopify, WooCommerce or PrestaShop cart |
| Customise the interface at the visitor’s request | Language, currency or dark theme they chose |
| Balance load between servers | The host’s load-balancing cookie |
| Limit free access to paid content | A news site’s counter of free articles |
| Measure the audience, under strict conditions (France) | Anonymous statistics for the site’s own use |
In each case the tracker serves the visitor (or keeps the site running), and nothing else. A cart cookie that also feeds ad retargeting loses its exemption.
When is an analytics tool exempt?
This exemption comes from the CNIL. Some other regulators accept something similar, others do not: outside France, check your own regulator’s guidance before relying on it. According to the CNIL, an analytics tool can do without consent if it meets five conditions:
- The purpose is strictly limited to audience measurement, for the site’s own use: how many visits, which pages, where visitors come from.
- It only produces anonymous statistics.
- The data is not combined with other processing (customer file, CRM, advertising), nor passed to third parties in a non-anonymous form.
- It does not track the visitor from one site or app to another. An identifier shared across several sites rules the tool out.
- A provider serving several sites keeps each site’s data separate, with fully independent trackers.
The CNIL also recommends limiting the cookie’s lifetime to 13 months (without extending it on each visit) and keeping the data no longer than 25 months. These durations are explained in our guide on how long consent lasts.
Does the CNIL still publish a list of exempt tools?
Since 4 July 2025, its page on audience measurement no longer names any tool: it gives the conditions above and a self-assessment tool to download. For several years the CNIL had published a list of tools that could be exempt once properly configured, and many sites still quote it.
Saying “we use Matomo, so no consent is needed” is not enough. You have to be able to show that your setup meets each condition: anonymisation, no sharing, no cross-referencing. The same conditions apply to Piano Analytics, Plausible or any other tool.
Which trackers always need the visitor’s consent?
All those used for anything other than the service the visitor asked for. The most common are advertising and retargeting tools (Meta, Google Ads, TikTok and LinkedIn pixels) and Google Analytics in its usual configuration, because Google also uses the data and can combine it with its other services.
Third-party content that loads straight away, such as a YouTube video, a Google Maps map or share buttons, also needs consent. It only does without when it loads on the visitor’s click. Session recording and heatmaps need it in most configurations.
Do you need a banner if all your cookies are exempt?
Not to ask for consent, since there is nothing to accept. Regulators do recommend telling visitors about the trackers you use, in your privacy policy or a cookie page. Our guide does your website need a cookie banner? goes through the cases.