Skip to content
Start free trial
BlogPrivacy-first analytics

Cookieless analytics: how it works, what it costs, and how to choose

If your visitor numbers dropped when your cookie banner went up, your traffic probably didn’t. Cookieless analytics counts visitors without storing anything on their device. Here’s how it works, what it costs, and how to choose a tool.

Say you run marketing for a small SaaS company. Last spring you added a cookie banner, and since then your analytics has shown fewer visitors every month. Sign-ups haven’t dropped and your ad spend hasn’t changed, so where did the visitors go?

Most of them never left. Your analytics just stopped being allowed to see them.

Cookieless analytics is web analytics that measures your traffic without storing a cookie, or anything else, on the visitor’s device. In this guide you’ll learn how it counts people without identifiers, what accuracy you trade for that, what it means for consent, and how to pick and set up a tool.

Key takeaways

  • Cookieless analytics counts traffic without writing anything to the visitor’s device. The real question is what replaces the cookie, and for how long.
  • A daily-rotating hash recognises a visitor within a day and forgets them after it, so visitor counts are per-day estimates while visits and pageviews stay exact.
  • You give up cross-day unique visitors and multi-day journeys. You keep traffic, sources, pages, events, funnels within a visit, and revenue.
  • Removing cookies changes the consent question but doesn’t answer it. That depends on your visitors’ countries and on what you collect.
  • Judge a tool by what it stores, how long its identifier lives, what it does with IP addresses, and whether it states its own accuracy cost.

What is cookieless analytics?

Traditional analytics writes an ID into a cookie on someone’s first visit, then reads it back every time they return. That one stored value lets the tool say “this is the same person as last Tuesday”.

Cookieless analytics drops the stored ID. It recognises visitors from the request itself, for a limited time, and keeps nothing in the browser.

Be careful with the label, though. Some tools that call themselves cookieless simply move the ID into local storage, or build a long-lasting fingerprint from the browser’s settings. Nothing sits in a cookie, yet the same person is still followed for months.

So use a stricter test. A tool is genuinely cookieless when nothing is written to the device and no identifier survives from one day to the next. That’s the design FunnelSights uses, and it’s the one this guide describes.

Why did cookies become a problem for analytics?

Back to our SaaS marketer. Three separate things are shrinking what their analytics can see, and each one bends the data in a different way.

Consent prompts filter out the people who say no

In the EU and the UK, storing information on a visitor’s device, or reading it back, generally needs consent unless it’s strictly necessary for something the visitor asked for. Analytics cookies usually aren’t treated as strictly necessary, so they wait behind the banner.

That means cookie-based analytics only records the people who click “accept”. And the people who decline aren’t a random sample of your audience.

Imagine a campaign aimed at developers, who decline cookies more often than most. It will look weaker than it really is, and you have no way to see by how much. The consent analytics gap explains why this bias matters more than the raw loss.

Blockers stop the script entirely

Content blockers and privacy-focused browsers block well-known analytics scripts by their host or file name. A blocked script sends nothing at all, whatever the visitor chose on your banner.

Blocking isn’t evenly spread either. A developer-tools site can lose a far bigger share of its visitors to blockers than a recipe blog does.

Browsers cut cookie lifetimes short

Even when a cookie is set, browsers increasingly shorten its life. Safari’s Intelligent Tracking Prevention caps cookies written by script at seven days, so a customer who returns after eight days looks brand new. Private windows throw cookies away when they close.

Put those together and the cookie’s big promise, recognising the same person over time, only holds for visitors who accept consent, don’t block scripts, and use a browser that keeps cookies. Cookieless analytics accepts that and counts everyone the script reaches instead.

How does cookieless analytics count visitors?

Without a stored ID, a tool has to recognise a visitor from what arrives with each request. Two things always arrive: the browser’s user agent string and the IP address the request came from.

Neither is unique on its own, and you don’t want to keep either of them. So FunnelSights combines them with your site’s domain, hashes the result with a secret key that changes every day, and keeps only the hash:

visitor_id = blake2b(user_agent + ip + domain, key=daily_salt)

The secret key is called a salt. It rotates every 24 hours and is deleted after 48.

