Skip to main content

How to block third-party trackers in your browser

Cookies are data artifacts saved by web browsers on our internet-connected devices. They keep a record of the websites you visit, and in the case of first-party cookies, they're important for certain essential website features.

Difficulty

Easy

Duration

5 minutes

What You Need

  • A device with a web browser

  • Possibly a VPN

Third-party cookies, on the other hand, raise privacy, security, and ethical concerns. Privacy is critical for most people today due to the increase in data breaches, leading many users to look for extra layers of security when browsing.

How do I stop browser tracking?

Third-party cookies represent another easy opportunity for internet users to block some efforts to track and capitalize on their internet traffic and web searches. Here’s how you can block this third-party tracking to stay safe.

Block cookies with a VPN

One way to block browser tracking is using a virtual private network (VPN) to decouple your IP address from your online activity. Mullvad and ProtonVPN are typically spoken of favorably among the privacy-literate, but you're encouraged to do your own research.

VPNs don’t technically block cookies, but they provide a way around them. Since these programs reroute your internet traffic through servers in other locations, they’ll mislead some tracking cookies. Some VPNs also come with a feature you can turn on to block cookies. Look for a switch saying something along the lines of “block third-party tracking” to enable this.

Block cookies in incognito mode

A frequently asked question is: Should I block third-party cookies in incognito? If incognito keeps your website activity hidden, then what's the meaning of blocking third-party cookies in incognito?

Unless you're using a niche browser, entering incognito mode almost certainly disables third-party cookies. Using a browser with any appreciable market share should be fine where third-party cookies are concerned. While your browser will store cookies in incognito mode while you have the window open, it’ll delete them as soon as you close it, stopping third parties from tracking you.

Some modern web browsers also provide a "Do Not Track" option that you can toggle, which has the same effect as disabling third-party cookies, even when you’re not in incognito. Here’s how to block tracking cookies in Chrome and other major web browsers and operating systems.

How to block tracking cookies in Google Chrome

Here's how to block tracking cookies in Chrome and other major web browsers and operating systems.

If you have Chrome, here are some ways to block tracking cookies in your browser:

Step 1: First, tap or click the menu icon in the upper-right corner of your open Chrome Window.

Step 2: In the menu that drops down, select Settings.

Step 3: Within Settings, find the Privacy and Security section.

Step 4: Select Cookies and other site data.

Step 5: The resulting menu gives you granular control over third-party cookies in windows, incognito windows, and more — including blocking them entirely.

Why are cookies a problem for privacy?

This is a problem for the privacy-minded. There are ethical and possibly legal ramifications for what that website or online service is doing. However, users can receive a detailed summary of any browser fingerprinting or user profiling going on behind the scenes. If so, they must select "yes" in an accompanying opt-in form. States and territories like California and the U.K. are trying to open the “black box” of web-user data-gathering practices using privacy-focused legislation.

There are reasons why this technology exists and reasons a user may wish to opt-in. One way or another, people see advertisement at various points in their day. Some internet users might not mind the prospect of more relevant ads.

Whether or not the methods used to target those ads are ethical is a question best left to individuals. If you want to know more about cookie privacy, check out Digital Trends' piece here: Are cookies crumbling our privacy? We asked an expert to find out.

How to disable third-party cookies in Safari

Here's how to disable cookies in Safari's browser:

Step 1: Click Safari > Preferences in the menu bar for your open Safari window.

Step 2: Navigate to the Privacy panel in the menu that opens.

Step 3: Beside Cookies and Website Data, click the button for Block All Cookies.

Step 4: If you're using iOS or iPadOS, open the Settings app and navigate to the Safari settings. Under Privacy & Security, toggle the Block All Cookies switch to on.

How to disable third-party cookies in Firefox

If you have Firefox, here's how to disable third-party cookies in your browser:

Step 1: Select the main menu from the upper-right corner.

Step 2: Select Options > Privacy & Security in the drop-down menu.

Step 3: You'll see a Browser Privacy section. To block cookies, move the toggle from Standard protection to Custom protection.

Step 4: Custom protection provides options to block all third-party cookies, third-party cookies from sites you didn't visit, and other options.

mozilla firefox chrome review comparison 2020 mozillafirefoxcomentillustration
Mozilla

How to disable third-party cookies on Android and iOS

Disable third-party cookies on Android if you're using Chrome. You can do so easily using the above steps. If you're using an alternative browser, that product may have its own settings for manipulating or disabling cookies. Chrome on Android has the benefit of offering third-party cookie-blocking functionality even for websites you've otherwise whitelisted. If you’re looking for a similar system-level cookie-disabling setting for iOS, you’ll only find it for Safari (as described in the steps above). Alternate browsers will have individual settings.

Why you might want to block third-party cookies

You may want to know a little more about cookies. You may ask: What is a browser tracker, and is a cookie the same thing? For our purposes, the answer is "yes." Whereas first-party cookies help provide a smooth user experience and ensure all elements display as intended, third-party cookies track user and device metrics for a range of possibly questionable purposes.

What do third-party cookies do?

The most common reason for implementing third-party cookie functionality is for ad revenue. Using cookies, ad services can target certain demographics and user groups based on their cookie "bread crumbs." From web searches to site-specific browsing history, it's all up for grabs. It's even possible for advertisers to track users across websites if those websites are members of the same ad services network.

Why are third-party cookies a problem for privacy?

