# Cookieless tracking

Also called: cookieless analytics, cookie-free analytics

Cookieless tracking is web analytics that counts visitors without storing a cookie or any other identifier on their device. Visitors are recognised for a short time from information the browser sends anyway, so no long-lived profile of a person is built.

## How it is calculated

Instead of reading an id from a cookie, the server derives one for each request. A common method hashes the site, the visitor's IP address, the user agent and a secret salt that changes every day. Requests with the same hash on the same day are the same visitor.

The trade is precision for privacy. Unique visitors per day are accurate, but a person who returns next week cannot be recognised, so multi-day uniques and long attribution paths are approximate.

## Example

A visitor reads three pages on Monday and two on Thursday. A cookie-based tool reports one visitor with two sessions for the week. A cookieless tool with a daily rotating hash reports one visitor on Monday and one on Thursday, and has no way to know they are the same person.

## Common mistakes

- Assuming cookieless means no consent is ever needed. That depends on what is collected and on the law where your visitors are. Check with a lawyer.
- Calling fingerprinting cookieless and stopping there. Building a stable id from device details follows people just as a cookie does.
- Expecting returning-visitor counts to match a cookie-based tool.

## How CrispStats shows it

CrispStats sets no cookies and writes nothing to the visitor's device by default. A visitor is recognised for one day through a salted hash computed at the edge. The IP address and user agent are used for that calculation and discarded: neither is stored. An opt-in persistent mode keeps an id in localStorage for sites that want returning visitors across days, and should only be used with consent.

## Related terms

- [Visitor hash](/glossary/visitor-hash)
- [Cookie consent](/glossary/cookie-consent)
- [Unique visitor](/glossary/unique-visitor)
- [Session](/glossary/session)
