Unique visitors is usually the first number on an analytics dashboard, and the one people quote first when they describe how a month went. It sounds simple, but every tool has to decide what "one person" means, and that decision changes the number.
How unique visitors are counted
An analytics tool never sees a person. It sees a browser. To recognise the same browser on a later visit it needs an identifier that survives between page loads:
- A first-party cookie holds a random id. The same browser keeps the same id until the cookie expires or is cleared.
- A daily hash (cookieless tracking) combines a secret salt that changes every day with the visitor's IP address and browser details. The same browser looks the same within a day and new the next day.
- A user id you send after sign-in recognises one person across devices.
Each approach gives a slightly different total. Cookies count one person on a phone and a laptop as two visitors. A daily hash counts someone who comes back tomorrow as a new visitor.
Unique visitors, sessions and pageviews
| Metric | Counts | One person reading 3 pages on Monday and 2 on Tuesday |
|---|---|---|
| Unique visitors | Different browsers | 1 (with a cookie) |
| Sessions | Visits | 2 |
| Pageviews | Pages loaded | 5 |
The example uses made-up numbers to show the relationship: visitors is always the smallest of the three.
How Reveata counts unique visitors
In Reveata a visitor is one browser. By default the script keeps the same visitor id in a first-party cookie for up to 400 days. In cookieless mode a daily-rotating hash is used instead, so a visitor lasts one day. Calling identify after sign-in names the visitor and links their payments.
Bot hits are stored separately and are never counted as visitors. The All websites view adds each website's unique visitors together, so someone who visits two of your sites counts once on each.
Common mistakes
- Adding up daily visitors. Unique visitors are not additive. If 100 visitors came on Monday and 100 on Tuesday, the two-day total can be anything from 100 to 200, depending on how many came both days.
- Comparing tools that count differently. A cookie-based tool and a cookieless tool will disagree over longer periods. Neither is wrong; they define a visitor differently.
- Treating visitors as people. Shared computers, private windows and cleared cookies all bend the number. Look at trends, not single values.