Within one day, the same browser on the same network produces the same hash, so its pageviews stitch together into visits. After the salt is deleted, nobody can recompute those hashes from an IP address and user agent, including us. The IP and user agent are used as inputs and never stored.

How a pageview becomes a count, with no cookie
  1. RequestThe script on your page sends the event (page, referrer, event name) to the ingest endpoint. No cookie is set or read.
  2. HashThe user agent, IP address and domain are hashed under today’s salt. The result is the visitor ID for this day.
  3. DiscardThe IP and the raw user agent string are dropped. The browser, operating system and device type parsed from it are kept for reports.
  4. StitchThe event joins the visitor’s open visit, or starts a new one after 30 minutes without activity.
  5. Roll upEvery 15 minutes, events are rolled up into daily totals. Reports read those totals, which carry no visitor ID.

The full mechanism is on how it works.

Why put the domain in the hash? Because the same person visiting two sites you track then produces two different hashes, so the stored data can’t be joined across sites by matching it against itself.

That protects the data at rest, and it has a limit worth stating. Somebody holding a current salt could compute candidate hashes for both domains from the same user agent and IP, then match them, because those inputs aren’t secret. Deleting the salt after 48 hours is what closes that window.

For the full walk-through, including what rotates, when, and why a visit that crosses the rotation stays one visit, read how cookieless visitor counting works. For what happens to the IP address along the way, see analytics without storing IP addresses.

How accurate is cookieless analytics?

A hash that forgets everyone after a day can’t tell you that Monday’s visitor came back on Thursday. That’s the price of the design, so here it is in full.

  • Visitors are a per-day estimate. A weekly or monthly total adds up each day’s distinct visitors, so someone who visits on Monday and Thursday counts twice.
  • Someone who switches network, say from office Wi-Fi to mobile data, or switches browser gets a new hash and counts twice, even on the same day.
  • Visits, pageviews and events are exact. They’re counted, not estimated.
  • There’s no user journey across days, because nothing links one day’s visitor to the next.
How a weekly visitor total is built
Mon412
Tue455
Wed438
Thu470
Fri391
Sat214
Sun198

Illustrative numbers, not customer data. The weekly visitors figure is the sum of these daily counts (2,578), so a person who came on three of these days is in it three times. The visits behind it are an exact count.

For most decisions, this matters less than it sounds. Trends, traffic sources, page performance and conversion rate per visit aren’t affected.

It matters a lot if your business depends on knowing exactly how many different people you reached in a month, or how often the same people come back. For that you need a tool with a lasting identifier, and the consent flow that comes with it.

One habit follows from this. When you need a number you can defend in a meeting, use visits or pageviews. The metric definitions guide shows what each number counts and which one is the estimate.

And be wary of any tool that claims both no identifiers and exact returning-visitor counts. It can’t have both, so one of those claims is wrong.

What can you measure without cookies?

Most of what a website team checks each week survives, because it never needed to recognise a person across days. The table below sets the two approaches side by side.

Cookie-based and cookieless analytics, side by side
Cookie-based analyticsCookieless analytics
Stored on the deviceAn identifier in a cookieNothing
Who is countedVisitors who accept consent and don’t block the scriptEvery visitor whose browser runs the script
Pageviews and visitsCounted, for the visitors it recordsExact counts
Unique visitors over a monthRepeats removed across days, while the cookie survivesSum of daily counts, so a returning visitor counts once per day
Returning-visitor rateAvailableNot available
Journeys across several daysAvailableNot available
Sources, campaigns and pagesAvailableAvailable
Funnels and goalsAcross sessionsWithin a single visit

In practice, you keep:

  • Traffic over time: pageviews, visits, bounce rate, visit duration and engaged time.
  • Where visitors come from: referrers, channels, UTM campaigns, and AI assistants such as ChatGPT and Perplexity as their own channel.
  • Which pages people read, land on and leave from, and how far they scroll.
  • Events and goals: sign-ups, downloads, form submissions, outbound clicks, and the events your Google Tag Manager setup already sends.
  • Funnels within a visit (see how to build your first funnel) and revenue attached to purchase events.

