Privacy

Cookieless tracking: what it solves and what it doesn't

A thin line breaks off at a dashed boundary early in frame, a thicker line runs past it unhindered.

Cookieless tracking is the umbrella term for measurement that no longer relies on a third-party cookie: the browser sends its data to your own domain, usually a subdomain you control, instead of straight to Google, Meta or TikTok. The term keeps coming up because browsers keep blocking third-party cookies harder. What the term itself doesn’t say is whether the problem you’re using it for actually gets solved. That depends on which block you’re up against.

What cookieless tracking does solve

Blocklists that filter by domain. Most ad blockers work from a list of known tracking domains: doubleclick.net, facebook.com, addresses like that. A request to your own subdomain isn’t on that list, so it gets through where a direct request to the ad platform would have been stopped. That’s the real advantage: not that a measurement becomes invisible, but that it isn’t on the list blockers check against.

A cookie that doesn’t fall over the moment a script gets blocked. Set a cookie through javascript, and it falls over the moment a blocker stops that script. Set it through your own server’s HTTP response instead, and it’s already there before the script would have run. That survives a blocker that only intervenes at the script level.

What it doesn’t solve

Safari still caps the cookie, even on your own subdomain. This is the most important nuance and the most ignored one. WebKit treats a first-party subresource that resolves elsewhere through a CNAME as third-party CNAME cloaking, and caps every cookie in that response at seven days. An A record hasn’t escaped that automatically since Safari 16.4: WebKit compares the measurement server’s IP address with the website’s, and applies the same limit the moment they share fewer than half of the address bits, sixteen for IPv4. Self-hosting on a separate VPS almost never clears that bar. This is the state as of this article’s publish date; WebKit can change this behaviour at any point, and nothing here is a promise about how Safari will behave tomorrow.

It doesn’t invent data. Cookieless tracking moves where a measurement travels, not what the browser decided to send. If a visitor didn’t consent, or your site isn’t measuring something, that gap doesn’t get filled in on the server side.

Consent is still required. A cookieless setup isn’t a way around the cookie banner. Whether consent is required follows from what you place on and read from a visitor’s device, not from which machine sends the request afterwards.

It doesn’t make a setup automatically GDPR-compliant. Cookieless tracking changes the route your data takes, not the obligations attached to collecting it: a legal basis, transparency, and a data processing agreement with whoever hosts the server. Ask a lawyer about your own setup.

Ready-made solutions

There are vendors who build and maintain a cookieless setup for you, separate from server-side tagging in the broader sense. That’s a different decision from what this piece covers: this is about what the technique itself does and doesn’t do, not about which vendor to pick for it. Cookieless tracking solutions: what to look for covers that decision.

The honest summary

Cookieless tracking helps against blocks that work at the domain or script level. It doesn’t help against the specific limit Safari puts on cookies, and it doesn’t resolve any legal obligation. Promising either one describes a sales pitch, not a technique.

This piece builds on the “What it doesn’t solve” section in our explainer on what server-side tagging is, where this Safari limit first appeared. Earlier in your research, client-side vs server-side tracking covers the mechanism, and server-side tracking and the GDPR covers the legal side.

Sources: WebKit, “CNAME Cloaking and Bounce Tracking Defense” (2020), and WebKit pull request 5347 (2022).

Questions people ask

Is cookieless tracking the same as server-side tracking?
They overlap but aren't the same thing. Server-side tracking is about where the processing happens: on a server you control, instead of in the browser. Cookieless tracking is about how you recognise a visitor without a third-party cookie. Most cookieless setups are also server-side, but that doesn't automatically work the other way round.
Does cookieless tracking work as well on Safari as on Chrome?
No. On Chrome and Firefox the seven-day limit doesn't apply. On Safari it does, even on your own subdomain, the moment WebKit recognises it as CNAME cloaking. What's left is a first-party cookie that resets every seven days, not one that lasts as long as it would on other browsers.