Matomo CNIL Exemption: Setup and E-commerce

Matomo without consent in France: the CNIL compliance mode setting by setting, what it restricts, and why e-commerce tracking is the point to decide.

Matomo is not exempt, a configuration is

The French data protection authority (CNIL) provides a consent exemption for audience measurement, but since July 4, 2025 it no longer validates tools or publishes a list. The publisher, with its provider, checks its own configuration against the CNIL self-assessment grid. Writing that Matomo is “CNIL-certified” is not accurate, and the CNIL says so explicitly. This is the configuration I set up in Matomo deployment work.

What the CNIL grid requires

  • a purpose strictly limited to audience measurement for the publisher only; all marketing measurement is excluded (conversion channels, ad campaigns, acquisition channels);
  • at most three event types: presence on a page, use of a feature (button or link click), and load time, scroll or time spent;
  • no import of external data (CRM ID, UTM or campaign identifiers in URLs), referrer limited to the host, no third-party integrations;
  • first-party cookie, IP used for city-level location at most then truncated;
  • anonymous reports, aggregated and rounded to the nearest ten; no session replay;
  • an opt-out button or link in the privacy policy, with an opt-out cookie.

The CNIL also recommends informing users, trackers lasting 13 months at most without automatic extension, and data kept 25 months at most. Do Not Track is not required by the grid; opt-out is.

Matomo’s CNIL compliance mode

Matomo’s guide (version 3.0, October 2026) describes a page under Administration > Privacy > Compliance. Pick the site, click Enforce All Settings, then Save. According to Matomo’s self-assessment table, the mode enforces: IP masking on at least 2 bytes, PII filtering and no User ID, major browser and OS versions only, visits log and visitor profiles disabled, segmented counts rounded to the nearest 10, referrer reduced to host or type, utm_ and mtm_ campaign parameters discarded, advertising conversion export disabled, A/B tests, heatmaps and session recordings disabled, raw data kept 744 days.

Two lines stay manual: third-party cookies (no cross-domain tracking) and the opt-out interface. Matomo also reminds you that custom goals and events must fall within the three allowed categories, and that no personal identifier may be sent, even in custom dimensions.

E-commerce tracking: three sources, three answers

SourceWhat it says about e-commerce
CNIL grid, July 2025does not mention e-commerce; excludes conversion-channel measurement and limits collection to three event types, none of which is an order
Former Matomo guide published on cnil.fr (old programme, undated)do not use e-commerce tracking, otherwise consent is needed
Matomo guide, October 2026e-commerce stays in a restricted mode (order ID anonymised, segments removed, totals kept); fully disabling it is “optional but recommended”

My cautious reading: disable e-commerce in the exempt configuration, and measure sales either from the back office or with consent-based tracking. This is my reading, not a CNIL position: validate it with your DPO. Matomo also notes a side effect of the restricted mode: with anonymised order IDs, a refresh of the confirmation page can count an order twice.

Sources

Ron Kopelman

Need help with this topic?

I can help you implement or optimize your tracking setup.