All About Cookies is an independent, advertising-supported website. Some of the offers that appear on this site are from third-party advertisers from which All About Cookies receives compensation. This compensation may impact how and where products appear on this site (including, for example, the order in which they appear).
All About Cookies does not include all financial or credit offers that might be available to consumers nor do we include all companies or all available products. Information is accurate as of the publishing date and has not been provided or endorsed by the advertiser.
The All About Cookies editorial team strives to provide accurate, in-depth information and reviews to help you, our reader, make online privacy decisions with confidence. Here's what you can expect from us:
- All About Cookies makes money when you click the links on our site to some of the products and offers that we mention. These partnerships do not influence our opinions or recommendations. Read more about how we make money.
- Partners are not able to review or request changes to our content except for compliance reasons.
- We aim to make sure everything on our site is up-to-date and accurate as of the publishing date, but we cannot guarantee we haven't missed something. It's your responsibility to double-check all information before making any decision. If you spot something that looks wrong, please let us know.
Some cookies, like session cookies, are convenient because they allow you to easily log back into a website and pick up where you left off. However, internet users are wary of third-party tracking cookies, which can track your digital footprint around the internet without your knowledge and may feel like an invasion of your privacy. Fortunately, due to data privacy laws enacted by the GDPR and CCPA, websites aren't allowed to collect or share data without your consent (or opt in).
Tracking cookies can be used to collect analytics for the website owner, but they're more commonly known for creating digital profiles of you for marketing purposes. Continue reading to learn about tracking cookies and how to keep your online privacy safe with VPNs, ad blockers, secure browsers, and more.
Examples of tracking cookies
What data do tracking cookies collect?
How to prevent online tracking
FAQs
Bottom line
What are tracking cookies?
Tracking cookies keep track of what you do online and collect information about you. Most of the time, marketing, advertising, and search engine companies use them to show you ads based on what you do on the internet.
Companies such as Facebook (Meta), Google, Adobe, and Twitter, to name a few, are well-known for doing this. (However, Apple prioritizes privacy and may use cookies for functionality while using its Intelligent Tracking Prevention (IPT) feature to block third-party cookies and prevent cross-site tracking in Safari.)
Some companies even use Google Analytics’s advertising features that allow them to collect data from other websites with Google’s advertising cookies or tracking cookies. This allows them to retarget you with ads based on your specific behavior, demographics, and interests.
Tracking cookies is one of the main reasons you see so many cookie pop-ups online now. This is mainly because some places, like the U.K. and the European Union (EU), have cookie laws that say websites have to get permission from visitors to collect their information. The websites must also tell visitors how their data is used in order to comply with the EU’s General Data Protection Regulation (GDPR).
Canada and the U.S. don’t have any cookie laws. However, the states of California and Virginia have the strictest laws that govern cookies.
- California Consumer Privacy Act (CCPA): The CCPA requires companies that use cookies to inform website visitors how they will collect and use their data and provide opt-out options.
- Virginia Consumer Data Protection Act (VCDPA): Signed into law on March 2, 2021, the VCDPA took effect on Jan. 1, 2023, and requires companies to give consumers the right to make decisions with their personal data and opt out of targeted advertising.
So, how do tracking cookies get onto your device? When you go to a website that uses tracking cookies, your browser talks to the web server, and the web server sends a tracking cookie back to your browser, which is then stored on your device.
Each tracking cookie is given a unique identifier (ID) that’s used to recognize you and the device you’re using. By identifying you, tracking cookie data lets advertisers show ads relevant to your interests based on how you use the web.
Tracking cookies are often third-party cookies, but sometimes they’re first-party cookies too.
First-party cookies
First-party cookies are associated with a file that you request from the same domain as the web page you are viewing. When you visit amazon.com, for example, your browser stores several cookies associated with the *.amazon.com domain name.
First-party cookies typically only collect data from your browser activity, such as your login information, the type of device you use, what pages you viewed, and language settings, in order to create a personalized and pleasant user experience on a website.
Third-party cookies
If a cookie is associated with a file requested from a different domain, then it’s a third-party cookie. For example, if you visit amazon.com and Amazon requests files from facebook.com and they include *.facebook.com cookies, those are third-party cookies.
Tracking cookies are often third-party cookies, which advertisers and marketers extensively use.
If you don’t want tracking cookies to track your digital footprint, you can disable or clear them in your browser settings. To do this, open up your browser and select Settings, then Privacy and Security or similar section, and look for a Cookies option.
To learn how to disable cookies, clear your browser cache, or get rid of tracking cookies data, follow the instructions for your browser:
Where did cookies come from?
In 1994, Lou Montulli, a 24-year-old computer programmer for Netscape at the time, invented the first cookie. He made it so that online stores didn't have to store customers' shopping cart information on their web servers, which was taking up too much space. Instead, a user's shopping cart information is stored on their computer.
Today, almost all websites use cookies, and some websites contain hundreds of them. Most of them provide the benefits of convenience.
Examples of tracking cookies
Many tracking cookies on the internet belong to advertising networks. You may have recognized at least one of them as cookies for advertising purposes. Here are some examples:
- googleleads.g.doubleclick.net
- amazon-adsystem.com
- demdex.net (Adobe uses this)
- c.bing.com
- quantserve.net
- analytics.yahoo.com
- addthis.com
- TrackingCookie.Statcounter
- TrackingCookie.Yieldmanager
Yes. When you visit the Facebook website and log in, it places a tracking cookie on your browser. That means when you visit a website or social media site that has Facebook integrated (such as Instagram), it can determine whether you have a Facebook account.
This is one of the reasons why, when you use Instagram and follow a lot of accounts associated with dogs, for example, you’ll start seeing targeted ads showing dogs all over your feed when you log into your Facebook account. Learn how to disable Facebook tracking in our guide.
What data do tracking cookies collect?
Tracking cookies may pose a privacy risk by collecting data about you all across the web. Here is a list of data that could be collected from your browsing activity:
- Google search history (or other browsing history)
- Purchases
- Clicked links
- Liked pages and posts
- Genres followed
- When and where an advertisement was viewed
- Geographic location
- Browser and device attributes
Are tracking cookies an invasion of privacy?
Yes. Because tracking cookies are used to gather information about you and keep track of your activities across various websites rather than to improve your experience, they may pose a serious threat to your online privacy. As a result, it’s essential to update your online privacy settings.
How to prevent online tracking
Even the most cautious digital citizens may find it difficult to avoid tracking cookies. The first step to prevent websites from tracking you is to be careful what you click on. You can also hide your browsing history or prevent tracking by disabling cookies by using a VPN, remote or privacy-focused web browsers, and an ad blocker that identifies and blocks cookies.
Disable browser cookies
To avoid cross-site tracking, disable and delete browser tracking cookies. Check out the links below for further instructions on how to get rid of cookies on computers and browsers.
Install a VPN
A VPN, which stands for virtual private network, lets you hide your internet protocol (IP) address to protect your online identity. Although it doesn’t prevent tracking cookies from Google, a VPN may hide your browsing history to an extent and secure your internet connection on public Wi-Fi.
Here are some tested VPN recommendations for boosting your privacy:
Set up an ad blocker
The best ad blockers help protect your privacy by blocking third-party trackers, pop-ups, malicious ads, and annoying banners. They also have extra features like custom ad-blocking rules, whitelisting, etc. You can download and install compatible ad blockers as software or browser add-ons.
Ad blocker | ![]() |
![]() |
![]() |
Best for | Best for blocking YouTube ads | Best for streaming | Best overall |
Price | Paid plan costs $1.59/mo (billed annually) | Paid plans start at $1.99/mo (billed every two years) | Starts at $3.59/mo (billed every two years) |
Blocks YouTube ads | |||
Learn more | Get Total Adblock | Get Surfshark CleanWeb Ad Blocking | Get NordVPN Threat Protection |
Use a secure browser
Privacy-focused web browsers provide options to safely browse the web and block, prevent, or automatically delete cookies. Using a remote browser is another highly secure way to browse the web. These top recommended web browsers help keep your online privacy secure from tracking cookies.
Tor
Brave
Opera
DuckDuckGo
Mozilla Firefox
Try remote browser isolation
WEBGAP, a zero-trust remote browser isolation (RBI) platform, costs $5 per month. It lets you use your regular browser without cookies and deletes all browsing activity after a session. WEBGAP isolates your local computer and network from your web browsing, protecting it from tracking cookies and malware. It also lets you use a different IP address without a VPN to hide your identity and browse anonymously. It is simple and easy to use.
Here is an example of how to use a remote browser isolation platform like WEBGAP.
1. You can log into WEBGAP’s remote browser isolation platform via https://webgap.me using your browser. (Safari was used for this demo).
2. After successfully logging into WEBGAP, an empty search address bar will display at the top of your browser window, where you can enter any URL address or link to a website you would like to visit.
3. For this example, we'll go to google.com and search for "affordable browser isolation."
4. Google was able to query the search results that were requested.
You can safely browse the web with WEBGAP using any browser without worrying about tracking cookies, malware, threats on the web, or your device and IP address being exposed.
Unless you use a VPN or remote browser platform, incognito mode doesn't hide your IP address, but it does hide your browsing history and prevent personalized ads and recommendations. There are numerous other advantages to using incognito mode.
FAQs
Are third-party tracking cookies spyware?
No. Spyware is a type of malicious software, or malware, that secretly records your activities and infects your device. It’s usually installed along with adware. This can happen while browsing on a website and clicking on an unsuspecting ad or link that automatically installs adware on your browser without your knowledge.
Although third-party tracking cookies may seem to be what is a spy cookie and cause privacy concerns, they do not install malware that harms your device. That doesn’t mean that spyware or adware may not leverage third-party tracking cookies or ad cookies when they have the ability to, however.
If you're still worried about your privacy, there are ways to prevent third-party cookies from tracking you by turning them off or blocking them. You may also download antivirus or anti-malware software to protect yourself even more.
Are tracking cookies dangerous?
Tracking cookies are not inherently dangerous, but privacy-conscious users may be wary of them. It’s critical for websites to be transparent about their cookie policies, depending on their laws, and to respect the users’ choices when given options for consent.
Even though there are benefits to cookies, such as making the user experience better and more personalized, some cookie features, such as tracking, may make you feel uncomfortable. Once you understand how personal data collection and processing affects you, then you can make informed decisions about third-party tracking cookies.
How do I get rid of tracking cookies?
You may get rid of tracking cookies by disabling, removing, or blocking third-party cookies. You can easily go to your browser’s settings and select an option that allows you to do this. Below is an example of how to block third-party cookies in the Chrome browser.
- On your computer, open Chrome.
- At the top right, click the three horizontally stacked dots and select the Settings cogwheel.
- Under Privacy and security, click Third-party cookies.
- Select an option: Allow third-party cookies, Block third-party cookies in Incognito, or Block all third-party cookies.
Google reports that it plans to phase out third-party cookies on its Chrome browser by late 2024, which may impact the advertising and marketing web landscape if it does.
Bottom line
Advertisers and marketers use tracking cookies to track your browsing activity and target or retarget you with ads based on your online behavior. They're not dangerous but may compromise your privacy.
To protect your online privacy, disable or delete tracking cookies and use a VPN, an ad blocker, and a secure browser or remote browser. For VPNs with the ultimate privacy, you can read our guide on the best VPNs.
![A blue background with images of locks and shields with the text "The Best VPNs" and the All About Cookies logo.](https://cdn.allaboutcookies.org/315x315/filters:quality(75)/images/2023/02/03/best-vpn-services.png)
![A close-up of the YouTube home screen on a user's browser.](https://cdn.allaboutcookies.org/315x315/filters:quality(75)/images/2022/09/02/adobestock_317300863_editorial_use_only.jpeg)
![A finger shown pressing a button on a keyboard that says "Cookie Policy."](https://cdn.allaboutcookies.org/105x105/filters:quality(75)/images/2023/10/16/cookies-keyboard.jpg)
![A man's hand holds a new iPhone with a prompt to allow or not allow Facebook to track activity on the screen.](https://cdn.allaboutcookies.org/105x105/filters:quality(75)/images/2022/12/21/how-to-turn-off-facebook-tracking.jpeg)
![tablet with cookie popup](https://cdn.allaboutcookies.org/105x105/filters:quality(75)/images/2022/04/29/ipad-with-cookie-popup-200x1200.jpg)
![cookie policy popup illustration](https://cdn.allaboutcookies.org/105x105/filters:quality(75)/images/2022/04/29/cookie-policy-illustration-1200x1200.jpg)
![lock image with numbers behind](https://cdn.allaboutcookies.org/105x105/filters:quality(75)/images/2022/05/02/lock-image-with-numbers-1200x1200.jpg)
![personalized content with cookies video](https://cdn.allaboutcookies.org/105x105/filters:quality(75)/images/2022/04/29/personalized-content-cookies-video-1200x1200.jpg)