Cherry Seed

Why do Safari cookies expire in 24 hours after ad clicks?

safari-itp cookie-expiry gclid fbclid ad-attribution tracking-loss

Quick Answer

Safari's Intelligent Tracking Prevention classifies gclid, fbclid, dclid, and msclkid as link decoration from known tracking domains. When a visitor arrives via a paid ad carrying these parameters, ITP caps all JavaScript-set cookies to 24 hours instead of the standard 7-day first-party limit. Introduced in ITP 2.2 in 2019, this restriction affects 24% of global browser traffic — and every iOS browser regardless of brand, because Apple requires all iPhone browsers to use Safari's WebKit engine. A customer who clicks your ad Monday and buys Wednesday has no cookie connecting those events.

Full Answer

Safari maintains a classification list of known tracking domains. When a visitor navigates from one of these domains — Facebook, Google, TikTok — with a click identifier appended to the URL, ITP triggers its strictest cookie restriction. The standard 7-day cap on JavaScript-set first-party cookies drops to 24 hours. Every cookie on the page is affected, not just the tracking cookie — login sessions, cart memory, and analytics identifiers all expire the next day.

The mechanism compounds with other Safari restrictions. ITP 2.2 introduced the 24-hour cap in 2019. Safari 16.4 in 2023 added an IP-matching rule that re-caps even server-set cookies to 7 days unless your tracking server shares an IP range with your main website. Safari 26 expanded gclid stripping from Private Browsing to all standard sessions. Each version closes another workaround without opening a new one.

For WooCommerce stores running paid ads, the impact is direct. Google Ads claims a 30-day attribution window, but Safari deletes the gclid cookie after 24 hours. Meta's attribution relies on the fbclid cookie, which faces the same restriction. The ad platforms still report conversions by modelling the gap — estimating rather than measuring. Your ROAS numbers include phantom conversions that Safari prevented from being tracked.

Server-side tracking bypasses the cookie dependency entirely. Events fire from your server via API after a confirmed purchase, using hashed customer data for identity matching instead of browser cookies. The conversion reaches the ad platform regardless of what Safari deleted.

Sources

Programmatic Access

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

Cite This Answer

Cherry Tree by Seresa - https://seresa.io/seed/safari-browser-privacy/safari-killing-attribution-24-hour-ad-clicks