What you give up is the view of one person over time: returning-visitor rates, cohorts of individuals, attribution across several visits, and audiences for remarketing.

If your SaaS team runs retargeting ads, for example, a cookieless tool won’t build those audiences. Decide that early, because no setting brings them back. The Google Analytics alternative page sets out who each kind of tool suits.

Who is cookieless analytics a good fit for?

It suits most teams whose main questions are about content, channels and conversions rather than about individual people over time. A few typical cases:

  • Content sites and blogs that want to know which pages and sources bring readers.
  • SaaS and lead-generation sites that measure sign-ups and demo requests per visit.
  • Online shops that track checkout steps and revenue. On Shopify, the checkout pages need a custom pixel alongside the theme tag, and the getting-started guide covers both.
  • Agencies reporting on several client sites, who want a short answer when a client’s legal team asks what the analytics collects.

It’s a poor fit when your work depends on one person’s behaviour across weeks. A subscription business studying how often each customer returns, or a team building ad audiences from site visitors, needs a lasting identifier.

Some teams run both for a while: a cookieless tool for the everyday numbers everyone reads, and a specialist tool behind consent for the few questions that need identity. Our SaaS marketer, for instance, might keep a consented tool for retargeting and move weekly reporting to the cookieless one.

This is the question most people ask first. What follows explains the shape of the law. It isn’t legal advice, and nothing here, or in any analytics vendor’s marketing, can tell you whether your site needs consent.

In Europe, two separate rules apply. The ePrivacy rules cover storing information on a visitor’s device, or reading information already there. They’re the reason cookie banners exist.

The GDPR covers processing personal data at all, wherever it’s kept. It asks for a lawful basis, a clear privacy notice, and limits on how much you keep and for how long.

Going cookieless affects those two rules differently:

  • It changes the ePrivacy question, because there’s less on the device to ask permission for. Regulators differ on how far that goes, and some read “access” to the device broadly. Do you need a cookie banner for analytics? walks through both rules and why the answer varies by country.
  • It leaves the GDPR question in place. An IP address is generally treated as personal data, and hashing one still counts as using it. Is analytics data personal data? covers IP addresses, identifiers, and pseudonymous versus anonymous data.
  • It doesn’t set your retention periods for you. How long you keep data is part of the law too. Analytics data retention covers how to choose periods and what FunnelSights keeps by default.

FunnelSights makes no claim that using it removes a consent requirement. What we can give you are the facts of the implementation: nothing is written to the visitor’s device, IP addresses and user agents are hashed at ingest and never stored, the salt is deleted after 48 hours, and raw events are purged after 180 days by default.

Those facts make the legal analysis shorter. They don’t finish it. Analytics and consent sets out exactly where we stop.

One more fact for the GDPR side: FunnelSights processes data in the United States, so for visitors in the EU or the UK it’s an international transfer. Every third party that can access the data is listed in the sub-processor register.

How to choose a cookieless analytics tool

The word “cookieless” on a pricing page tells you very little. These questions help you tell a genuinely different data model from the same tracking with fewer disclosures, and you can ask them of any vendor, including us.

  • What is written to the visitor’s device? “No cookies” and “nothing at all” are different answers, and local storage counts.
  • What replaces the cookie, and how long does it live? A daily-rotating hash and a fingerprint that lasts for months are very different designs.
  • Is the IP address stored, masked or discarded? Masking the last part of an address still keeps most of it.
  • Is your site’s domain part of the identifier? If not, the same hash could link one person across every site the vendor measures.
  • Does the vendor state the accuracy cost? A tool without lasting identifiers can’t count returning visitors exactly, and an honest one says so.
  • Where is data processed, and who else can see it? Look for a published list of sub-processors and a stated processing country.
  • How long is each kind of data kept, and does deletion happen automatically?
  • Does the tracked page make third-party requests, and can you serve the endpoint from your own domain?
  • What does the vendor say about consent? Be wary of any promise that you’ll never need a banner, because that’s a legal conclusion a vendor can’t reach for you.

Also check what happens to the data you add yourself. Custom event properties are fields you control, so if you put an email address in one, it’s stored like any other value. A privacy design only covers the defaults, and what you choose to send is up to you.

