Guide

How cookieless analytics works

A web analytics tool can count visitors without cookies. This page shows how Checkend does it, and how other tools do it, with a source for each fact.

Checkend makes this page. We sell cookieless analytics.

What "cookieless" means

A cookieless analytics script sets no cookies. It also stores nothing else in the browser for analytics: no localStorage, no sessionStorage and no other browser storage. The script sends an event to the server, and the server does the counting.

What the tool must still do

Without cookies, the tool must still give you the usual numbers:

  • Visitors: how many different people came.
  • Visits: how many times they came.
  • Bounce rate: the share of visits that bounce.
  • Visit duration: how long a visit lasts.

The web analytics glossary explains how Checkend counts each of these.

A cookie gives each browser an identifier that stays for months or years. Without it, the tool must find another way to know that two events come from the same visitor. There is a trade-off: a tool cannot recognize the same person on a later day unless it keeps an identifier for that long.

How Checkend counts

  1. Inputs A random daily salt, the site, the IP address and the user agent.
  2. Hash Checkend makes a SHA-256 hash of the inputs.
  3. Visitor number Checkend keeps a part of the hash.
  4. Event The event stores the visitor number. It does not store the IP address or the user agent text.

Checkend makes a SHA-256 hash of a random daily salt, the site, the IP address and the user agent, and keeps a part of it. Checkend keeps the salts of today and yesterday. It is designed to delete older salts.

The script sets no cookies and stores nothing in the browser.

This design has effects on the numbers:

  • A visitor gets a new number each day.
  • A visit ends after 30 minutes without an event.
  • A person who returns on three days counts as three visitors in a longer period, because the visitor number changes each day.
  • A funnel counts each visitor one time, with the steps in order and within 7 days. The visitor number changes each day, so a funnel does not follow a person across days.

Read What an event holds for the full list of stored data, and Read the dashboard for each metric.

How other tools do it

Each fact about another tool links to that tool's own site. The name of each tool links to our detailed comparison. The tools are in alphabetical order after Checkend.

Tool How it counts visitors How long it knows a visitor Stores in the browser
Checkend A SHA-256 hash of a random daily salt, the site, the IP address and the user agent. Docs A visitor gets a new number each day. Docs Sets no cookies and stores nothing in the browser. Docs
Cloudflare Web Analytics No unique visitor count. A visit is a page view that came from another website or a direct link. Source Cloudflare says that it does not fingerprint individuals via their IP address, User Agent string or any other data. Source Cloudflare says that it uses no client-side state, such as cookies or localStorage, to collect usage metrics. Source
Fathom A SHA-256 signature from the request, the site and a daily salt that rotates at midnight UTC. Source A visitor who returns the next day counts two times. Source, source Fathom says that its analytics use no cookies or similar technologies. Source
Google Analytics 4 The _ga cookie distinguishes users for up to 2 years. Source 2 years by default. Source Sets _ga, to distinguish users, and _ga_<container-id>, to keep the session state. Both expire after 2 years by default. Source
Matomo The visitor ID in _pk_id. Without cookies, a config_id hash, matched for 30 minutes. Source With cookies: a visitor ID in _pk_id, so a returning visitor is known for up to 13 months. Without cookies: matched for 30 minutes by default. Source Cloud and On-Premise: the default tracking code sets first-party cookies, _pk_id for 13 months, _pk_ses for 30 minutes and _pk_ref for 6 months. Source. You can turn them off for one site with disableCookies, or for all sites from Matomo 5. Source, source
Pirsch A hash of the IP address, the User-Agent header, the date and a salt for each site. Pirsch calls this technique fingerprinting. Source A visitor counts once within a 24 hour window. Source Pirsch says that it does not use cookies. Source
Plausible A hash of a daily salt, the domain, the IP address and the user agent. Source The salt is rotated and deleted every 24 hours. Source No cookies. Plausible says the script writes nothing to local storage or the browser cache. Source
Simple Analytics "Visitors" are unique pageviews. A pageview counts as unique when it has no referrer or a referrer from another site. Source No identifier of a person. Source None, and no storage of any kind. Source
Umami A hash of the website ID, the IP address, the user agent and a salt. Source The salt rotates monthly by default. Source. umami.identify() sets a distinct ID that links the sessions of one user across visits and devices. Source The web tracker does not use cookies. Source

Notes

We checked each fact on 2026-11-23. A longer identifier lets a tool count a returning person as one visitor over more days. A shorter one counts the same person again on each new day. See all nine tools on more topics in the comparison table.

A script without cookies does not answer the question of consent. Whether you need consent depends on your site and your law. Ask your lawyer.

This page describes the design of Checkend. It is not legal advice. You are responsible for the privacy notice and the consent rules of your sites.

Questions

Does cookieless analytics count returning visitors?

It depends on how long the tool keeps its identifier. Checkend gives a visitor a new number each day, so it knows a returning visitor only within the same day. A person who returns on three days counts as three visitors in a longer period. Umami uses a salt that rotates monthly by default. Google Analytics 4 uses the _ga cookie, which lasts 2 years by default.

Will the numbers match Google Analytics?

No. Expect different numbers. Google Analytics distinguishes users with the _ga cookie, which lasts 2 years by default. Checkend gives a visitor a new number each day. Google Analytics can also withhold rows in reports with demographic or search query data when there are not enough users.

Does Checkend count pages in a single-page app?

Yes. The script counts a pageview also when a single-page app changes the path. A change of only the query or the # part of an address is not a new pageview. See Install the analytics script.

What does Checkend store about a visit?

The time, the page, the referrer without its query, campaign tags, the country, region and city, the device, browser and operating system, event properties, and a visitor number and a visit number. It does not store the IP address or the user agent text. See What an event holds.

If a tool sets no cookies, do I need consent?

Whether you need consent depends on your site and your law. Ask your lawyer. This page describes the design of Checkend. It is not legal advice.

Try Checkend on your site.

No card.