term tracking-preventionfield Measurementread 5 min read

Tracking Prevention

Tracking Prevention is a browser-level setting that blocks or limits third-party scripts, cookies, and pixels from collecting data about a user as they move from one site to another. It is designed to stop companies from building profiles of users across unrelated websites.

5 min readMeasurement
Reviewed context
Term snapshot

A browser-level setting that blocks or limits third-party scripts, cookies, and pixels from collecting data about a user as they move from one site to another.

Search context

Web developers auditing third-party scripts and data collection methods.

01What it is and how it works

Browsers like Safari, Firefox, and Chrome implement Tracking Prevention through built-in lists and heuristics. When a page loads, the browser checks each script, cookie, or pixel request against a list of known trackers. If a request is flagged, the browser blocks it or partitions the cookie so it cannot be read across sites. For example, Safari uses the Storage Access API to grant temporary access to cookies only when a user interacts with an embedded element. Chrome's upcoming third-party cookie deprecation will extend this by default, blocking most cross-site identifiers unless the site passes a user interaction test. The mechanism runs entirely on the user's device, so the website owner has no control over whether a given request is blocked.

Tracking Prevention stops websites from secretly following you around the internet by blocking the tools that share your activity with other companies.

02What to do about it

This week, audit your site for third-party scripts that load from domains other than your own. Use your browser's developer tools to open the Network tab and reload the page, then filter by third-party domains. Remove or lazy-load non-essential embeds like social widgets, chat plugins, or analytics scripts that are not critical to core functionality. For essential third-party tools, confirm they support first-party contexts or have updated to comply with browser requirements. If you rely on cross-site measurement, shift to first-party data collection and pass identifiers through URL parameters or server-side redirects instead of relying on third-party cookies.

03How it is measured or noticed

You will notice Tracking Prevention when cross-site conversion tracking drops, retargeting lists stop populating, or embedded third-party content fails to load. In browser developer tools, blocked requests appear with a status of "blocked" or "canceled" in the Network tab, often with a message like "Blocked by Privacy Settings." Analytics platforms may show a decline in attributed conversions from Safari or Firefox users. Server logs will show fewer cookie sync requests from known tracker domains.

04Common mistakes

  • Assuming all third-party scripts are blocked — many are allowed if they are first-party or pass user interaction tests
  • Relying on third-party cookies for conversion attribution without a fallback plan for blocked browsers
  • Not testing in browsers with Tracking Prevention enabled, especially Safari and Firefox
  • Ignoring the impact on embedded content like videos, maps, or social feeds that depend on cross-site identifiers

05Limits

Tracking Prevention does not block first-party cookies or scripts that load from your own domain. It also does not prevent server-side tracking or fingerprinting that does not rely on browser storage. It is often confused with ad blockers, but ad blockers use community-maintained filter lists while Tracking Prevention is built into the browser and focuses specifically on cross-site data collection. Additionally, it does not apply to mobile apps or in-app web views that do not use the system browser engine.

06Worked example

A retail brand runs a Facebook pixel to track purchases across its website. After Safari enables Tracking Prevention, the pixel is blocked from setting cookies on the brand's domain. Conversions that previously appeared in Facebook Ads Manager stop reporting for Safari users. The brand switches to server-side event tracking, sending purchase data directly from its backend to Facebook using a user identifier passed through the URL. Conversion tracking resumes for all browsers, including those with Tracking Prevention enabled.

Frequently asked questions

How does Tracking Prevention differ from an ad blocker?

Tracking Prevention is a browser-native feature that selectively restricts cross-site tracking based on heuristics and blocklists, while ad blockers are user-installed extensions that filter network requests using community-maintained filter lists. Ad blockers can remove ads and trackers more aggressively, but Tracking Prevention applies to all users of that browser by default.

Should I move to server-side tagging to reduce Tracking Prevention impact?

It depends on your architecture and data governance needs. Server-side tagging shifts measurement to your own domain, which avoids third-party cookie restrictions, but it requires infrastructure investment and careful handling of user consent. It does not circumvent all browser protections, such as IP masking or client-side fingerprinting defenses.

How do browsers classify a domain as a tracker?

Browsers use a combination of curated blocklists (like Disconnect), heuristic analysis of request patterns, and machine-learning models that observe behaviors such as cookie syncing, redirect chains, and cross-site script execution. The exact criteria vary by vendor and evolve with each browser release.

Will Tracking Prevention break my first-party analytics if I use a CDN subdomain?

Usually not, provided the subdomain is properly configured as a first-party context (e.g., analytics.example.com) and sets cookies with the SameSite attribute set to Lax or None with Secure. However, some browsers treat subdomains as distinct parties if they detect tracking-like behavior, so testing across Safari, Firefox, and Chrome is essential.

What specific metrics should I monitor to detect Tracking Prevention impact early?

Watch for sudden drops in cross-site conversion attribution, shrinking retargeting audience sizes, increased "direct" or "unattributed" traffic, and failed loads of third-party pixels in the network console. Correlate these with browser version rollouts to isolate the effect.

Asked out loud

spoken, not typed

The same term in the words somebody uses speaking to an assistant rather than typing into a box — written from the situation, which is why each one carries the situation it came from.

The client just sent a screenshot showing conversions tanked since Tuesday — is it that Safari privacy feature blocking our pixels?

Yes, Safari's Intelligent Tracking Prevention often causes sudden attribution drops after updates. Check if the decline aligns with a Safari release and verify whether your pixels are loading from a third-party domain.

client emergencyreport review
I'm on the train looking at GA4 and the purchase events are half of yesterday — why would the browser stop sending them?

It depends on the browser and your cookie setup. Firefox and Safari may block third-party cookies by default, so if your GA4 tag loads from a different domain, events can be dropped. Confirm your measurement ID is on your own domain.

on the movephone only
I'm debugging checkout and the Facebook pixel request shows 'blocked by tracking prevention' — did I misconfigure the domain?

Usually the pixel is loading from a third-party domain like facebook.net, which browsers now block by default. You need to proxy the pixel through your own domain or use the Conversions API to send events server-side.

hands busydebugging

More in Measurement