Why ads seem to know you
Most free websites and apps are paid for by advertising, and advertising pays more when it is relevant. To make ads feel relevant, many companies try to build a picture of what a person is interested in. That picture is made from signals gathered as you browse, search, shop and use apps.
Seeing an ad for something you looked at yesterday can feel uncanny, but it usually comes from ordinary, well-understood techniques rather than anything mysterious. Knowing the basics makes it much easier to decide what to limit.
The main ways activity is recorded
Cookies
A cookie is a small piece of data a website stores in your browser. Some cookies are essential, such as the one that keeps items in your shopping cart. Others, often called third-party cookies, are set by an advertising or analytics company whose content is embedded in the page. When the same company’s content appears on many sites, it can recognize the same browser each time and connect those visits.
Browsers have been changing how they treat third-party cookies, and the details differ between browsers and over time, so check what yours currently does.
Identifiers on phones
Phones and other devices can have an advertising identifier, a random-looking code that apps can use to recognize the device. Apps that share this code with advertising partners allow activity in different apps to be linked. Many phones now let you reset the identifier or limit how it is used.
Pixels and embedded scripts
Websites and emails may include tiny invisible images or snippets of code that report back when a page or message is opened. Shopping and social sites often use these to measure whether an ad led to a purchase.
Fingerprinting
Even without cookies, some methods combine details like your browser version, screen size and language settings to recognize a device. This is harder to see and to block, and it is one reason tracking cannot be eliminated entirely by a single setting.
Accounts and logged-in activity
When you are signed in to a service, it can link your searches, views and purchases to your account. Some companies also combine information from their own properties, and some buy or exchange data with other firms. Your privacy policy choices determine how much of this you have agreed to, which is why it helps to know how to skim a privacy policy.
Location and purchase data
Where you go, and what you buy, can also be used. Apps with location access may record where your phone has been, which links to the topic of location sharing. Loyalty cards and online purchases can add further detail.
What advertisers do with it
Companies typically group people into audiences, such as those interested in travel or fitness, and show ads accordingly. Some ads are retargeted: you look at a product, then see it elsewhere. Advertisers may also measure which ads led to actions. Sensitive categories such as health, finances or children’s data are generally subject to extra rules in many places, but the rules vary by region, so do not assume protection.
Targeted advertising is not in itself illegal or sinister, and some people find relevant ads helpful. The concern is that data can be collected without people noticing, stored for a long time or exposed in a breach, and that profiles can be wrong.
Controls that can reduce tracking
No setting stops everything, but several steps together make a real difference.
Browser settings. Look for options to block or limit third-party cookies, to send a “do not track” or similar signal (honored only by some companies), and to clear cookies on exit. Some browsers include built-in tracking protection. Extensions that block trackers exist as well, but only install them from a trusted source and keep the number small, as covered under browser safety.
Phone settings. Look for the advertising or tracking section in your device privacy settings. You can often reset your advertising identifier, limit ad personalization, and decide whether each app may ask to track activity across other companies’ apps. The article on app permissions explains how to review what each app can reach.
Account ad settings. Large services usually have an ad personalization or ad preferences page. You can often switch personalization off, remove interest categories and delete activity history. Ads may still appear, but they are generally less tailored.
Opt-out tools. Some regions offer industry opt-out pages or legal rights to ask a company not to sell or share your data. What is available depends on where you live, so check official consumer protection sources rather than relying on a third-party site that offers to opt you out for a fee.
Separate browsing contexts. Using a different browser profile for shopping or sensitive searches keeps those activities apart from your main logged-in sessions. Private browsing windows help with this on the device itself, but they do not hide activity from the websites you visit or your internet provider.
Common misunderstandings
- A VPN stops ad tracking. It hides your network address from sites, not cookies, logins or fingerprints. The VPN limits are worth understanding before you rely on one.
- Private mode makes you anonymous. It mostly avoids saving history on your own device.
- Opting out removes all ads. It usually removes personalization, not ads themselves.
A sensible approach
You do not need to chase every tracker. A reasonable routine is to tighten your browser’s tracking protection, reset and limit the advertising identifier on your phone, switch off personalization in your most-used accounts, and check these settings again after major updates. Think also about what you reveal voluntarily, since posts and sign-ups feed profiles too.
Accept that some tracking will remain. The goal is to reduce unnecessary collection, not to reach zero. If you notice ads that expose something private, such as a surprise based on a sensitive search on a shared device, treat it as a prompt to review who else uses the device and what is signed in.