Cherry Seed

Should I use CNAME cloaking to bypass Safari?

safari itp cname cloaking first-party tracking server-side

Quick Answer

No — Safari has detected CNAME cloaking since ITP 2.3 shipped in 2020, so it stopped working five years ago. When a subdomain like track.yoursite.com resolves through a CNAME chain to a known tracking provider's servers, Safari classifies it as third-party and caps any cookies it sets at 7 days, the same restriction it applies to ordinary third-party cookies. The technique buys you nothing durable. A genuine first-party setup — your own server, on your own domain, setting cookies via HTTP response headers — is the only approach Safari treats as truly first-party.

Full Answer

CNAME cloaking worked briefly because it disguised a third-party tracker behind a subdomain you appeared to own. You would create track.yoursite.com and point it, via a CNAME record, at a tracking vendor's infrastructure. For a window around 2018-2019, Safari saw the subdomain and treated its cookies as first-party. That window closed with ITP 2.3.

Safari now resolves the full CNAME chain. It maintains a classification of known tracking hosts and cross-references where your subdomain actually points. If the chain terminates at a recognised tracker, Safari downgrades the cookies to the same 7-day cap it uses for third parties, and WebKit has extended the same treatment to bounce-tracking and link-decoration workarounds. Each ITP release has added detection, never removed it — betting on the next loophole is a losing position.

The durable alternative is not a disguise, it is genuine first-party architecture: a server you control, on a domain you own, setting cookies through HTTP response headers rather than JavaScript. HTTP-set first-party cookies are not subject to the 7-day JavaScript cap, and conversion events sent server-to-server reach ad platforms regardless of what the browser blocks. That is the distinction explored in Seresa's [server-side tracking plugins comparison](https://seresa.io/blog/woocommerce-tracking/wordpress-server-side-tracking-plugins-compared-2026). The real question is not how to trick Safari — it is whether your tracking depends on the browser's cooperation at all.

Sources

Programmatic Access

GET https://seresa.io/wp-json/cherry-tree-by-seresa/v1/seeds/663

Cite This Answer

Cherry Tree by Seresa - https://seresa.io/seed/safari-browser-privacy/fix-safari-tracking-cname-cloaking-safari