Privacy
What is cross-site tracking, and what does blocking it change?
Cross-site tracking links your visits to different websites into one profile. How it works, what Safari, Firefox, Chrome and Edge block, and what changes.
The CrispStats team · · 8 min read
In short
Cross-site tracking (or cross-website tracking) is when a company recognises you on several different websites and joins those visits into one profile, usually to target or measure ads. It works because the same company’s code runs on many sites and reads the same identifier on each, most often a third-party cookie, but also a fingerprint, an id in a link or a shared login. Safari’s “Prevent Cross-Site Tracking” setting and Firefox’s Total Cookie Protection block the cookie route by default; Chrome still allows third-party cookies unless you block them. Turning the protection on does not stop a site from counting your visit to that site.
Most people meet the phrase in a settings screen: Safari on an iPhone has a switch called Prevent Cross-Site Tracking, and iOS asks whether apps may track you across other companies’ apps and websites. The idea behind both is the same, and it explains why an advert for the shoes you looked at follows you onto a news site.
What is cross-site tracking?
Cross-site tracking is recognising the same person on different websites, operated by different companies, and linking those visits. A single site seeing you come back is not cross-site tracking. An ad network seeing you on a shoe shop at 09:00, a recipe blog at 12:00 and a news site at 18:00, and knowing all three were you, is.
Apple’s definition, written for apps, is a useful test for the web too: tracking is when information that identifies you or your device is linked with information collected by other companies, for targeted advertising or advertising measurement, or shared with data brokers. The key word is linked. The data on each site may be harmless; the profile built by joining it is not.
How does cross-site tracking work?
It needs two things: code from the same company on many sites, and an identifier that is the same on all of them. Here is the classic version, step by step.
- You visit
shoes.example. The page loads an ad script fromads.example. - The browser has no cookie for
ads.exampleyet, so the ad server sets one:uid=8f3a. It records that8f3alooked at running shoes. - Later you visit
recipes.example, which loads the same ad script. The browser sends theads.examplecookie with that request, because the cookie belongs toads.example, not to the site you are on. - The ad server receives
uid=8f3aagain, now from a recipe page. It adds the visit to the same profile and shows you the running shoes.
GET https://ads.example/pixel.gif?page=recipes.example/lasagneCookie: uid=8f3aReferer: https://recipes.example/That uid is a third-party cookie: set by a domain other than the one in the address bar. Across a few thousand sites carrying the same script, one id draws a fairly complete picture of where someone goes.
What techniques are used besides cookies?
| Technique | How it links sites | Example |
|---|---|---|
| Third-party cookies | The same cookie is sent from every site that embeds the tracker | Ad and social scripts on many sites |
| Browser fingerprinting | An id computed from device details is the same on every site running the script | Canvas, font and screen measurements hashed together |
| Link decoration | An id is added to the link you click and read on the next site | Click ids such as gclid or fbclid in a URL |
| Bounce tracking | You are redirected through a tracker’s domain for a moment, so it can set a first-party cookie | A link that passes through track.example before the shop |
| CNAME cloaking | A tracker runs under a subdomain of the site so its cookie looks first-party | metrics.shop.example pointing to a vendor |
| Login and email matching | Sites send the same email, often hashed, to one platform | Hashed emails uploaded for ad matching |
Browser fingerprinting deserves a note, because it is the route that survives cookie blocking and clearing: browsers can block known fingerprinting scripts, but not hide every font, screen size and graphics detail a new script can read. Google allowed advertisers using its tools to fingerprint from 16 February 2025, and the UK ICO answered that the practice must still be lawful and transparent. How it compares with other cookieless methods is in cookieless tracking explained.
Which browsers block cross-site tracking?
Each browser vendor documents its own defaults, summarised here as of 23 November 2026. What they mean for first-party cookies and analytics is covered in first-party vs third-party cookies.
| Browser | Third-party cookies by default | Other protections | Source |
|---|---|---|---|
| Safari | Blocked, with no exceptions | Caps cookies set by JavaScript at 7 days without interaction, and at 24 hours when you arrive through a decorated link | WebKit tracking prevention |
| Firefox | Partitioned: each site gets its own cookie jar (Total Cookie Protection) | Enhanced Tracking Protection blocks known trackers | Mozilla |
| Chrome | Allowed, unless you block them in settings; blocked in Incognito | Google dropped its plan to phase out third-party cookies and will not add a separate prompt | Chrome Help, MDN, Google, April 2025 |
| Edge | Storage blocked for known advertising, social, content and other trackers on the Balanced (default) level, with exceptions for organisations you engage with | Blocks known fingerprinting and cryptomining trackers on every level | Microsoft Edge docs |
| Brave | Tracking cookies blocked | Not covered by the MDN summary | MDN summary |
Chrome is the exception that matters most, since it is the most used browser. Google moved away from deprecating third-party cookies in the summer of 2024, confirmed in April 2025 that it would keep the current user choice in settings, and in October 2025 retired most of the Privacy Sandbox APIs meant to replace them, including Topics and Protected Audience, while keeping partitioned cookies (CHIPS) and FedCM.
What Safari’s “Prevent Cross-Site Tracking” does
On an iPhone the switch is under Settings, Apps, Safari. Apple says that with it on, tracking data is periodically deleted unless you visit the third-party content provider yourself. It is part of Intelligent Tracking Prevention, which WebKit says blocks all third-party cookies by default. If the switch appears greyed out, the usual causes are Screen Time restrictions or a device management profile from an employer or school.
The separate “Allow Apps to Request to Track” setting is about apps, not websites. With it off, apps cannot show the tracking prompt and are treated as if you asked them not to track.
What changes when cross-site tracking is blocked?
- Ads follow you less. Retargeting depends on recognising you on a second site. Blocking the shared id breaks that link.
- Embedded logins and widgets can break. Comment systems, payment frames and single sign-on that rely on third-party cookies may ask you to sign in again. Sites can use the Storage Access API or partitioned cookies to fix this.
- Sites still see your visit to them. Blocking cross-site tracking does not hide you from the site you are on. It still receives your request, and its own analytics can still count the page view.
- Ad measurement gets less complete. Advertisers see fewer conversions tied to a click, which is why some moved to server-side setups and modelling.
Is cross-site tracking legal?
In the EU and UK, storing or reading an identifier on a device for advertising needs consent, which is what most cookie banners ask for. California’s CCPA gives people the right to opt out of the sale or sharing of personal information for cross-context behavioural advertising, which is the law’s term for this practice, and browsers can send that opt-out automatically with Global Privacy Control. Neither bans it; both put it behind a choice. Details vary by country, as our guide to analytics and consent in Europe shows, and are a question for your own counsel.
Does CrispStats track people across sites?
No. CrispStats sets no cookies, third-party or first-party, and writes nothing to the visitor’s device by default. A visitor is counted with a visitor hash of a daily secret, the site, the IP address and the user agent, and because the site is part of the hash, the same person on two sites using CrispStats gets two unrelated ids. The secret is deleted each day, so ids cannot be linked across days either. The IP address and user agent are discarded after the hash is computed.
That design means a browser’s tracking protection has nothing to block on the cookie side, and it also means CrispStats cannot tell you that a visitor came back next week unless you turn on the opt-in persistent visitors mode, which should only be used with consent. Some ad blockers still block analytics scripts by hostname; the proxy setup serves the script from your own domain. The mechanics are in cookieless analytics explained.