Skip to content
PeekWellThe Casebook
Join now

Session replay and consent: what the CNIL's new recommendation asks of your site

In a projection booth at night, Peeky has stopped an old film projector with one mitten and peers through his magnifying glass at the film strip, where some frames are blacked out, while the screen shows dotted footprints and a cursor crossing a simple shop page.

You probably switched it on to see why people abandon the checkout, or why a button that works on your laptop does nothing on someone’s phone. Session replay tools record what visitors do on a page, the taps, scrolls, clicks and sometimes the typing, and play it back like a video. On 5 November 2026 France’s data protection authority, the CNIL, published its final recommendation on them. Because these tools work with trackers, they need the visitor’s consent before they start, and no exemption applies. The banner’s first screen should say session replay is used, and forms, chat and anything you don’t need should be masked. It’s French guidance, but it reads the same EU cookie rule every EU regulator applies.

Nearly every page that ranks for session replay is a vendor explaining how to watch your visitors. This one is about what a regulator just said about doing it, from the CNIL’s own French text (the translations are mine). You’ll see why “it’s only for bug fixing” didn’t survive, what the CNIL suggests your banner say, how it wants recordings masked and kept, and how to tell whether your replay script waits for the click.

What session replay is

The CNIL’s reasoning hangs on what the tool does. Its news page describes session replay as a way for a site or app owner to record every interaction a visitor makes: mouse movements, taps, clicks, scrolling and, in some cases, what’s typed into forms. The owner then watches those interactions as a video. Vendors also call it session recording, and a website session recording is the same thing under another label.

Usually nothing is filmed. The recommendation says replays are rebuilt either from interaction data or from recordings of sessions: a script writes down what happens and the tool redraws the page around those notes. Either way you get one person’s visit, step by step.

The CNIL names three reasons sites use it: finding and fixing technical errors, improving the experience by spotting frustrated or false clicks, and helping a customer who contacts support because an order wouldn’t go through. Those are honest jobs, so it’s fair to ask why a regulator got involved at all.

What the CNIL decided on 5 November

The CNIL’s answer is that these tools can lead to constant monitoring that reveals a lot about someone’s private life, and to collecting far more than the purpose needs. The text is Délibération n° 2026-114, adopted on 8 October 2026 and published on 5 November, after a public consultation that opened on 25 February 2026. It speaks to the providers who build replay tools and to the sites and apps that install them.

The legal hook is a familiar one. Replay tools rely on trackers that read and write information on the visitor’s device, so Article 82 of France’s data protection act applies. That’s France’s version of Article 5(3) of the ePrivacy Directive, which allows storing or reading information on a device only with consent, apart from two narrow cases: carrying a communication, or what’s strictly necessary for a service the user asked for. The CNIL says replay needs prior consent, because aucune exemption prévue par cet article n’est applicable (my translation: none of the exemptions in that article applies).

One respondent to the consultation argued that replay for catching failures, or for security, is needed to run the service. The CNIL’s reply in the consultation summary is the sentence I’d pin above any analytics dashboard: La condition de nécessité doit être appréciée en fonction du service demandé par l’utilisateur et non pas en fonction de l’utilité de l’outil pour l’éditeur. (My translation: necessity is judged by the service the user asked for, not by how useful the tool is to the publisher.)

The text itself says it ne présente pas de caractère règlementaire (my translation: has no regulatory force), so it’s guidance rather than a new law. It still matters, because it shows how the CNIL reads Article 82, the rule it fines under. In September 2025 it fined SHEIN’s Irish subsidiary €150 million after finding advertising cookies placed as soon as visitors arrived, and new ones still set after Refuse all. In October 2026 two Fnac companies were fined €7 million over an app tracker that ran without consent, the CNIL citing its constant and well-established line on trackers. Replay sits on the same rule.

If replay needs a yes, what does asking look like? Timing comes first. Consent comes before the script reads or writes anything, so the replay code shouldn’t load at all until the visitor has agreed to that purpose. The CNIL says your existing consent tool can collect it, though it may need updating.

Wording comes next, and here the text gets concrete. Each purpose should sit on the banner’s first layer as a short title, with a fuller description on the second layer, and the CNIL drafted the titles itself. For bug fixing it suggests: [Nom de l’éditeur] enregistre et visualise vos actions pendant votre navigation pour résoudre d’éventuels problèmes techniques. (My translation: “[Your company] records and views your actions while you browse, to solve possible technical problems.”) It gives matching lines for improving navigation and for support.

On top of the purposes, the CNIL now wants a separate, short, explicit mention on that same first screen that session replay is used, with a longer explanation easy to reach. The draft called this good practice; the news page says the final version recommends it. People know little about these tools, the CNIL says, and a banner that just says “analytics” doesn’t tell them they’re being recorded.

