Skip to content

Privacy and retention

To measure without a consent banner, under the CNIL's exemption, see Without a consent banner.

What is recorded

  • The tracker sets no cookie. It stores nothing on tracked sites, except the objection of a visitor who opts out, in localStorage.
  • No IP address is stored. A visit is recognised by a hash of the IP address, the browser's user agent, the project and a random salt that changes every day. Salts are deleted after two days, after which the hashes can't be linked to anyone.
  • Of a page's address, only the path and the standard UTM parameters (utm_source, utm_medium, utm_campaign, utm_term, utm_content) are stored: other parameters can contain an email, a token or a search, and are dropped. Referrers are stored without their query string.
  • Visitors who opt out, with the switch on the site's privacy page, are not recorded.
  • Visitors sending Do Not Track or Global Privacy Control are not recorded (a project setting, on by default).
  • Visits from the project's ignored IP networks (your office, say) are not recorded.

How long data is kept

Once a day, with the first hit of the day, the server deletes:

  • visits left out of the reports, after EXCLUDED_RETENTION_DAYS (30 days by default);
  • a project's visits older than its Keep visits for setting, when one is set (by default, everything is kept);
  • unclaimed hostnames that sent no hit for 30 days.

abilian-analytics purge does the same on demand, for instance right after shortening a project's retention.