Skip to content

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.

  1. You visit shoes.example. The page loads an ad script from ads.example.
  2. The browser has no cookie for ads.example yet, so the ad server sets one: uid=8f3a. It records that 8f3a looked at running shoes.
  3. Later you visit recipes.example, which loads the same ad script. The browser sends the ads.example cookie with that request, because the cookie belongs to ads.example, not to the site you are on.
  4. The ad server receives uid=8f3a again, 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?

What techniques are used besides cookies?
TechniqueHow it links sitesExample
Third-party cookiesThe same cookie is sent from every site that embeds the trackerAd and social scripts on many sites
Browser fingerprintingAn id computed from device details is the same on every site running the scriptCanvas, font and screen measurements hashed together
Link decorationAn id is added to the link you click and read on the next siteClick ids such as gclid or fbclid in a URL
Bounce trackingYou are redirected through a tracker’s domain for a moment, so it can set a first-party cookieA link that passes through track.example before the shop
CNAME cloakingA tracker runs under a subdomain of the site so its cookie looks first-partymetrics.shop.example pointing to a vendor
Login and email matchingSites send the same email, often hashed, to one platformHashed 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.

Which browsers block cross-site tracking?
BrowserThird-party cookies by defaultOther protectionsSource
SafariBlocked, with no exceptionsCaps cookies set by JavaScript at 7 days without interaction, and at 24 hours when you arrive through a decorated linkWebKit tracking prevention
FirefoxPartitioned: each site gets its own cookie jar (Total Cookie Protection)Enhanced Tracking Protection blocks known trackersMozilla
ChromeAllowed, unless you block them in settings; blocked in IncognitoGoogle dropped its plan to phase out third-party cookies and will not add a separate promptChrome Help, MDN, Google, April 2025
EdgeStorage blocked for known advertising, social, content and other trackers on the Balanced (default) level, with exceptions for organisations you engage withBlocks known fingerprinting and cryptomining trackers on every levelMicrosoft Edge docs
BraveTracking cookies blockedNot covered by the MDN summaryMDN 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.

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.

Guide questions. Straight answers.

What people ask after reading this.

  • Usually not. Leaving it on blocks third-party cookies and limits how ad companies follow you between sites. Turn it off only if a specific site you trust does not work, such as an embedded login, and consider turning it back on afterwards.

  • No. You will still see ads, but fewer of them will be based on what you did on other sites. Ads chosen from the page you are reading, and ads from platforms where you are signed in, are not affected in the same way.

  • Not by default for third-party cookies. Chrome allows them in normal windows and blocks them in Incognito; you can block them in settings. In April 2025 Google confirmed it would keep this user choice rather than phase third-party cookies out.

  • No. Analytics on one site counts visits to that site. Cross-site tracking joins visits to different companies' sites into one profile. A cookie-based analytics tool can become a cross-site tracker if its vendor uses the same id across customers' sites, which is something to check before installing one.

  • Yes, through fingerprinting, ids added to links, redirects through a tracker's domain and matching on a login or email. Safari and Firefox counter some of these, for example by capping cookies set after a decorated link and blocking known fingerprinting scripts, but none of the browsers stops all of them.

Not answered here? Write to hello@crispstats.com

Your traffic, crisp and clear

One script, no cookies, and every feature from the first day. Set up takes about as long as pasting a snippet.