How to set up cookieless analytics

Setup is mostly one script tag plus a few decisions about what to measure. Picture our SaaS marketer doing it on a quiet Monday morning.

Step 1: Register your domain

Add your site’s domain and timezone. Reports roll up in that timezone, so a “day” in your reports matches your day.

Step 2: Add the script tag to your shared layout

Paste one script tag before the closing head tag, in the layout every page uses. Pages that never got the tag are the most common reason numbers look low. The getting-started guide has the snippet and the Shopify steps.

Step 3: Check that data arrives

Load a page on your site and look for the pageview. Full reports follow within 15 minutes, when the next rollup runs.

Step 4: Review the events you already send

If your site uses Google Tag Manager or gtag, your existing events arrive by name without any re-tagging. Integrations explains how that works.

Then decide which extra events answer a real question, and keep personal data out of event names and properties. Deciding what to measure covers both.

Step 5: Run it alongside your current tool

Leave your current analytics running for a fortnight and compare. Expect the cookieless tool to show more traffic, because consent doesn’t filter it, and fewer returning visitors, because it recognises nobody across days.

Why your numbers don’t match GA4 explains the differences, and running both side by side covers the comparison itself. Switching from Google Analytics covers what not to import.

Step 6: Update your privacy notice

Describe the analytics you run, what it collects and how long it’s kept. You need to do this whatever you conclude about consent.

One technical detail is worth getting right on day one. If you serve the tracking endpoint through your own domain, make sure your proxy passes the visitor’s address in the X-Forwarded-For header. Without it, every request seems to come from the proxy, and visitors on the same browser merge into one.

Back to our SaaS marketer. A fortnight later, they can see roughly how much traffic the banner and blockers were hiding, and they know which numbers are exact and which one is an estimate. To see the reports before installing anything, open the sample dashboard.

Frequently asked questions

What is cookieless analytics?

Cookieless analytics measures website traffic without storing a cookie or any other identifier on the visitor’s device. Visitors are recognised from the request itself, usually through a hash that changes every day, so the tool can count visits and pageviews without following anyone over time.

Is cookieless analytics accurate?

Pageviews, visits and events are exact counts. Unique visitors are a per-day estimate: someone who returns on a different day, or switches network or browser, counts twice. Because a cookieless tool isn’t filtered by consent prompts, it often sees more of your real traffic than a cookie-based one.

Does cookieless analytics need a cookie banner?

Not necessarily, but removing cookies doesn’t settle it on its own. The answer depends on the rules in your visitors’ countries, how your regulator reads them, and what personal data you process. FunnelSights makes no claim that using it removes a consent requirement, so take legal advice on your specific use.

Can cookieless analytics track returning visitors?

Not across days, by design. A daily-rotating hash recognises the same browser within a day and forgets it afterwards, so there’s no returning-visitor rate and no multi-day journey. If you need those, you need a tool with a lasting identifier and the consent flow that comes with it.

Is cookieless analytics the same as fingerprinting?

It shouldn’t be. Fingerprinting combines many browser details into an identifier designed to last, which is tracking without a cookie. A daily-rotating hash uses only the user agent, IP address and domain, under a key that is deleted after 48 hours, so it can’t follow anyone from one day to the next.

Do ad blockers block cookieless analytics?

Some do. Blockers work on script hosts and file names, so a script with no cookies can still be blocked. Proxying the endpoint through your own domain narrows the gap, but no tool sees every visitor, and one that claims to is overselling.

Can I run cookieless analytics alongside Google Analytics?

Yes, and it’s the best way to compare them. Run both for a couple of weeks and look at how their numbers differ on your own site. Expect more traffic and fewer returning visitors in the cookieless tool, because consent doesn’t filter it and it doesn’t recognise people across days.

What data does cookieless analytics store?

In FunnelSights, by default: the page, referrer and campaign, device type, browser and operating system, location where it’s available, event names and properties, and a daily visitor hash with the raw events. IP addresses, user agent strings and cookie IDs aren’t stored. Custom event properties hold whatever you put in them.

In this series