Which cookies are exempt from consent?

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.

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:

  1. The purpose is strictly limited to audience measurement, for the site’s own use: how many visits, which pages, where visitors come from.
  2. It only produces anonymous statistics.
  3. The data is not combined with other processing (customer file, CRM, advertising), nor passed to third parties in a non-anonymous form.
  4. It does not track the visitor from one site or app to another. An identifier shared across several sites rules the tool out.
  5. 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.

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.

FAQ

Is Matomo exempt from consent?

In France it can be, if it is configured to meet all of the CNIL’s conditions: anonymous statistics for your own use, no cross-referencing, no tracking across sites. Since July 2025 the CNIL no longer names tools and points to a self-assessment tool instead. Elsewhere in the EU, check whether your regulator allows an analytics exemption at all.

Can Google Analytics be exempt?

Not in its usual configuration: Google uses the data for its own purposes and combines it with other services, which rules out the exemption. Google Analytics has to wait for the visitor’s consent.

Do I have to mention exempt cookies anywhere?

The ePrivacy rules do not require it, but regulators recommend it, usually in the cookie policy. And if these trackers process personal data, the GDPR’s transparency rules apply.

Does this apply to your site?

Paste its address: Nodbar visits it like a first-time visitor, records what fires before consent and prepares a compliant banner. Free, no sign-up needed for the scan.