The average website loads 5โ10 tracking scripts alongside its actual content. These include ad pixels from Facebook, Google, TikTok and others โ all quietly recording your visit and adding you to advertising audiences. The good news: there are powerful, free tools that block virtually all of them.
This guide covers every effective method, from beginner-friendly browser extensions to advanced network-level blocking, so you can choose the approach that fits your technical comfort level.
๐ก Before blocking, you can scan any website to see exactly which trackers it's running. This gives you a concrete picture of what you're up against.
Method 1: Browser Extensions (Most Effective, Easiest)
Browser extensions are the single most impactful step the average user can take. They run directly in your browser and block tracking scripts before they even have a chance to execute.
uBlock Origin โ The Gold Standard
๐ก๏ธ uBlock Origin
Platforms: Chrome, Firefox, Edge, Opera, Safari (via uBlock Origin Lite)
Cost: Free & open source
Effectiveness: โ
โ
โ
โ
โ
uBlock Origin is widely considered the most effective ad and tracker blocker available. Unlike many competitors, it uses efficient block lists with minimal performance impact. Key features:
- Blocks the Meta Pixel, Google Ads tags, TikTok Pixel, and dozens of other trackers by default
- Uses multiple crowd-maintained filter lists (EasyPrivacy, EasyList, uBlock's own lists)
- Element picker to manually hide any remaining ads or annoyances
- Advanced "dynamic filtering" mode for power users
- Regularly updated to catch new tracker domains
Installation: Search "uBlock Origin" in your browser's extension store. The Chrome Web Store version is the official release. Enable "EasyPrivacy" and "Fanboy's Annoyances" filter lists in its settings for maximum coverage.
โ ๏ธ Note: There is a scam extension called "uBlock" (without "Origin") in some extension stores. Make sure you install the correct one by Raymond Hill (gorhill).
Privacy Badger โ Smart Tracker Detection
๐ฆก Privacy Badger
Platforms: Chrome, Firefox, Edge, Opera
Cost: Free, made by the Electronic Frontier Foundation (EFF)
Effectiveness: โ
โ
โ
โ
โ
Privacy Badger works differently to uBlock Origin. Rather than relying on pre-compiled block lists, it learns which trackers to block based on their behaviour โ specifically, whether they track you across multiple unrelated websites. Benefits:
- Detects new and unknown trackers automatically
- Uses a nuanced three-state system: allow, partially block (cookie-blocking only), or fully block
- Complements uBlock Origin well โ use both together
- Backed by the EFF, a reputable digital rights organisation
Best practice: Run uBlock Origin as your primary blocker and Privacy Badger alongside it for catching any trackers that slip through.
Ghostery โ Tracker Transparency
๐ป Ghostery
Platforms: Chrome, Firefox, Edge, Safari
Cost: Free (with optional paid tier)
Effectiveness: โ
โ
โ
โ
โ
Ghostery provides excellent transparency alongside blocking โ you can see exactly which trackers it's blocking on each page, along with details about what each tracker does. This makes it particularly educational. It now has a strong blocking engine and is a solid choice, particularly for users who want visibility into what's being blocked.
Note: Ghostery had a controversial history with its "Ghostrank" programme that shared user data. This programme was discontinued following its acquisition by Cliqz, but privacy-conscious users may prefer the EFF's Privacy Badger.
Method 2: Privacy-First Browsers
If you want strong tracking protection without managing extensions, switching browser is the most impactful single change you can make.
Firefox with Enhanced Tracking Protection
๐ฆ Mozilla Firefox
Platforms: Windows, macOS, Linux, iOS, Android
Cost: Free
Built-in tracking protection: โ
โ
โ
โ
โ
Firefox's Enhanced Tracking Protection (ETP) in Strict mode blocks:
- Third-party cookies from known trackers
- Tracking content in all windows (not just private browsing)
- Cryptominers and fingerprinters
- Cross-site tracking cookies
How to enable Strict mode: Firefox Settings โ Privacy & Security โ Enhanced Tracking Protection โ Select "Strict". Note that Strict mode can occasionally break some websites.
Firefox also supports Total Cookie Protection (enabled by default), which confines cookies to the website that created them โ preventing cross-site tracking even from cookies that aren't on block lists.
Brave Browser โ Privacy by Default
๐ฆ Brave
Platforms: Windows, macOS, Linux, iOS, Android
Cost: Free
Built-in tracking protection: โ
โ
โ
โ
โ
Brave is built on Chromium (the same base as Chrome) but ships with aggressive tracker and ad blocking enabled out of the box. There's nothing to configure โ it just works. Key features:
- Blocks ads and trackers by default on every page
- Blocks fingerprinting attempts
- Upgrades connections to HTTPS automatically
- Built-in Tor integration for private browsing windows
- Blocks bounce tracking and link tracking (UTM parameters)
Brave consistently tests as one of the most privacy-protective browsers in independent audits. If you want maximum protection with zero configuration, it's the top recommendation.
Safari with Intelligent Tracking Prevention (ITP)
Apple's Safari browser includes Intelligent Tracking Prevention, which uses machine learning to identify and block cross-site tracking. On iOS, Safari is generally the most privacy-protective browser available (and third-party browsers on iOS use Apple's WebKit engine anyway). ITP blocks most third-party cookies and limits the information available to fingerprinters.
Method 3: DNS-Level Blocking
DNS blocking prevents tracking scripts from loading by blocking requests to known tracker domains at the network level โ before they even reach your browser. This protects every device on your network, including smart TVs, gaming consoles and IoT devices.
NextDNS โ Cloud DNS with Tracker Blocking
โ๏ธ NextDNS
Platforms: Browser, Windows, macOS, iOS, Android, router
Cost: Free up to 300,000 queries/month; $19.90/year for unlimited
Effectiveness: โ
โ
โ
โ
โ
NextDNS is a configurable DNS resolver that blocks tracking domains before they load. You can enable specific block lists including:
- The EasyPrivacy list (blocks almost all ad trackers)
- NoTrack Tracker Blocklist
- OISD โ a comprehensive aggregated block list
NextDNS also provides analytics showing which domains are being blocked โ fascinating and often alarming to look at.
Pi-hole โ Self-Hosted DNS Blocking
For technical users, Pi-hole is a self-hosted DNS sinkhole that runs on a Raspberry Pi (or any Linux server) on your home network. It blocks tracker domains for every device on your network with no configuration required on individual devices. It's one of the most powerful privacy tools available but requires some technical setup.
Method 4: VPN Usage
A VPN (Virtual Private Network) protects your privacy primarily by:
- Hiding your IP address from websites you visit (they see the VPN server's IP instead)
- Encrypting your traffic so your ISP can't see which sites you visit
- Preventing IP-based location tracking
However, a VPN alone does not block tracking pixels or ad scripts. A VPN provider like Mullvad or ProtonVPN can help prevent IP-based tracking and ISP snooping, but the JavaScript tracking pixels loaded by websites will still fire โ just with a different IP address attached.
Some VPN providers (like Mullvad, Nord, and others) offer built-in DNS filtering that blocks tracker domains. If you're using a VPN, check if it includes a tracker-blocking DNS feature and enable it.
For complete protection, combine a privacy-focused VPN with uBlock Origin and a privacy browser.
Method 5: Opt-Out Registries
Several industry bodies allow you to opt out of interest-based advertising. While these don't block the pixels from firing entirely, they can prevent your data from being used to target ads.
Network Advertising Initiative (NAI)
The NAI's opt-out tool at optout.networkadvertising.org lets you opt out of advertising from over 100 member companies simultaneously. Note: this relies on opt-out cookies, so it won't work in private browsing or if you clear cookies.
Digital Advertising Alliance (DAA)
The DAA's YourAdChoices programme at optout.aboutads.info provides similar opt-outs for DAA member companies. The DAA also offers an AppChoices mobile app for opting out of interest-based advertising in mobile apps.
European Interactive Digital Advertising Alliance (EDAA)
European users can opt out via youronlinechoices.com.
โ ๏ธ Important caveat: These opt-outs don't prevent tracking โ they only (in theory) prevent that tracking data from being used to target advertising at you. The data is still collected. Technical blocking methods are far more effective.
Method 6: Mobile Privacy Settings
iOS โ App Tracking Transparency
Apple's App Tracking Transparency (ATT) framework, introduced in iOS 14.5, requires apps to explicitly ask permission before tracking your activity across other companies' apps and websites. To manage this:
- Go to Settings โ Privacy & Security โ Tracking
- Toggle off "Allow Apps to Request to Track" to automatically deny all tracking requests
- Review individual app permissions and revoke any you've previously granted
Also enable Settings โ Safari โ Prevent Cross-Site Tracking and turn on Private Browsing for sensitive searches.
Android โ Advertising ID
Android uses an Advertising ID (similar to Apple's IDFA) that allows apps to track you across applications. To disable it:
- Go to Settings โ Google โ Ads (may vary by Android version)
- Select "Delete advertising ID" (Android 12+) or enable "Opt out of Ads Personalisation"
- On Android 12 and later, you can permanently delete the ID โ meaning apps can no longer use it for cross-app tracking
Also consider using Firefox Focus on Android, which blocks trackers by default and deletes all browsing data when you close it.
The Recommended Setup for Most Users
If you want the best balance of protection and convenience, here's what we recommend:
- Install uBlock Origin in your primary browser (5 minutes)
- Switch to Firefox or Brave as your main browser and enable strict tracking protection (15 minutes)
- Set up NextDNS on your home router or devices to catch anything that slips through the browser (30 minutes)
- On iPhone: Disable all tracking permissions in Settings โ Privacy โ Tracking (2 minutes)
- On Android: Delete your Advertising ID in Google settings (2 minutes)
With these steps in place, the vast majority of tracking pixels and remarketing scripts โ including the Meta Pixel, Google Ads tags, TikTok Pixel, and dozens of others โ will be blocked before they ever load.
๐ See What's Tracking You Right Now
Before you block anything, use our free scanner to get a baseline of how many trackers your favourite websites are running. You might be surprised.
Scan a Website for Free โWhat You Can't Block (And Why)
Even with all of the above in place, there are some tracking methods that are very difficult to block completely:
- Server-side tracking โ When websites fire pixel data from their own servers rather than your browser, ad blockers can't intercept it
- First-party cookies โ Cookies set by the website you're actually visiting can't be blocked without breaking site functionality
- CNAME cloaking โ A technique where trackers disguise themselves as first-party subdomains to evade browser-based blocking
- Browser fingerprinting โ Building a unique profile of your device without cookies; harder to block though Brave and Firefox have fingerprinting resistance built in
No single tool provides 100% protection. The goal is to make tracking difficult and expensive enough that the bulk of it fails โ which the methods above achieve very effectively.
Summary
- Best quick win: Install uBlock Origin (5 min, free, blocks 95%+ of trackers)
- Best browser switch: Brave (zero configuration, excellent default protection)
- Best network-level: NextDNS (protects all devices on your network)
- Best for mobile: Disable tracking permissions in iOS/Android settings
- Remember: Opt-out registries reduce ad targeting but don't stop data collection โ technical tools are far more effective