Skip to content
Guide · Privacy

How cookieless analytics works

Cookieless analytics counts visits without storing an identifier in the visitor's browser. Instead, the server derives a short-lived ID from details every request already carries, which keeps the counts useful for a day and makes them useless for following a person over weeks.

Updated · 7 min read

The problem cookies solve for analytics

Every analytics tool has to answer one question on each page view: is this the same visitor as before? Without an answer, ten page views from one reader look like ten readers, and you can't count unique visitors, sessions or funnels.

Classic tools answer it with a cookie. On the first visit the script writes a random ID into a cookie, and every later page view reads it back. The ID typically lasts for months, so the tool can recognize the same browser next week and connect today's purchase to last month's ad click.

That persistence is exactly what makes cookies useful and what makes them sensitive. A long-lived identifier stored on someone's device is the thing privacy laws and browser vendors focus on, and it is what consent banners usually ask about.

How cookieless tracking identifies visitors

A cookieless tool keeps the identification step but moves it to the server and gives it an expiry date. Each request to the collection endpoint already includes the visitor's IP address and the browser's user agent. The server combines those with the site ID and a secret salt, runs them through a keyed hash, and keeps only the result.

Here is the exact recipe Linqry uses, from its privacy model:

visitor_id = HMAC-SHA256(key = daily_salt, ip | user_agent | site_id)   // first 128 bits

daily_salt  = 16 random bytes, a new one every UTC day
old salts   = deleted after two days

Three properties follow from that recipe:

  • Stable within a day. The same browser on the same network produces the same hash all day, so page views, sessions and funnel steps can be grouped.
  • Different tomorrow. At midnight UTC the salt changes, so the same browser produces an unrelated hash. Nothing links Monday's ID to Tuesday's.
  • Not reversible later. Because the salt is a secret key and is deleted after two days, nobody can recompute an old ID from an IP address, not even someone holding the database.

The site ID is part of the input, so the same person visiting two different Linqry sites gets two unrelated IDs. There is no cross-site profile to build.

What is stored, and what isn't

Cookieless is a statement about the browser, not a promise that nothing is collected. It helps to be precise about both sides. For Linqry:

Stored per eventNever stored
Event name, page URL and path, external referrer, UTM parametersCookies, or any identifier in localStorage or sessionStorage
The daily-rotating visitor hash and a session bucketRaw IP addresses: the IP is used in memory for the hash and a local country lookup, then discarded
Country, region and city resolved from the IP on the serverThe full user-agent string
Device class, browser and OS parsed from the user agentCross-site or cross-day identifiers
Time on page, plus any custom properties and revenue you sendAnything your own code doesn't send

The tracker script itself writes nothing to the visitor's device. The one thing it reads is an opt-out flag: if localStorage.linqry_ignore is "true", it stays silent. That flag is set by a person who wants to exclude their own browser, usually the site owner.

The trade-offs: daily visitors and same-day journeys

Forgetting visitors every day has measurable costs. Anyone who tells you cookieless analytics is free of trade-offs is skipping this part.

  • Visitors are unique per day. For a 30-day range, Linqry adds up the daily uniques. A reader who visits on three different days counts three times, so a monthly visitor figure is higher than a cookie-based tool's monthly users for the same traffic.
  • Funnels count same-day completions. A funnel step only counts when the same visitor ID reached it, so someone who signs up on Monday and activates on Thursday shows up as a Monday drop-off.
  • Timelines cover one day. A visitor timeline shows one day's pages and events. There is no lifetime history per person.
  • Multi-day attribution needs your help. If a visitor clicks an ad today and pays next week, today's ID is gone by then. To credit the ad, your backend has to pass the landing URL it stored at signup with the revenue event. The server-side revenue guide shows how.
  • Shared networks can merge people. Two colleagues on the same office IP with identical browser versions produce the same hash for that day. In practice user-agent strings vary enough that this is uncommon, but it is a known limit of hashing.
  • Midnight splits visits. A visit that runs across midnight UTC becomes two visitors and two sessions.

For most marketing and product questions (which channels bring signups today, where a launch-day funnel leaks, which pages people read) these limits rarely change the decision. For questions about long-term cohorts or how many distinct people used your product this quarter, a daily-rotating ID is the wrong tool, and your own database of logged-in users is the right one.

Cookieless is not the same as fingerprinting

Fingerprinting also identifies browsers without cookies, by collecting dozens of device traits (screen size, installed fonts, canvas rendering) to build an ID that stays stable for months. The goal is persistence, which is the opposite of a daily salt.

