Skip to content
Privacy and compliance

What is Intelligent Tracking Prevention (ITP)?

3 min read · Updated · By the Reveata team

Short answerIntelligent Tracking Prevention (ITP) is a set of privacy protections in WebKit, the engine behind Safari, that blocks third-party cookies and limits how long cookies and storage created by scripts can last, to stop websites and trackers following people across the web.

A hand holding a smartphone displaying a home screen with various app icons
Photo by Bagus Hernawan on Unsplash

Safari is the default browser on every iPhone and iPad, so ITP affects a large share of visitors on most consumer websites. WebKit documents the rules on its tracking prevention page (opens in a new tab), which is the source for the details below. They change over time, so check that page for the current behaviour.

What ITP does

Protection Effect
Third-party cookies Blocked by default, with access only through the Storage Access API
Script-writable storage Cookies created in JavaScript, local storage and similar storage deleted after 7 days without user interaction with the site
Link decoration When a page is opened from a link carrying click ids, cookies created by JavaScript on that landing page are capped at 24 hours
CNAME and IP cloaking Cookies set in HTTP responses through a third-party server disguised as a first-party subdomain are capped at 7 days

The aim is cross-site tracking, but the rules hit ordinary first-party analytics too, because most analytics ids are set by a script.

What it means for your numbers

  • Returning visitors. A person who visits on Safari, then comes back after more than a week without visiting in between, can arrive with no cookie and be counted as new.
  • Attribution windows. Long attribution windows lose the first visit for some Safari users, so first-touch credit can shift to a later visit.
  • Ad campaigns. Click ids on landing URLs can shorten script cookie lifetimes even further.
  • New visitor share. Sites with many Safari users can see a higher share of new visitors than the same audience would produce in other browsers.

None of this affects counting visits and pageviews within a session.

Ways to live with it

  1. Identify signed-in users. A user id from your own account system survives cookie loss.
  2. Pass ids into checkout. Linking the payment to the visit at the moment of purchase does not depend on a cookie surviving for weeks.
  3. Accept the limit. Treat returning-visitor counts on Safari as a lower bound.
  4. Avoid disguised third-party tracking. Setups that try to look first-party are what the CNAME rule targets.

How Reveata deals with it

Reveata's privacy docs say it directly: browsers can keep its cookies for less time than their stated lifetime, and Safari keeps cookies set by a script for at most 7 days, so a visitor who comes back later on Safari counts as a new visitor.

Revenue attribution is built to cope with that:

  • At checkout, the visitor id is passed into the payment as metadata, so the payment is linked to the visitor who is paying, whatever happened to cookies earlier.
  • With identify, signed-in users are linked by your own user id, and payments carrying the same user id or email are matched to them.
  • Cross-domain hand-offs happen within a 2-minute window at the moment of the click, so they do not rely on long-lived cookies.

If you would rather not depend on cookies at all, cookieless mode stores nothing in the browser and counts each visitor for one day.

Frequently asked questions

Does ITP block first-party cookies?

It does not block them, but it limits the lifetime of first-party cookies created by JavaScript. Cookies set by your own server in an HTTP response are treated differently, unless they come through a disguised third-party server.

Does ITP affect Chrome on iPhone?

On iOS, other browsers have historically been built on WebKit, so they share much of its behaviour. Check each browser's own documentation for its current tracking protection.

Can I turn ITP off for my visitors?

No. It is a browser protection controlled by the person using it. Design your measurement so it still works when cookies are short-lived.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?
GlossaryWhat is a first-party cookie?A first-party cookie is a small piece of data stored by the website shown in the address bar, on that site's own domain. Only that site can read it, which is why it is used for sign-in sessions, shopping baskets and first-party analytics.GlossaryWhat is a third-party cookie?A third-party cookie is a cookie set by a domain other than the one in the address bar, usually by an embedded ad, widget or tracking script. Because the same third party is present on many sites, its cookie can recognise one browser across all of them.GlossaryWhat is cookieless tracking?Cookieless tracking is website measurement that stores nothing in the visitor's browser: no cookies, no local storage. Visits are counted from what each request already carries, usually combined into a short-lived anonymous id on the server.GlossaryWhat is a cookie banner?A cookie banner is the pop-up or bar a website shows to tell visitors which cookies and similar technologies it uses and to collect their choice, so that non-essential cookies are only set after the visitor agrees.GlossaryWhat is a data controller?A data controller is the organisation that decides why and how personal data is processed. A data processor is a separate organisation that processes the data on the controller's behalf and only on its instructions, such as an analytics or email provider.GlossaryWhat is a data processing agreement (DPA)?A data processing agreement (DPA) is the contract in which a company that processes personal data for you, such as an analytics or email provider, commits to handling it only on your instructions and with proper safeguards. The GDPR requires one whenever a processor handles personal data for a controller.