After a no, the CNIL’s page for the public says people must be able to refuse and withdraw as simply as they were asked, for example through the same interface. And withdrawing has to work: les opérations de lecture et d’écriture ne peuvent plus intervenir postérieurement au retrait du consentement de l’utilisateur (my translation: reading and writing can no longer take place after the user withdraws). Recordings already made should be deleted if nothing else justifies keeping them, and your provider told to do the same. The Commission’s Digital Fairness Act proposal would add a consumer-law rule against making a no harder than a yes, so that pressure comes from two sides.

Masking, purposes and the rest of the recommendation

A yes still leaves limits, and most of the recommendation is about what happens to the visits you’re allowed to record. Purpose comes first. Your reasons have to be fixed before the tool is deployed: Elles ne peuvent pas être déterminées postérieurement à la collecte des données (my translation: they can’t be decided after the data is collected). Recording everything and working out later what it was for is off the table. If a lighter tool does the job, the CNIL wants you to use that, and it says replay shouldn’t be used for ad retargeting at all.

Masking is the heart of it. Providers should always offer a masking tool that can hide images, forms, text fields, fields filled in automatically such as account details, mouse movements and clicks on on-screen keypads, and the content of chatbot conversations. The CNIL also sets the default: En cas d’absence de configuration, le masquage devrait par défaut s’appliquer à toutes les catégories envisagées (my translation: if nothing is configured, masking should apply to every category by default). The keypad and chat items arrived after the consultation, the first to avoid catching authentication codes typed on screen, the second because chat can reveal sensitive information. Tools should also be able to keep passwords and bank details out entirely.

The CNIL also wants fewer recordings: random sampling, recording only when something like an error happens, or quickly deleting sessions that show nothing useful. For bug fixing and UX, the annex sees no reason to tie a session to a user ID at all, and it sets retention by purpose:

Purpose Retention the CNIL suggests Linking a session to a user
Finding and fixing technical errors A few months, limited to problems on the current version of the site Not justified
Improving the user experience A few months, limited to problems on the current version of the site Not needed
Support for a customer’s request A few hours after the session ends, with the reason written down Needed; check with the customer before unmasking anything

Roles round it off. You’re normally the controller and the provider your processor, unless it reuses recordings for its own ends, such as improving its product, with your agreement. In that case it’s a controller for that and a joint controller with you for the tracking itself.

Does this apply outside France?

Does one regulator’s text reach a site in Dublin, Leeds or Austin? In the EU it mostly does, because the rule the CNIL is reading is Article 5(3) of the ePrivacy Directive, the same one every EU regulator applies to cookies, and the recommendation’s scope covers providers and sites handling data of people in the EU. Cookie rules also sit outside the GDPR’s one-stop shop, so the CNIL can act directly over trackers on devices in France, as it did with SHEIN, an Irish company with a French establishment. I’d be surprised to see another EU regulator call replay strictly necessary.

The UK has its own rule, regulation 6 of PECR, and since 5 February 2026 an exception for statistics about how a site is used. Replay doesn’t fit it. The ICO says that exception does not allow you to monitor or track individual visitors, and among the things that need consent it lists logs or recordings of individual visitors to your website and the actions they took (if not obtained for the purposes of security) (ICO). That’s session replay with the brand name left off.

The US has no consent rule like this, but replay has drawn lawsuits under state wiretap laws, including a Ninth Circuit case over Microsoft’s tool. The CIPA lawsuit and pixel tracking lawsuit posts cover them.

That leaves the tool in your own tag manager. Hotjar, Microsoft Clarity, Contentsquare, FullStory, Mouseflow, Smartlook, LogRocket, Lucky Orange and PostHog all do the same core thing, so the CNIL’s text applies to each. Search for hotjar gdpr or microsoft clarity gdpr and you’ll mostly find vendor pages, but the answer doesn’t change with the brand.

Most of these tools ship masking and some way to wait for consent. Microsoft’s documentation, for one, says Clarity masks input boxes in every mode and lets you mask more by CSS selector or an HTML attribute. Microsoft also says that since 31 October 2025 Clarity expects a consent signal for visits from the EEA, the UK and Switzerland, and without one runs in a “no-consent mode” with no cookies and a new ID per page view. The CNIL’s recommendation doesn’t say whether a tool that keeps running without cookies meets Article 82. The set-up it clearly expects, and the one a visitor expects after Reject, is a script that doesn’t load until there’s a yes:

  1. Take the replay snippet out of your page template or your tag manager’s “all pages” trigger.
  2. Load it only from your banner’s yes for the replay purpose, as in the sketch below.
  3. Set masking to the strictest mode, then unmask only what one stated purpose needs, keeping chat, keypads and account fields masked.
  4. Set retention to match that purpose, and turn on sampling or event-triggered recording if the tool has it.
