Skip to content
accs-net.com

Press Esc to close

Configuration

Cookieless Analytics: How Cookieless Tracking Works and How to Implement It

Cookieless analytics concept showing transition from cookie-based to privacy-first tracking

Cookieless tracking moves the visitor ID off the device. The browser stores nothing. The analytics server builds a short-lived number from what every request already carries, the IP address and the browser string, and mixes in the site and the date.

How long that number lives decides almost everything else.

A standard Google Analytics 4 install keeps its _ga cookie for two years. Plausible, Fathom and Statable give every browser a fresh number each day. Matomo with cookies switched off keeps its ID for 24 hours at most.

Two years against one day. Most of the trade-offs in this guide come out of that gap.

How long each setup remembers one browser
GA4 · _ga cookie2 years
Umami · default saltup to a month
Plausible, Fathom, Statable1 day
Matomo · cookies off24 hours max
GoatCounter8 hours
Simple Analyticsno ID

Vendor docs, 25 Nov 2026

Here’s my position. Most of what gets sold as a cookieless strategy keeps the cookie.

Server-side tagging changes who writes it. Consent Mode estimates the people who refused it. Both can be worth doing, and I cover both below, yet neither one stops the browser from storing an ID.

Going cookieless for real means accepting a memory of one day. For most websites the cost is smaller than people expect: the reports that need to recognize someone from last week.

Does Google Analytics Use Third-Party Cookies?

No. GA4 measures with first-party cookies, set under your own domain.

Google’s cookie documentation lists two. _ga tells browsers apart, _ga_ plus your container ID keeps the session. Both last two years by default.

Google Analytics Help table listing the _ga and _ga_ container cookies with a default expiration of 2 years
Google’s own table: both GA4 cookies last two yearsGoogle Analytics Help, GA4 cookie usage, captured 25 Nov 2026 · full desktop view

Extra cookies arrive when you link GA4 to Google Ads, so Ads can measure what people do after a click. You can leave that side off.

Third-party cookies are also less dead than the headlines say.

In April 2025 Google announced that Chrome would keep its current approach to them and would not roll out a new standalone prompt.

So the third-party story isn’t what’s eating your GA4 numbers. Three other things are.

In the EU and the UK, the _ga cookie waits for consent. A visitor who declines is never written.

Safari has capped cookies created by scripts at seven days since ITP 2.1 in 2019, and gtag.js writes _ga with a script. A Safari reader who comes back after a week can show up as a new user.

Then come ad blockers. They stop the tag before it even runs.

In my test of nine blocklists and four blockers for what blocks Google Analytics, results ran from almost everything blocked to nothing.

Firefox matters less here than people assume.

Its Total Cookie Protection, on by default since June 2022, gives every site its own cookie jar. Trackers that follow people from site to site lose their trail. A first-party _ga sits in your site’s jar and carries on.

How Cookieless Tracking Works

Every request a browser sends already carries two loose identifiers. One is the IP address. The other is the User-Agent, a string naming the browser and the operating system.

A cookieless tool adds nothing to the page to get them.

On its own server it combines the two with your site’s ID and today’s date, adds a secret key, and runs the lot through a one-way hash. Out comes one long number. The raw IP can then be dropped.

The cookieless recipe: four inputs, one number for today
Site IDIP addressUser-AgentToday’s date

+ secret key · stays on the server

one-way hash

One numbernew every day

On the device: nothing stored

Plausible, Fathom and Statable docs, 25 Nov 2026

Same browser, same site, same day, same number. So ten pageviews count as one visit, not ten people.

At midnight the date changes, and so does the number. Tuesday’s reader and Wednesday’s reader are strangers to the tool, even on one phone.

The secret stops anyone from working backwards. Without it, someone holding a list of IP addresses could hash each one with a common browser string and look for matches.

Plausible calls its secret a daily salt and deletes it every 24 hours. Fathom rotates its salt at midnight UTC.

The recipe varies more than the marketing does.

Umami’s default salt rotates monthly, so one browser can keep the same ID for weeks. GoatCounter holds its session mapping in memory for eight hours. Simple Analytics keeps no ID at all and judges uniqueness by the referrer.

Matomo can run without cookies too. Its config_id comes from the operating system, browser, plugins, IP and language, and lasts one session, 24 hours at most.

One technique that also gets called cookieless is a different animal.

Device fingerprinting reads many small traits of a browser and recognizes it for weeks without storing anything. Vendors promising to identify returning users without cookies usually mean this.

Simple Analytics and Statable both state in writing that they don’t fingerprint. I’d put the same question to any tool before installing it.

What a One-Day Memory Costs You

Less than you’d guess, if your questions are about pages and channels.

Everything that happens inside one visit survives.

Pageviews, entry and exit pages, countries and devices work as before. So do the source and UTM campaign that brought the visit.

Events and goals survive too. A sign-up in the same visit as the ad click keeps its source, so cookieless conversion tracking per visit works fine.

