# Cross-site tracking

Also called: cross-website tracking, cross-site tracker, prevent cross-site tracking, third-party tracking

Cross-site tracking is the practice of recognising the same person on different websites and joining their visits into one profile. A company whose code runs on many sites, such as an ad network or a social widget, reads the same identifier on each one and so sees where that person has been.

## How it is calculated

Tracking across sites needs one identifier that is the same everywhere. The classic carrier is a [third-party cookie](/glossary/third-party-cookie): a script from `ads.example` sets a cookie on the `ads.example` domain, and the browser sends it back on every site that loads that script. Alternatives are [browser fingerprinting](/glossary/browser-fingerprinting), which derives an id from device details, a shared login or hashed email sent by each site, and link decoration, where an id is passed in the URL from one site to the next.

Browsers now block the cookie route by default in several cases. WebKit's [tracking prevention documentation](https://webkit.org/tracking-prevention/) states that Safari's Intelligent Tracking Prevention blocks all third-party cookies by default, with no exceptions, and places Safari's default cookie policy under the setting "Prevent cross-site tracking". Mozilla's [Total Cookie Protection](https://blog.mozilla.org/en/products/firefox/firefox-rolls-out-total-cookie-protection-by-default-to-all-users-worldwide/), on by default for all Firefox desktop users since June 2022, gives every site its own cookie jar. Chrome still allows third-party cookies: Google said in [April 2025](https://privacysandbox.google.com/blog/privacy-sandbox-next-steps) that it would keep the current user choice in settings and not roll out a new prompt; Incognito mode already blocks them by default.

## Example

A reader visits a recipe blog, a running shoe shop and a news site in one evening. All three load the same ad script, which reads cookie `uid=4471` each time. The ad network now knows that visitor 4471 cooks, runs and reads the news, and can show a shoe ad on the news site. With third-party cookies blocked, the script sees three unrelated visitors unless it falls back to fingerprinting or a shared login.

## Common mistakes

- Assuming that blocking third-party cookies ends cross-site tracking. Fingerprinting, link decoration and logged-in identifiers do the same job.
- Confusing site analytics with cross-site tracking. Counting visits on your own site with a first-party script does not require following anyone across sites.
- Thinking a hashed email is a privacy measure when it is sent to several companies. A stable hash is exactly what lets them join the records.

## How CrispStats shows it

CrispStats does not track anyone across sites. It sets no cookies, and the daily visitor hash includes the site id, so the same person gets unrelated ids on two sites that both use CrispStats, and a new id the next day. Data is never pooled across customers or shared with ad networks. The opt-in persistent visitor mode keeps a random id in localStorage on your own domain only, which follows a visitor across days on your site, not across sites.

## Related terms

- [Third-party cookie](/glossary/third-party-cookie)
- [Browser fingerprinting](/glossary/browser-fingerprinting)
- [First-party cookie](/glossary/first-party-cookie)
- [Visitor hash](/glossary/visitor-hash)
- [Cookieless tracking](/glossary/cookieless-tracking)
- [Global Privacy Control (GPC)](/glossary/global-privacy-control)
- [Ad blocker](/glossary/ad-blocker)
