How visitors are identified
Cookies, stored identifiers, and how the tracking strength setting changes them.
InsightFlare does not use cookies and does not store raw IP addresses with visit data. The only IP addresses it records belong to requests that were classified as bots and blocked. This page describes what actually happens, so you can base your privacy policy on it.
No cookies from the tracker
The tracker script does not set or read cookies. (The dashboard itself uses a sign-in session cookie and a language preference cookie, but those are for people who sign in to your instance, not for your website's visitors.)
Two ways a visitor is identified
1. A random identifier in localStorage
In the default, high-precision mode the script creates a random UUID the first time it runs and stores it in the browser's localStorage under a key that includes your site ID (__insightflare_visitor_<siteId>__). It is sent with every event, so returning visits from the same browser are recognized as the same visitor. Clearing site data, or calling window.insightflare.reset(), creates a new one.
2. A server-derived identifier
In reduced-precision modes the script stores nothing and sends no visitor ID. The server derives one by hashing the visitor's IP address and User-Agent together with a daily salt. The salt is derived from MAIN_SECRET and the UTC date, so the identifier changes every day and cannot be linked across days. The IP address is used only for this hash and is not stored with the visit.
The server enforces the same rule in Smart and Weak modes: when a request should be downgraded (EU visitors under Smart, every visitor under Weak), it uses this derived identifier even if the browser sent a stored ID.
Which mode applies
It depends on the site's tracking strength setting:
| Setting | EU visitor | Other visitors |
|---|---|---|
| Strong | localStorage identifier | localStorage identifier |
| Smart (default) | Server-derived daily identifier | localStorage identifier |
| Weak | Server-derived daily identifier | Server-derived daily identifier |
"EU visitor" means the request comes from a country that Cloudflare flags as an EU country. For Smart, the script served to the visitor is chosen according to that flag.
What this means for your data
- With a server-derived identifier, the same person on different days looks like different visitors. Retention, returning visitors, and cross-day visitor counts are not meaningful for those visits.
- Strong mode keeps visitors stable across days but may conflict with regulations such as GDPR in some regions. Get legal advice before choosing it.
- If you call
identify, the user ID and name you provide are stored with the visit. Do not send personal data you are not allowed to collect.
What else is stored
Location comes from Cloudflare's request metadata and is approximate (country, region, city, coordinates, ASN). Device and browser information comes from the User-Agent and browser client hints. Raw IP addresses are stored in one case only: when Analytics Engine is enabled, requests that were classified as bots and blocked have their IP recorded in the request observation dataset, so you can check whether the blocking was correct. Requests from regular visitors never have their IP recorded, and when bot blocking is turned off, bot requests are not recorded with an IP either.