How Ad Tracking Works
You search for a product, and moments later ads for that exact item appear on a completely different website. Behind this phenomenon lies ad tracking technology. Advertising networks track your browsing behavior and serve ads tailored to your interests.
Tracking methods are varied, but understanding the most common techniques is the first step toward protecting yourself.
Common Tracking Techniques
Third-Party Cookies
These are cookies issued by a domain different from the site you're visiting. Ad networks use these cookies to track your activity across multiple websites.
Tracking Pixels
A transparent 1×1 pixel image is embedded in a web page or email. When it loads, the tracker records your activity.
Browser Fingerprinting
This technique combines your browser's configuration details — screen resolution, installed fonts, plugins, and more — to create a unique identifier. Because it works even after cookies are deleted, it's considered particularly difficult to counter. Learn more in our article on browser fingerprinting.
CNAME Cloaking
To circumvent third-party cookie restrictions, the tracking domain is configured as a subdomain of the site operator's domain. This causes the tracking cookie to be treated as a first-party cookie, bypassing browser blocking mechanisms.
How to Prevent Tracking
Adjust Your Browser Settings
- Block third-party cookies (configurable in most browsers)
- Enable Do Not Track (though it has no legal enforcement power)
- Set cookies to be automatically deleted when the browser closes
- Use private browsing (incognito mode)
Install Tracking Prevention Tools
- uBlock Origin: A comprehensive extension that blocks ads and trackers
- Privacy Badger: A learning-based tracker blocker developed by the EFF
- Firefox Enhanced Tracking Protection: Blocks many trackers by default
Use a Privacy-Focused Browser
Pair a privacy-focused search engine with a privacy-oriented browser like Firefox or Brave to significantly reduce tracking.
Manage Your Smartphone's Advertising ID
On iOS, disable "Allow Apps to Request to Track." On Android, reset your Advertising ID or opt out of personalization. For details, see our guide on smartphone privacy settings.
The Future of Ad Tracking
As third-party cookies are phased out, the advertising industry is exploring new tracking methods. Technologies like Google's Topics API and the Attribution API — which measures ad effectiveness on-device — aim to balance privacy with advertising performance.
Regardless of how the technology evolves, it remains important for users to stay aware of how their data is collected and used, and to take appropriate protective measures.