Statable public demo for example.com, Top Channels panel: visitors from Organic Search, Direct, Referral, AI Assistant and Organic Social over the last 30 days, attributed per visit without cookies
Each visit keeps the channel that brought itStatable public demo, captured 25 Nov 2026 · full desktop view

What goes is anything that joins two visits by one person on different days.

Returning visitors after today disappear. So do cohorts, retention curves and user-level paths of the kind GA4’s user explorer shows.

Credit for a Monday ad click goes as well, once the order lands on Thursday. For a shop, that’s the gap that hurts.

One number moves the other way. Unique visitors go up.

A reader who visits on three different days is counted three times. Statable’s documentation spells this out, and the same arithmetic applies to any tool that resets at midnight.

One reader, three days: 1 user or 3 visitors
MonWedFri

same person, same phone

GA4, cookie accepted1 user
Daily-hash tool3 unique visitors

Statable docs, Privacy & data collection, 25 Nov 2026

GA4 papers over the multi-day gap with modeling, which I take apart in cookieless attribution and modeled conversions.

Four Ways to Implement Cookieless Tracking

Sites usually choose between four options. They solve different problems, and the first two don’t remove the cookie.

If you want to set up cookieless tracking in Google Analytics 4, advanced Consent Mode is the built-in route. The tags load as soon as the page opens.

When a visitor declines, the tags still send measurements to Google, only without cookies. Those pings can’t be tied to a returning browser. GA4 turns them into estimates through behavioral modeling, and modeling has an entry bar.

GA4 estimates decliners only above this bar
1,000+events a day from visitors who declinedfor 7+ days
1,000+users a day who acceptedon 7 of 28 days

Below the bar: decliners’ events aren’t reported

Google Analytics Help, behavioral modeling, 25 Nov 2026

Plenty of small sites never clear it.

Below the bar, Google’s help page on modeling is blunt: events triggered by users who decline consent aren’t reported.

On a site with a few hundred visitors a day, Consent Mode keeps the banner and shows nothing about the people who said no. My Consent Mode v2 walkthrough covers the setup if you need it for ads anyway.

Server-side tagging puts your own server between the browser and Google. The browser sends hits to a subdomain you control, and your server forwards them.

Google Tag Manager supports this with server-side containers, and hosts like Stape run them for you.

On busy sites it earns its cost. Requests to your own domain get past many blocklists, and you decide what each vendor receives.

What it doesn’t do is go cookieless. The setup still stores an ID on the device, and in the EU that still needs consent.

Budget for hosting the container as well. My server-side GA4 guide has the cost breakdown.

A Cookieless Analytics Tool

Of the four, only this option leaves the device empty.

You add one small script, or a plugin on WordPress, and the tool counts with the daily recipe above.

Plenty of sites run one next to GA4 for a month or two, then look at both sets of numbers and decide whether GA4 still earns its banner.

Login Identity, and Where a CDP Fits

If you truly need to know a person across weeks, the honest identifier is a login. A customer data platform (CDP) does cookieless identity resolution this way.

Events are joined by an ID you own, such as an account number or a hashed email, instead of a browser cookie that the visitor can clear at any time. GA4 has the same idea built in as User-ID.

Login identity only covers people who sign in. It’s also personal data in the plain sense, with a privacy notice to match.

My guide to first-party data collection for GA4 walks through that stack.

Cookieless Analytics Tools I’d Look At First

I held each tool to four plain tests.

Nothing is written to the visitor’s device. The memory is a day or less, or can be set that way. The vendor publishes how it counts. And your GA4 history can come along, so the switch doesn’t start from an empty chart.

Statable gets the most room, because I’ve spent the most time with it.

Statable

I came across Statable while looking for a tool that writes its counting recipe down instead of stopping at “no cookies”.

Its documentation names the inputs: site ID, IP, browser string and date, hashed with a key that never leaves its servers. The IP is then discarded.

A visitor with Do Not Track or Global Privacy Control switched on sends no data at all.

Everything after the question mark in a URL is cut off before storage. UTM tags and click IDs are read out first, so attribution per visit still works.

Statable’s write-up of how it counts a visit lays out the whole chain, including half an hour of grace for a visit that runs past midnight.

Statable public demo dashboard for example.com: visitors, sessions, pageviews and bounce rate over the last 30 days with a traffic chart, no cookie banner or login needed
Statable’s public demo for example.comCaptured 25 Nov 2026 · full desktop view

Most of my time went into its public demo, which runs on example.com. It covers what I’d otherwise open GA4 for, from sources and UTM campaigns to goals and funnels.

The price depends on traffic and nothing else.

Every plan has every feature and any number of sites, from $9 a month for 10,000 events, counted as pageviews plus custom events. The full ladder is on Statable’s pricing page.

Data is processed and stored in the Netherlands. GA4 history comes across through a Google sign-in. And its FAQ says GDPR still counts the daily number as personal data, which is how Statable treats it.

The minus is the one this whole article is about. Statable says plainly that it can’t tell you whether Tuesday’s reader came back on Friday.