This is a problem for the privacy-minded. There are ethical and possibly legal ramifications for what that website or online service is doing. However, users can receive a detailed summary of any browser fingerprinting or user profiling going on behind the scenes. If so, they must select "yes" in an accompanying opt-in form. States and territories like California and the U.K. are trying to open the “black box” of web-user data-gathering practices using privacy-focused legislation.

There are reasons why this technology exists and reasons a user may wish to opt in. One way or another, people see advertisements at various points in their day. Some internet users might not mind the prospect of more relevant ads.

Whether or not the methods used to target those ads are ethical is a question best left to individuals.

What are some examples of third-party cookies?

Some of the most prolific third-party cookies originate from just two companies: Google and Facebook. The most common third-party trackers from these two technology multinationals include: * Google Analytics -- Used by marketers and webmasters to analyze web traffic and user behaviors in order to tailor content and marketing efforts. * Google Doubleclick and AdSense -- Marketers and webmasters use these ad services to target relevant ads to users based on their behavior on the website and potentially across other websites. * Facebook -- Even something as innocuous as a Like button, embedded content, or a Log In With Facebook option may be enough for companies to form a user profile using Facebook cookies.

Third-Party Cookies Aren't for Everyone All of this is probably enough to leave you wondering: With all of the problems associated with web tracking, which browser does not track me and my internet searches? Avast Browser, Brave, and Safari often receive shout-outs for obfuscating certain browser fingerprinting clues by default. Firefox and Microsoft Edge receive their own accolades for implementing more security-focused DNS protocols. For most people, third-party cookies are mostly benign, even if they’re somewhat intrusive and a little creepy. If you want to take internet security more seriously than most, however, and remove one more tool bad actors can use to track your online activity, consider blocking third-party cookies using this guide.

Editors' Recommendations

Shannon Flynn
Computing Writer
Shannon Flynn is a technology writer who covers trends in business, cybersecurity and IT trends. She is a contributor at…
Google Chrome’s latest update solves the browser’s biggest problem
Google Chrome icon in mac dock.

Google Chrome is one of the best browsers around, but it's always had a big problem with memory usage. It's finally addressing the issue in a new Chrome 110 update that promises to reduce RAM usage by up to 30% and make the browser for efficient.

Chrome has a reputation for its speed, security, and feature drops, as well as a penchant for hanging on to your precious RAM like an episode of Hoarders. Granted, Google has made strides in improving Chrome's memory efficiency by hibernating tabs in the background, but it still struggles with it compared to Microsoft Edge or Mozilla Firefox.

Read more
The best web browsers for 2023
Lenovo IdeaPad 530S

All web browsers have the same basic function, and yet, the choice between them has always been one of the most contentious in tech history. You have more options these days than ever before, whether you're looking for the best web browser for privacy, the best for speed, or perhaps something a bit more adventurous.

To help you decide on the best web browser, we grabbed the latest browsers and put them through their paces. Even if some could use a complete overhaul, these options are your best chance for a great online experience.
The best web browser: Google Chrome
Google Chrome 88
Chrome is ubiquitous -- and for good reason. With a robust feature set, full Google Account integration, a thriving extension ecosystem (available through the Chrome Web Store), and a reliable suite of mobile apps, it’s easy to see why Chrome is the most popular and the best web browser.
Chrome boasts some of the most extensive mobile integration available. Served up on every major platform, keeping data in sync is easy, making browsing between multiple devices a breeze. Sign in to your Google account on one device, and all Chrome bookmarks, saved data, and preferences come right along. Even active extensions stay synchronized across devices.
Chrome's password manager can automatically generate and recommend strong passwords when a user creates a new account on a webpage. Managing saved passwords is even easier given the new Password Manager and the ability to add notes to passwords. The search bar, or Omnibox, provides "rich results" comprised of useful answers. Favorites are more accessible as well, and they're manageable on the New Tab page. And it's now easier to mute tabs to avoid unwanted sounds.

Read more
Google may have just fixed Chrome’s most annoying problem
A Macbook with Google Chrome opened to a Gmail inbox.

While Google Chrome is one of the best web browsers, over the years it has gained a reputation for being something of a resource hog, gobbling up your PC’s memory like it’s going out of style. That can be a problem if you’re running other resource-heavy tasks and don’t want things to slow down. Now, Chrome has been updated with two new features that cut down on memory usage and extend your laptop’s battery life, according to Google. The changes are set to roll out today with the latest release of Chrome on desktop (version m108).The first new feature, dubbed Memory Saver, is designed to reduce the amount of memory Chrome’s tabs use. It does this by freeing up memory from inactive tabs, and putting them to sleep so they can’t monopolize your system’s resources. When you need to access the tabs again, they will be reloaded and become active. The goal of Energy Saver, meanwhile, is fairly self-explanatory -- helping your laptop battery last longer -- but it does so in a somewhat interesting way. When your battery drops to 20%, Chrome will try to prolong your battery life by “limiting background activity and visual effects for websites with animations and videos.”Presumably, this means Chrome will limit the kind of flashy effects that have made a comeback in web design in recent years. Google says that when these new features launch, users will still be able to customize them to their liking. You can disable either Memory Saver or Energy Saver (or both), and mark certain websites as exempt in Chrome’s settings. The changes could turn out to be important. While Chrome has managed to become the dominant Windows web browser and one of the best browsers for Mac, it has been plagued by poor memory management for years. If Memory Saver and Energy Saver are able to help ameliorate that -- and make your battery last longer too -- then Google might have gone some way to fixing Chrome’s biggest problem. Both Memory Saver and Energy Saver will be launched globally over the next few weeks. The features are coming to Chrome on Windows, macOS, and ChromeOS.

Read more