// Replay loads only after the visitor says yes to it.
function loadReplay() {
  var s = document.createElement('script');
  s.src = 'https://replay-vendor.example/snippet.js'; // your vendor's snippet URL
  s.async = true;
  document.head.appendChild(s);
}
// Call loadReplay() from your consent banner's callback when the replay
// purpose is accepted. Don't call it on Reject or before any choice.
// On withdrawal, stop the tool and delete its cookies and storage.

To have an assistant do the inventory, paste this into Claude or another assistant along with your page source or tag manager export:

I'm sending you the HTML source of my website's pages (and my tag manager
export, if I have one). List every script that records sessions, plays back
visits, captures heatmaps or logs mouse movements, clicks or keystrokes.
For each one, tell me:
1. The tool's name and the file or tag that loads it.
2. Whether it loads before the cookie banner's Accept, or only after it.
3. Whether anything in the code masks form fields, chat widgets or keypads.
4. What I would need to change so it loads only after the visitor accepts a
   purpose that names session replay, and stops after they withdraw.
Don't guess: if something isn't visible in what I sent, say so.

What to do now

So is your replay script a problem? It is if it starts with the page, before anyone answers the banner. Here’s how I’d apply the CNIL’s text to an ordinary site, as my reading and not legal advice.

Tell people on the first screen. If replay runs on your site, the banner should say so in words like “records your actions while you browse”, and the script should wait for their yes. A replay tool listed only under “analytics” on the second layer falls short of what the CNIL now asks.

Start fully masked. Unmask only what a stated purpose needs, and keep chat, keypads and account fields hidden whatever else you change.

Pick your reason before you watch anything, and let it set how long you keep recordings. Bug hunting gets a few months; support gets a few hours.

Check your own site

You can see most of this in ten minutes with a phone and a laptop.

  1. On your phone, open a private tab and load your home page without touching the banner. Read its first screen: does it mention session replay or recording at all?
  2. On a laptop, open a private window and the developer tools on the Network tab, then load the page without touching the banner. Filter for your replay tool’s name (hotjar, clarity, contentsquare). Anything that shows up loaded before a choice.
  3. Clear the site’s data, reload, press Reject and click around. The replay requests should be gone.
  4. Accept, browse a page with a form, then reopen your cookie settings and withdraw. Reload and check that the replay requests stop.
  5. Open your cookie policy and look for the replay tool by name, with its purpose and how long recordings are kept.

Those steps match three checks in PeekWell’s handbook. EU-01 covers trackers that run before consent, and Peeky looks at what loads before a choice is made. EU-24 covers the cookie declaration, and Peeky compares what your policy lists with what he saw load. EU-20 covers withdrawing consent, and Peeky checks there’s a way back to the choice and that tracking stops after it. In the UK the matching check is UK-01, and there are more than ten checks for each jurisdiction.

You turned replay on to see what your visitors see. The first screen of your banner is where they get to see it too.

Questions people ask

What is session replay?

Session replay is a tool that records what visitors do on a website or app: mouse movements, taps, clicks, scrolling and, in some cases, what they type into forms. The visit can then be watched back like a video. France's CNIL describes it that way in its November 2026 recommendation. Site owners use it to find bugs, see where people get stuck and help customers who contact support.

Is session replay legal under GDPR?

It can be, with a yes first and limits after. The tool reads and writes on the visitor's device, so the EU's ePrivacy rule applies before the GDPR does, and France's CNIL says no exemption applies to it. That means consent before it runs. The recordings then fall under the GDPR, which is why the CNIL also asks for purposes set in advance, masking and short retention.

Do I need cookie consent for Hotjar or Microsoft Clarity?

For the replay part, the CNIL's answer doesn't depend on the brand: session replay tools need prior consent. In the UK, the ICO lists recordings of individual visitors and their actions among the things that need consent unless they're for security. Microsoft's own documentation says Clarity has required a consent signal for visits from the EEA, the UK and Switzerland since 31 October 2025.

Is session recording the same as session replay?

For practical purposes, yes. Vendors use both names for a script that captures what happens on a page so someone can watch the visit afterwards. The CNIL's recommendation notes that replays are rebuilt either from interaction data or from recordings of sessions, and it gives the same advice for both. Whatever your tool calls it, the consent and masking questions are the same.

Does the CNIL recommendation apply outside France?

The text is the CNIL's, so strictly it tells you how one regulator reads the rules. But the rule underneath is Article 5(3) of the ePrivacy Directive, which applies across the EU, and the CNIL says its recommendation covers providers and site owners handling data of people in the EU. In the UK, the ICO's guidance lands in a similar place for recordings of individual visitors.

Filed with