Safari's set of anti-tracking rules, including blocking third-party cookies and capping cookies written by scripts at 7 days without a visit.
Intelligent Tracking Prevention (ITP) is built into WebKit, the engine behind Safari on Mac, iPhone and iPad. Among its rules, documented by WebKit:1
- third-party cookies are blocked;
- cookies and storage written by scripts expire after 7 days of Safari use without the person interacting with the site;
- some tricks for making third-party trackers look first-party are detected and limited.
For visitor identification, the 7-day cap matters most: a Safari visitor who returns after two weeks looks like a new browser to any script-set cookie.
Why it exists
Apple’s WebKit team describes tracking prevention as protecting people from being followed across websites without their knowledge.1 The rules target the techniques trackers used: cookies set by third parties, cookies set by scripts that persist for years, and ways of dressing a third party up as the site itself. Each rule closes one of them, and WebKit has tightened the rules over several years.
Who it affects
Every Safari user, on Mac, iPhone and iPad, and people using other browsers built on WebKit, which on Apple’s mobile devices has long meant most of them. For many B2B websites, that’s a large share of visitors, and a larger share on mobile.
The 7-day cap, in practice
The clock counts days the person uses Safari, and resets when they interact with the site. So:
- A visitor who comes back every few days keeps their cookie.
- A visitor who comes back after ten days of using Safari elsewhere has lost it: the visit looks new.
- A visitor who rarely uses Safari at all may keep it longer in calendar time, because the clock counts days of browser use.
The same cap applies to local storage written by scripts, so a tag can’t simply keep a backup copy there.1
- 01A script sets a cookieOn the person's visit
- 02Days of Safari useThe clock counts them, and resets on a visit to the site
- 03Seven days without a visitThe cookie is gone: the next visit looks new
What it doesn’t do
- It doesn’t block first-party cookies set by the site’s server in the ordinary way.
- It doesn’t stop a person who signs in from being recognized: the site knows who they are from the sign-in, not from a tracking cookie.
- It doesn’t hide the visitor’s network address. That’s what iCloud Private Relay does, separately.
What it means for identification
- Returning visitors look new more often on Safari than on Chrome or Firefox. Reports that split new and returning visitors are skewed by the browser mix.
- Person-level names fade. A Safari visitor named once is unnamed again after the cookie expires, unless something else identifies them.
- Workarounds are a red flag. A tool that claims to keep recognizing Safari visitors for months without sign-ins is either fingerprinting, routing through disguised first-party set-ups, or overstating. Ask how.
An example
A buyer reads a vendor’s pricing page in Safari on Monday. The vendor’s tag sets a cookie by script. The buyer spends the next nine days using Safari for other sites, then returns to the vendor’s site on Thursday of the following week. Their cookie has expired: the tag makes a new ID, and the vendor’s reports show a new visitor with one visit, rather than a returning visitor with two. If the buyer had signed in on either visit, the site would know them both times.
Common mistakes
- Reading Safari’s new visitors as new people. Many are returning visitors whose cookie expired.
- Trying to beat the cap. Workarounds put a tool at odds with the browser and with the visitor’s choices.
Questions
Can a site avoid the cap? Cookies set by the site’s own server in the ordinary way aren’t subject to the script-set cap, which is one reason sign-in sessions survive. Tracking scripts, by their nature, set cookies from the browser.
Is ITP the same as Firefox’s protections? No. Firefox’s Total Cookie Protection partitions cookies per site rather than capping them.2 How browsers limit tracking.
Does ITP affect people who sign in? Not in the way that matters: once a person signs in, the site knows who they are from the sign-in, whatever happened to a tracking cookie.
In Namorus: the tag’s cookie is set by script, so on Safari we assume it lasts 7 days without a visit. After that, a person is recognized again in three ways: they submit a form or sign in; they open a link the site sent that carries their contact ID; or the browser comes back on the same home connection and matches, by what it reports about itself, exactly one person named there before, which scores 85%. The last is a light form of fingerprinting, and we say so; it never runs when the browser sends Global Privacy Control. How browsers limit tracking.