Unique visitors

Unique visitors is the number of distinct people who visited your site in a period, each counted once no matter how many pages they viewed or how many times they came. One person who visits three times and views ten pages is 1 unique visitor, 3 visits and 10 pageviews. Tools identify people with cookies or, in cookieless analytics, with a short-lived hash.

By the Onfus teamUpdated 17 November 2026

Unique visitors

Definition
The number of distinct people who visited in a period, each counted once however many times they came.

How are unique visitors counted without cookies?

Cookieless tools combine a few request details, such as the site, the IP address and the browser's user agent, with a secret that changes every day, and hash the result. The hash is the same for one person all day and different the next, and the IP address itself isn't stored.

The trade-off: someone who returns on a different day is counted again, so unique visitors over a month can be higher than with a long-lived cookie.

Unique visitors
CountsDistinct people
One person, 3 visits, 10 pages1
Visits (sessions)
CountsSeparate stretches of activity
One person, 3 visits, 10 pages3
Pageviews
CountsEvery page loaded
One person, 3 visits, 10 pages10

Visitors, visits and pageviews

Questions about unique visitors.

Why do unique visitor counts differ between tools?

Cookie lifetimes, cookie consent, ad blockers, bot filtering and whether the tool counts a person per day or per period all differ. Compare trends within one tool rather than absolute numbers across tools.

How does Onfus handle it?

Onfus identifies a visitor with sha256(daily salt + site + IP + user agent). The salt changes every day, so no visitor can be followed across days, and raw IPs are never stored. A visit ends after 30 minutes without activity.

Are unique visitors the same as users?

Close. Users usually means signed-in or cookie-identified people; unique visitors is the anonymous equivalent.

Does Onfus count me as a visitor?

Visits from localhost are ignored, and visiting your site with #onfus-ignore once excludes that browser.

Know what to fix by tomorrow.

Paste one line and start tracking in a minute. See where visitors drop off and what to fix. Free for 14 days, no cookie banner.