Skip to content
Privacy and compliance

What is cookieless tracking?

3 min read · Updated · By the Reveata team

Short answerCookieless tracking is website measurement that stores nothing in the visitor's browser: no cookies, no local storage. Visits are counted from what each request already carries, usually combined into a short-lived anonymous id on the server.

A white plate with a brown rim on a white surface
Photo by John Vid on Unsplash

Classic analytics puts a random id in a cookie and reads it back on every page, which is how it knows a visitor is returning. Cookieless tracking gives that up. The question it has to answer instead is: how do you tell two visitors apart, and keep one visitor's pages together, without remembering anything on their device?

Common approaches

Approach How it identifies a visit Trade-off
No identity at all Each pageview stands alone No visitor or session counts
Daily rotating hash A hash of the IP address, user agent, site and a salt that changes every day Returning visitors look new on another day
Fingerprinting Many device signals combined into a long-lived id Raises the privacy problems cookieless was meant to avoid
Server-side ids after sign-in Your own user id Only covers signed-in people

Privacy-focused tools generally choose the daily rotating hash, because it is deliberately forgetful.

How Reveata's cookieless mode works

Turn on Cookieless in Settings → General (the snippet then carries data-cookieless="true"), or load /js/script.cookieless.js, a build of the script with no cookie code at all. Then:

  1. Nothing is stored in the visitor's browser.
  2. The server computes a visitor id from a hash of a random daily salt, your website, the IP address and the user agent.
  3. Each salt is deleted shortly after its day ends. After that, nobody, Reveata included, can work out which IP address or browser produced a hash.
  4. The IP address itself is never stored.

Because the website is part of the hash, the same person gets different ids on different sites.

What you keep and what you lose

You keep pageviews, sessions, sources, campaigns, pages, countries, devices, and goals and funnels within a day. You lose:

  • Returning visitors across days. A person who comes back tomorrow counts as new.
  • The visitor id in the browser. reveata.visitorId() returns null, so payments are linked with identify or by email instead of through checkout metadata.
  • Cross-domain linking. There is no id to carry to your other domains.

Subdomains still join up within a day, because the derived id is the same on every subdomain (Track subdomains). The guide Cookieless analytics, explained goes deeper on when the trade-off is worth it.

Storing nothing on the device removes the most common trigger for the EU consent rule. It does not settle every question: the European Data Protection Board's guidelines on the ePrivacy Directive read the rule as covering more than cookies, and the GDPR still applies to whatever personal data you process. Reveata's docs say to check your obligations with your legal adviser, and that is the honest answer here too.

Frequently asked questions

Is cookieless tracking less accurate?

It counts visits and sessions well. It overcounts unique visitors over periods longer than a day, because returning people look new. Two people behind one network address with identical browsers can also be counted as one on the same day.

Can I switch between cookie and cookieless mode later?

Yes, it is a setting. Expect a break in returning-visitor numbers from the day you switch, and update your privacy notice to describe the mode you use.

Does cookieless mode affect revenue attribution?

Attribution still works, but the link between a payment and a visit comes from identify calls or the customer's email rather than a visitor id passed into the checkout. Set up identify for signed-in users to keep matches strong.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?
GlossaryWhat is a first-party cookie?A first-party cookie is a small piece of data stored by the website shown in the address bar, on that site's own domain. Only that site can read it, which is why it is used for sign-in sessions, shopping baskets and first-party analytics.GlossaryWhat is browser fingerprinting?Browser fingerprinting is a way of recognising a browser by combining many details it reveals, such as its user agent, screen size, fonts, time zone, language and graphics hardware, into an identifier that stays stable without storing anything on the device.GlossaryWhat is privacy-friendly analytics?Privacy-friendly analytics is website measurement designed to collect the least personal data needed: no cross-site tracking, no advertising profiles, no stored IP addresses, and often no cookies, while still showing traffic, sources, pages and conversions.GlossaryWhat is a cookie banner?A cookie banner is the pop-up or bar a website shows to tell visitors which cookies and similar technologies it uses and to collect their choice, so that non-essential cookies are only set after the visitor agrees.GlossaryWhat is a data controller?A data controller is the organisation that decides why and how personal data is processed. A data processor is a separate organisation that processes the data on the controller's behalf and only on its instructions, such as an analytics or email provider.GlossaryWhat is a data processing agreement (DPA)?A data processing agreement (DPA) is the contract in which a company that processes personal data for you, such as an analytics or email provider, commits to handling it only on your instructions and with proper safeguards. The GDPR requires one whenever a processor handles personal data for a controller.