How Websites Track Visitors
Every website you open learns something about you, even if you never log in or fill in a form. Some of this collection is harmless and useful, such as counting visitors to see which articles are popular. Some of it follows you from site to site and builds a profile for advertising. Understanding the techniques involved lets you decide which trade-offs are acceptable and which tools actually help.
What every website sees by default
When your browser requests a page, it automatically sends information along with the request: your IP address, the page being requested, the browser and operating system in the User-Agent header, your preferred languages, and often the page you came from (the Referer). Web servers typically write these details into server logs. The IP address gives a rough location and your provider, as described in What Is IP Geolocation and How Accurate Is It? You can see what a site gets with the stor10 IP lookup.
Cookies
A cookie is a small piece of text that a site stores in your browser and your browser sends back with later requests. First-party cookies belong to the site you are visiting and are used for logins, shopping carts, language settings and basic analytics. Third-party cookies belong to another domain, usually an advertising or analytics company whose code is embedded in the page. If the same ad network is embedded on many sites, its cookie can recognize you on all of them and combine your visits into one profile.
Browsers have reacted. Safari and Firefox block third-party cookies by default, and Chrome offers controls to block them, while the industry moves toward alternatives. Tracking has not disappeared; it has shifted to other methods.
Tracking pixels and scripts
A tracking pixel is a tiny, often invisible image or script that loads from a third party. When your browser fetches it, the third party sees your IP address, the page and any cookie it has previously set. Pixels are used in ads, social media buttons and marketing emails. In emails, a pixel can tell the sender that you opened the message, when, and from which approximate location. Many mail apps can now block remote images by default to prevent this.
Browser fingerprinting
Fingerprinting does not store anything on your device. Instead, scripts collect many small characteristics, such as screen size, installed fonts, time zone, language, graphics hardware behavior and audio processing details, and combine them into a nearly unique identifier. Because it needs no cookie, clearing your browsing data does not remove it. Browsers like Firefox and Brave attempt to reduce fingerprinting by limiting or randomizing some of this information, and the most uniform setups, such as the Tor Browser, make users look alike.
Other storage tricks and link decoration
Besides cookies, sites can store identifiers in local storage, IndexedDB or cached resources. Browsers increasingly isolate such storage per site to limit its use for tracking. Another common method is link decoration: identifiers appended to URLs, such as utm_source or click IDs added by advertising platforms. When you follow a link, the identifier travels with you to the destination site, where it can be matched to a profile. Some browsers strip known tracking parameters.
Logins and cross-site identity
If you are signed in to a large service, anything that service embeds on other sites, such as a "Like" or "Sign in with" button, a map or a video, may reveal your visit. Logging in with an email address also gives sites a stable identifier that can be shared with advertising partners, sometimes in hashed form, and matched with data bought from data brokers. This is often the most precise form of tracking because it links to a real identity.
Why websites do it
Reasons range from legitimate to invasive: analytics to improve a site, fraud detection, personalization, measuring advertising results and building audiences for targeted ads. Laws such as the EU's GDPR and ePrivacy rules and California's CCPA require disclosure and, in many cases, consent. That is why cookie banners exist; our own Cookie Policy explains what applies to this site.
How to limit tracking
- Choose a privacy-focused browser or settings. Firefox, Safari and Brave block many trackers by default. In other browsers, enable tracking protection.
- Block third-party cookies and clear site data periodically.
- Use a content blocker such as uBlock Origin on desktop browsers that support it.
- Send privacy signals. Global Privacy Control tells participating sites not to sell or share your data.
- Separate your activities with browser profiles or container tabs, and avoid staying signed in to large platforms while browsing elsewhere.
- Use a VPN with realistic expectations. It hides your IP address from sites but does not stop cookies or fingerprinting, as covered in Does a VPN Really Hide Your IP Address?
- Disable remote images in email and review app permissions on your phone, including the advertising ID.
More ideas are collected in How to Improve Your Online Privacy in 2026.
Conclusion
Websites track visitors through basic request data, cookies, pixels, fingerprinting, link parameters and logins. No single tool stops all of it, but a privacy-minded browser, blocked third-party cookies, a content blocker and thoughtful sign-in habits remove a large share. Perfect privacy is unrealistic; reducing how easily different sites can link your activity together is a goal you can reach.
Frequently asked questions
Does private browsing stop tracking?
It prevents cookies and history from being saved on your device after you close the window. Websites, your employer and your provider can still see your activity, and fingerprinting still works.
Is all tracking bad?
No. Privacy-respecting analytics and security checks serve useful purposes. The concern is covert, cross-site profiling without clear information or choice.