It’s also cloud only. If you want analytics running on your own server, Matomo and Umami can do that and Statable can’t.

Plausible and Fathom

Both count with a daily salted hash and write nothing to the device.

Plausible starts at $9 a month for up to 10,000 pageviews on one site. Its public demo shows Plausible’s own traffic.

Plausible public dashboard showing unique visitors, visits and pageviews for plausible.io with a traffic chart
Plausible’s public demo, last 28 daysCaptured 25 Nov 2026 · full desktop view

Fathom starts at $15 a month for 100,000 pageviews across up to 50 sites.

Simple Analytics

Simple Analytics is the odd one out.

A pageview counts as unique when it has no referrer or arrives from another site. No visitor ID exists at all.

If you want the least data possible, here is the purest version of the idea, with a free plan to start on.

Umami, Matomo and GoatCounter

All three can run on your own server.

Umami has a free cloud Hobby plan for 100,000 events a month on one site, and self-hosting is free. Keep an eye on its memory, though. The default is a month unless you self-host and change the salt rotation.

Matomo On-Premise is free in its Community edition. GoatCounter‘s hosted service is free for reasonable public use. For a wider field, including tools that do use cookies, see my guide to Google Analytics alternatives.

How seven cookieless tools tell visitors apart (checked 25 Nov 2026)

Each line comes from the vendor’s own documentation or pricing page on the date above. “Memory” is how long the same browser keeps the same ID on one site.

ToolWhat identifies a visitMemoryEntry price
StatableKeyed hash of site ID, IP, User-Agent and dateOne day$9/month for 10,000 events, all features, unlimited sites
PlausibleHash of daily salt, domain, IP and User-Agent24 hours$9/month for 10,000 pageviews, one site
FathomSHA-256 signature of IP, User-Agent, site ID and a daily salt (data page)Until midnight UTC$15/month for 100,000 pageviews, up to 50 sites
Simple AnalyticsNo ID. Referrer decides uniqueness (docs)NoneFree plan, paid plan priced by traffic
Matomo, cookies offconfig_id from OS, browser, plugins, IP and language (FAQ)One session, 24 hours at mostOn-Premise Community edition free, Cloud paid
UmamiHash of website ID, IP, User-Agent and a saltUp to a month by defaultCloud Hobby free (100,000 events, one site), self-hosting free
GoatCounterSite ID, User-Agent and IP, kept in memory (help page)8 hoursFree for reasonable public use, self-hosting possible
GA4, for comparison_ga first-party cookie on the device2 years by defaultFree

How to Implement Cookieless Tracking on Your Site

Start with what your site stores today. Open your homepage, then the browser’s developer tools, then Application and Cookies.

If _ga is listed there, the site isn’t cookieless, whatever the banner says.

Next, list the questions you actually answer from analytics. Mark each one that needs to recognize a person from one day to the next.

On a content site, that list is often a single line.

Then match the list to the four ways above.

Questions that live inside one visit go to a cookieless tool. Multi-day questions about signed-in people go to a user ID.

Multi-day questions about anonymous visitors are exactly what cookies and a consent banner exist for, and no clever trick on the server changes that.

Run the old and the new setup side by side for a few weeks before you switch anything off.

Pageviews should land close together. If GA4 shows far fewer, refused consent and blockers are the likely reason.

Unique visitors will disagree by design, for the three-days reason above. Compare visits, pageviews and sources instead.

Two shortcuts I’d skip.

Renaming tracking paths to slip past blockers works until the next list update, and it overrides a choice the visitor made on purpose when they installed the blocker.

And server-side tagging won’t remove the banner on its own. It moves the cookie and keeps it.

Quick Answers

Is cookieless tracking GDPR compliant?

No tool is compliant on its own. Writing nothing to the device usually takes the ePrivacy consent question off the table for analytics. The IP used to build the hash is still personal data under GDPR, so you still need a privacy notice and a lawful basis.

Can Google Analytics 4 run without cookies?

Partly. Advanced Consent Mode sends pings without cookies when a visitor declines, and GA4 estimates those visitors through modeling once the property clears Google’s thresholds. Visitors who accept still get the two-year _ga cookie.

Can you track returning website users without cookies?

Within one day, yes. Across days, only with an identifier you own, such as a login, or with fingerprinting, which privacy-focused browsers and blockers work against. A daily-hash tool counts a reader who returns on three days as three unique visitors.

Does cookieless tracking get past ad blockers?

Not by itself. Blocklists match the script’s domain and path, not whether it sets cookies. A cookieless tool loading from a well-known domain can be blocked just like GA4.

What is a cookieless CDP?

Usually it means a customer data platform that joins events by an identifier you control, like an account ID or a hashed email, instead of a browser cookie. It resolves identity for known users. Anonymous visitors stay anonymous until they sign in.

Tom Martin
Written by

Tom Martin

Web analytics specialist with deep expertise in Google Analytics, Tag Manager, and e-commerce tracking. Helping businesses understand their data without the noise — practical guides, honest reviews, and real-world implementation experience.