Linqry's tracker doesn't read device traits. The hash uses only the IP address and user-agent header that every HTTP request carries, and the salt makes it expire. That is why the result can't be used to recognize someone tomorrow, let alone on another website.

This section summarizes published guidance so you know where to look. It is not legal advice, and whether your site needs consent for analytics depends on your jurisdiction, your full setup and what you collect. Ask your own counsel.

EU: Article 5(3) of the ePrivacy Directive (EDPB Guidelines 2/2023)

In the EU, the consent rule for cookies comes from Article 5(3) of the ePrivacy Directive, which covers storing information on, or gaining access to information in, a user's device. The European Data Protection Board's Guidelines 2/2023, adopted in final form on 7 October 2024, explain that the rule is technology-neutral. They say that JavaScript instructing a browser to send information back, URL and pixel tracking, and in some cases collecting an IP address that originates from the user's device can all fall within its scope.

The guidelines are explicit that they don't analyze the exemptions from consent, and that the article applying 'does not systematically mean that consent needs to be collected'. The takeaway is a caution, not a conclusion: removing cookies does not by itself take an analytics setup outside the ePrivacy rules.

France: the CNIL's audience-measurement exemption

France's regulator, the CNIL, describes conditions under which audience-measurement trackers are exempt from consent and move to an opt-out regime. Its guidance lists, among others: informing users, letting them object, limiting the purpose to audience measurement, not cross-referencing the data with other processing, limiting the tracker to a single publisher, and limiting tracker lifetime to 13 months. The CNIL also warns that most large analytics offerings don't fall within the exemption, whatever their configuration.

UK: PECR and the 'statistical purposes' exception

In the UK, the Privacy and Electronic Communications Regulations (PECR) govern 'storage and access technologies'. The ICO's guidance, last updated in April 2026, says the rules cover more than cookies, listing tracking pixels, link decoration, fingerprinting, web storage and scripts. It also describes a newer exception for collecting information for statistical purposes about how a service is used, solely to improve it, provided users get clear and comprehensive information and a simple, free way to object.

How to check any analytics tool's claims

Whether you're evaluating Linqry or anything else, five questions cut through marketing copy:

  1. Does the script write anything to the device? Open your browser's developer tools, load the site, and check cookies, localStorage and sessionStorage.
  2. How is a visitor identified, and for how long? Look for a documented formula and a rotation period, not just the word 'anonymous'.
  3. Is the raw IP address stored or logged? Ask specifically about logs, not just the database.
  4. Can identifiers be linked across sites or days? If the vendor can recognize a visitor tomorrow or on another site, it is not ephemeral.
  5. What do you send it? Custom events and properties are where personal data most often sneaks back in.

If you're moving from a cookie-based tool, the Google Analytics migration guide covers what changes in your reports, and why analytics numbers differ explains the gaps you'll see while both run.

Frequently asked questions

Is cookieless analytics accurate?

Within a day, mostly: page views, sessions, referrers and funnels are grouped by one visitor ID all day. The exceptions are a visitor whose IP address changes during the day (switching from Wi-Fi to mobile data, for example), who gets a new ID and starts a new session and funnel, and people who share an IP address and browser version, who can be merged. Across days it counts differently, because a returning visitor gets a new ID each day, so multi-day visitor totals are higher than a cookie-based tool's user count.

Does cookieless analytics mean I don't need a consent banner?

Not automatically. EU and UK guidance treats scripts, pixels and other access to the device as potentially in scope, with or without cookies. Linqry describes exactly what it reads and stores so you and your counsel can decide; it makes no legal claim on your behalf.

Can a cookieless tool recognize returning visitors?

Linqry can't across days, by design: the salt that makes the visitor ID changes every UTC day and is deleted after two days. Within the same day, a visitor who comes back is recognized as the same visitor.

Is the IP address stored?

No. Linqry uses the IP in memory to compute the hash and look up the country, region and city locally, then discards it. It isn't written to the database or to logs.

Sources

  1. EDPB, Guidelines 2/2023 on Technical Scope of Art. 5(3) of ePrivacy Directive, version 2.0 (adopted 7 October 2024) (checked Nov 9, 2026)
  2. CNIL, Sheet n°16: Use analytics on your websites and applications (checked Nov 9, 2026)
  3. ICO, Guidance on the use of storage and access technologies (checked Nov 9, 2026)
  4. ICO, Storage and access technologies: what are the exceptions? (checked Nov 9, 2026)

See your own funnels and revenue by channel

No card required · 30-day trial · No cookies