Safari limits cookies set by a script in the browser to seven days. If a visitor comes from a website that Safari classifies as a tracker and the link contains parameters such as a click ID, it is only 24 hours. That is how the WebKit team behind Safari has set it. Anyone who returns after eight days then counts as a new visitor, and the cookie can no longer link an order to an earlier click.
A server container can set cookies in its response. Safari keeps these cookies longer, but only if the server really belongs to the website. If the subdomain points to a third-party provider via CNAME, or if its IP address is in a different network from the website (for IPv4, the first two number blocks already differ), Safari limits these cookies to seven days as well. Google recommends running the server container on the same address as the website anyway, for example at your-domain.com/metrics. If the requests then go through the same server or CDN as the website, Safari’s rule does not apply.
This does happen in practice. In one project we reviewed, the server container ran with a different hosting provider from the website, with an IP address from a different network. Under this rule, the identifier the server was meant to set for two years lasts only seven days in Safari. That is why we check how the subdomain and server relate to the website before every setup.
What the server does not change: Chrome still allows third-party cookies. Google abandoned the planned phase-out in July 2024 and in April 2025 also dropped a separate prompt for it. Firefox separates cookies per website. In private browsing, Safari removes known tracking features from links, and what the browser has already removed cannot be read by a server either.