How visitors are counted without cookies
The stats set no cookies and never store IP addresses, so visitors cannot be identified from them. The data stays in your own Cloudflare account, in the EU if you chose that. This section covers what is recorded, how long it is kept and what is left out.
While a visit is counted, the visitor’s IP address and browser string are hashed (SHA-256) together with a random salt that changes every day and is different for each website. The hash becomes an anonymous visitor id; the address and browser string are then discarded. The IP address is also used once to find the country, region and city.
So by default, the same person is a new visitor the next day and on every other website. Two settings change that, per website, and a privacy policy should say so when they are on:
- Recognize returning visitors (Site settings › Extra features) keeps the anonymous id from one day to the next. Still no cookies.
- The
identify()call, which a website uses to name signed-in users by an id of its own (Extra features › Sessions and people).
Feature flags keep a random id in the browser’s local storage, so a visitor keeps their version of a test.
Was this helpful?
Thanks for your feedback!
✓ Feedback received. Thank you!



