What Are Cookies? A Simple Explanation
A cookie is a small text file that a website stores on your computer through your browser. That is it. There is nothing mysterious or inherently dangerous about cookies — they are one of the oldest technologies on the web, dating back to 1994. When you visit a website, the server can send a small piece of data — a cookie — that your browser saves. The next time you visit the same site, your browser sends the cookie back. This allows the website to remember things about you between visits. Cookies serve many legitimate and essential purposes. When you log into a website, a cookie remembers that you are logged in so you do not have to enter your password on every page. When you add items to an online shopping cart, a cookie keeps track of what is in it. When you set a website to dark mode or choose a language preference, a cookie remembers that choice. Without cookies, every page load would be a fresh start — no login sessions, no preferences, no shopping carts. A cookie is just a key-value pair — a name and a value, like "session_id=abc123" or "language=en." It also includes metadata: which domain set it, when it expires, and whether it should only be sent over encrypted connections. Cookies cannot execute code, access your files, or install software. They are passive data, not programs. The privacy issues arise not from the technology itself but from how it is used. Specifically, the problem is what happens when cookies are set by a domain other than the one you are actually visiting. That distinction — between first-party and third-party cookies — is the foundation of modern web tracking. Understanding it is essential to understanding how the advertising industry follows you across the internet and why browser makers have spent years trying to stop it.
First-Party vs Third-Party Cookies
The distinction between first-party and third-party cookies is straightforward but has enormous privacy implications. A first-party cookie is set by the website you are visiting. When you go to example.com, and example.com stores a cookie, that is a first-party cookie. It can only be read by example.com. These cookies typically handle essential functionality — keeping you logged in, remembering your preferences, maintaining your shopping cart. First-party cookies are generally benign and necessary for websites to function properly. A third-party cookie is set by a domain other than the one you are visiting. When you go to example.com, but a cookie is set by ads.tracker.com because example.com has embedded an ad or tracking script from that domain, that is a third-party cookie. The critical difference: ads.tracker.com can set and read this same cookie across every website that includes its tracking script. This is the mechanism that enables cross-site tracking. If tracker.com has its script embedded on thousands of websites — news sites, shopping sites, social media platforms, blogs — then tracker.com can see your activity across all of those sites through its cookies. It knows you read an article about running shoes on a news site, then visited a shoe store website, then checked a review site. All through the same cookie. First-party cookies stay within one website. Third-party cookies follow you across the web. That is the fundamental difference, and it is why third-party cookies have been the primary target of browser privacy measures. It is worth noting that the line between first-party and third-party is not always clear. Techniques like CNAME cloaking allow tracking companies to disguise their cookies as first-party by using a subdomain of the site you are visiting. A tracking domain might appear as analytics.example.com instead of tracker.com, making its cookies technically first-party. Safari has implemented countermeasures against this technique, but it illustrates how the tracking industry constantly adapts to circumvent privacy protections.
How Third-Party Cookies Track You Across the Web
Understanding the mechanics of cross-site tracking reveals why third-party cookies have been so valuable to the advertising industry — and so harmful to privacy. Here is how it works in practice. An advertising network — call it AdTrack — provides ad scripts to thousands of websites. When you visit Site A, a news website, your browser loads AdTrack's script along with the page content. AdTrack sets a cookie with a unique identifier — something like "user_id=x7f9k2." This cookie is stored on your computer and associated with AdTrack's domain. Now you visit Site B, an online clothing store that also uses AdTrack. Your browser loads AdTrack's script again and sends along the cookie it previously set. AdTrack now knows that the same person who visited Site A also visited Site B. It records this. Over days and weeks, AdTrack builds a profile: you read articles about technology and cooking, you shop for running shoes and books, you visit travel sites on Friday evenings. AdTrack does not necessarily know your name, but it knows your browsing patterns in remarkable detail. This profile is then used for targeted advertising. When you visit Site C, AdTrack recognizes your cookie and serves you an ad for the running shoes you looked at on Site B. This is why ads seem to follow you around the internet — because they literally do. The scale is staggering. Major advertising networks like those operated by Google and Meta have their tracking scripts embedded on millions of websites. Google's various tracking services — Google Analytics, Google Ads, Google Tag Manager, DoubleClick — are present on an estimated 85 percent of the top million websites. This means Google can observe your activity across most of the web. The data collected goes far beyond which sites you visit. Tracking scripts can record how long you spend on a page, what you click, how far you scroll, what you search for, what you add to shopping carts, and what you ultimately purchase. This data is aggregated, analyzed, and sold to advertisers to build detailed behavioral profiles. You are not the customer of these advertising networks — you are the product. The websites are the customers, and your attention and data are what is being sold.
The Post-Cookie Era — Fingerprinting & New Tracking Methods
Third-party cookies are on their way out. Safari and Firefox have blocked them by default for years. Google Chrome — the last major holdout — has been moving toward restrictions, though Google has repeatedly delayed full deprecation because its advertising business depends on the tracking infrastructure cookies enable. But the end of third-party cookies does not mean the end of tracking. The advertising industry has spent years developing alternative tracking methods that do not rely on cookies at all. Understanding these methods is essential because they are already in widespread use. Browser fingerprinting is the most concerning replacement. Instead of storing an identifier on your computer, fingerprinting identifies you by collecting dozens of technical details about your browser and device: screen resolution, installed fonts, graphics card capabilities, timezone, language settings, operating system version, browser plugins, and more. Individually, these details are not unique. Combined, they create a fingerprint that is remarkably distinctive — research has shown that the combination of browser attributes is unique for over 90 percent of users. No cookies required. Fingerprinting is harder to block than cookies because it does not store anything on your computer. There is nothing to delete, no banner to show, and no setting to toggle. Your browser must actively work to prevent it by presenting standardized or randomized information to websites. Server-side tracking is another growing method. Instead of tracking happening in your browser through JavaScript, it happens on the website's server. When you visit a page, the server records your activity and sends it directly to the tracking service from server to server. Your browser never sees the tracking request, which means browser-based blocking tools cannot stop it. Google's Topics API, part of its Privacy Sandbox initiative, proposes replacing individual tracking with interest-based categories. Instead of tracking your exact browsing history, Chrome would classify your interests into broad categories and share those with advertisers. Critics argue this still enables profiling and that Google's control over both the browser and the ad platform creates an anticompetitive situation. The post-cookie era is not more private by default. The tracking methods replacing cookies are often harder to detect, harder to block, and less transparent. Cookie banners gave you a visible, if annoying, indication that tracking was happening. Fingerprinting and server-side tracking happen invisibly.
How to Actually Protect Yourself from Tracking
Given that tracking extends far beyond cookies, effective protection requires a layered approach. No single tool solves the entire problem, but the right combination dramatically reduces your exposure. Start with your browser. Choose one that blocks third-party cookies by default and includes fingerprinting protection. Safari and Firefox both do this well. Brave goes further with aggressive built-in blocking. Whichever you choose, review the privacy settings — enable strict tracking protection, disable telemetry and data sharing with the browser maker, and consider using a privacy-focused search engine like DuckDuckGo instead of Google. Install a content blocker. uBlock Origin is the gold standard for blocking tracking scripts, ads, and fingerprinting attempts in your browser. It works by preventing tracking scripts from loading in the first place, which is more effective than trying to limit what they can do after they load. On Safari, where uBlock Origin is not available, the built-in content blocker and extensions like AdGuard provide similar protection. Clear cookies regularly. Even with third-party cookies blocked, first-party cookies can still be used for tracking through techniques like link decoration and bounce tracking. Clearing cookies periodically — or using browser features like Firefox's Total Cookie Protection that isolate cookies per site — limits this. Use a VPN on untrusted networks to prevent your IP address from being used as a tracking identifier. Your IP address can reveal your approximate location and is used by some tracking systems to link activity across sites. But here is the critical piece most guides miss: cookies and browser tracking are only one vector. Your Mac apps track you through their own connections — completely outside the browser. Spotify, Zoom, Slack, Adobe, and dozens of other apps send telemetry and analytics data directly to tracking servers. Your browser's privacy settings do nothing about this. This is where a system-level tool like NetMute closes the gap. NetMute monitors every outgoing connection from every app on your Mac, not just your browser. Its Tracker Shield automatically blocks connections to over 1100 known tracking domains across all applications. A tracker that your browser successfully blocks can still collect data through a desktop app — unless you have protection at the application level. The complete approach to blocking tracking in 2026 combines a private browser for web tracking, a content blocker for scripts and ads, and an app-level firewall for everything else. Cookies were the beginning of the tracking story. They are no longer the whole story. Protecting yourself means addressing all the ways data leaves your computer — not just the ones that happen in a browser window.