# Cookieless analytics

What is cookieless analytics?

Cookieless analytics is web analytics that counts visits, visitors and pages without setting cookies or storing anything else on the visitor's device. Whether it needs the visitor's consent is a separate question, and in the EU the answer does not depend on cookies alone.

## How it works

Classic analytics puts an identifier in a cookie and reads it back on every page view, which links one visitor's pages into a session. A cookieless tool does without that stored identifier. It counts page views from the requests the site already receives, and for figures per visitor it either derives a short-lived identifier from what the request carries, such as a hash of the IP address and user agent, or leaves those figures out.

## Why it matters

In the EU, the rule on storing and reading information on a visitor's device is Article 5(3) of the ePrivacy Directive. As the European Data Protection Board (EDPB) puts it, storing information, or gaining access to information already stored, in a user's terminal equipment is only allowed with consent or when necessary for specific purposes set out in that article. The EDPB adds that the article covers similar technologies, not only cookies.

Its guidelines 2/2023, adopted in October 2024, analyse which techniques fall within that scope. They do not cover when an exemption from consent applies: the EDPB says that is analysed case by case, under each member state's law and its national authority's guidance.

## What can go wrong

- A tool drops the cookie but tracks another way. The guidelines' use cases include URL and pixel tracking, tracking based on the IP address only, and unique identifiers.
- A tool relies on what every request sends anyway. The guidelines say that collecting information through HTTP headers such as the user agent, or through the IP address when it originates from the visitor's device, can also bring Article 5(3) into play.
- "Cookieless" is read as "no consent needed". The EDPB says that the article applying does not by itself mean consent is required, and dropping cookies does not by itself take a tool outside the article.
- Unique visitor counts can run higher than a cookie-based tool would show: with an identifier that changes every day, a visitor who comes back on another day counts again.

## Check it

Open the site in a private window and watch the cookies and storage in your browser's developer tools. Ranetrace's [website analytics](/features/website-analytics) sets no cookies: it records each visit on the server and tells visitors apart only by salted one-way hashes, with a session hash of the IP address, user agent and date that changes every day and cannot be joined across sites.

Read this definition in a browser: https://ranetrace.com/glossary/cookieless-analytics
