This guide gives an overview; it is no substitute for legal advice tailored to your situation.

The applicable rules

This guide describes French and European law. The CNIL, France’s data protection authority, sets out how these rules apply to websites aimed at visitors in France; the GDPR and the ePrivacy Directive apply across the whole European Union.

In France, placing and reading cookies and other trackers is governed by Article 82 of the French Data Protection Act (loi Informatique et Libertés), which transposes the European ePrivacy Directive. The principle is simple: a tracker that is not strictly necessary for the service requested may only be placed once the user has given consent.

That consent must meet the GDPR definition: freely given, specific, informed and unambiguous. The CNIL spelled out what this means in practice in its guidelines and its recommendation of 17 September 2020, which it has enforced since April 2021.

Cookies that do not require consent

Some trackers are exempt, because the site cannot work without them:

  • the shopping basket and the login session;
  • security (fraud prevention, load balancing);
  • remembering the choice made in the banner itself;
  • certain audience measurement tools, if they are configured according to the CNIL’s conditions: a purpose strictly limited to measurement, data neither combined with other data nor passed on to third parties, and a tracker lifetime of no more than 13 months.

Everything else (advertising, social networks, embedded videos, most analytics tools) requires prior consent. These trackers must stay blocked until the visitor has accepted.

What the banner must do

Inform clearly

Before choosing, the visitor must know what the trackers are for (the purposes), who places them (the services and partners) and what their choice will mean. A detailed list can sit at the second level, in the preference centre.

Refusing as easily as accepting

This is the point most often checked. If an “Accept all” button appears at the first level, a “Reject all” button must appear there too, just as visibly. Refusing must not take more clicks than accepting. A simple “Continue without accepting” link can complement this, provided it is clearly visible.

No forced consent

  • no pre-ticked boxes;
  • continuing to browse does not count as consent;
  • a separate choice must be possible for each purpose;
  • no colours or wording that steer the choice.

Being able to change one’s mind

Withdrawing consent must be as easy as giving it, at any time. In practice: a permanent button or link, present on every page, that reopens the preferences.

How long to keep the choice

The CNIL recommends keeping the visitor’s choice, whether acceptance or refusal, for six months before asking again. A refusal must be remembered so that the banner does not reappear on every page. For exempt audience measurement tools, the tracker lifetime is limited to 13 months.

Consent must also be requested again when the purposes change, for example if you add a new advertising tool.

Proving consent

The GDPR (Article 7) requires the controller to be able to demonstrate that the person consented. During an inspection, you must be able to show how consent was collected, when, and on which version of the information. A timestamped record of choices, with the version of the banner, meets this requirement, provided the data kept is minimised.

Google Consent Mode v2

For visitors in the European Economic Area, Google asks advertisers to pass consent on to its tags through Consent Mode, in its version 2 since March 2024. Four signals are involved: ad_storage, analytics_storage, ad_user_data and ad_personalization.

Without these signals, Google Ads measurement and targeting features (audiences, remarketing, conversions) are degraded for European traffic. The banner must therefore send a default state before Google tags load, then update it once the visitor has chosen.

Penalties

Cookies have been among the CNIL’s inspection priorities for several years. Notable decisions include:

  • December 2021: €150 million for Google and €60 million for Facebook, for making it harder to refuse cookies than to accept them;
  • October 2026: €7 million for Fnac Darty Participations et Services and Fnac Direct, for trackers used without consent.

The CNIL also has a simplified procedure to penalise the most common breaches more quickly. Its inspections can be triggered by a complaint from a user or an association.

The checklist

  • No non-essential tracker before the visitor has chosen
  • “Reject all” as visible as “Accept all”
  • No pre-ticked boxes, one choice per purpose
  • Purposes and services clearly listed
  • Link to the privacy policy
  • Preferences available at any time
  • Choice kept for six months, refusals included
  • A record of consent proofs
  • Google Consent Mode v2 if you use Google Ads or Analytics

Optooki applies these rules by default and checks your setup in the dashboard. See how.

Sources

The CNIL pages below are in French.

A compliant banner, without spending all day on it.

Optooki applies these rules by default. Free for one site, no credit card required.