How Tech Companies Use Your Data to Target Ads in 2026
You search for a pair of running shoes once, and for the next two weeks the same shoes follow you across news sites, social feeds and video apps. You never told an advertiser you wanted them. You never filled in a form. Yet the ad knew.
That small, slightly unsettling experience is the visible tip of a huge system that records what you do online, groups you with similar people, and sells advertisers the chance to reach you.
The direct answer is this: tech companies track your clicks, searches, locations and purchases, combine them into a profile of your interests, and let advertisers bid in real time to show you an ad whenever you open a page or app. Your name is rarely sold directly.
What is sold is access to people who match a profile, such as people who recently searched for running shoes and live in a certain city.
This guide walks the whole journey, step by step, from the first click to the ad on your screen. You will learn what data is collected, who the data brokers are, how the auction behind each ad works, and which privacy controls genuinely reduce tracking instead of just making you feel better.
Key Takeaways
Targeted ads run on profiles, not names: advertisers buy access to groups that match interests and behaviour.
Tracking starts with cookies, pixels, device identifiers and location, then continues across apps and sites.
Data brokers buy, combine and resell your information to advertisers you have never heard of.
Every ad you see was usually sold in a real-time auction that takes less than a second.
Browser settings, app permissions and data-broker opt-outs together cut tracking far more than any single tool.
How Your Data Gets Collected in the First Place
Collection starts the moment you open a website or app. The site itself records what you clicked, how long you stayed, what you searched for and what you bought.
That first-party data is the most ordinary kind: a shop remembering your basket, a news site remembering your reading history, a search engine remembering your queries so it can show better results next time.
The less obvious collection comes from third parties embedded in the page. Advertising networks, analytics tools and social media buttons load alongside the content you came for. Each one can record that you visited this page, on this device, at this time.
Across thousands of sites, those small records add up to a detailed picture of your interests, routines and habits.
Cookies, Pixels and Fingerprints
A cookie is a small file a website stores in your browser so it can recognise you next time. First-party cookies are mostly harmless and useful, keeping you logged in or remembering your preferences.
Third-party cookies are the ones advertisers use, because they let one company follow you across many different websites and build a single browsing history.
Tracking pixels are tiny invisible images loaded by a page or an email. When your browser fetches one, the sender learns that you opened the page or message, plus your device details and rough location.
Fingerprinting works differently: it identifies your device from a combination of traits such as screen size, installed fonts, browser version and time zone, and it keeps working even when you clear cookies.
From Raw Data to a Profile of You
Raw records are not useful to an advertiser on their own. A list of pages you visited means little until software groups it into categories: interested in running, likely to travel soon, recently moved house, shopping for a car.
This process is called profiling, and it turns scattered behaviour into a set of labels that advertisers can buy against.
Profiles are usually built around segments rather than individuals. You might sit in hundreds of segments at once, from broad ones such as sports fans to narrow ones such as people who looked at trail running shoes in the last three days.
Advertisers choose segments, not people, and the platform decides which specific person in the segment sees each ad.
What an Advertiser Actually Buys
An advertiser does not usually buy your name, email address or phone number from a platform. It buys the chance to show an ad to people matching a set of traits, and it pays only when the ad is shown or clicked.
The platform keeps the underlying personal data and decides which individual users match, which is why this is sometimes described as targeting without handing over the data itself.
That distinction matters, but it is not the whole story. Data brokers operate outside the big platforms and do buy and sell detailed personal records.
If you want to understand which tools respect your data, our guide to the AI tools with the best data privacy policies shows what good privacy practice looks like in real products. The two markets, platform advertising and brokered data, follow different rules.
The Real-Time Auction Behind Every Ad You See
When you open a page, the ad space on it is sold in an auction that finishes before the page loads. The publisher offers the slot, advertisers submit bids based on how valuable your profile looks to them, and the highest bidder wins the right to show you an ad.
The whole process typically takes well under a second, and it happens billions of times a day.
Your profile determines the price. A person who recently searched for an expensive product is worth more to advertisers than someone browsing casually, so bids for that person are higher. Time of day, location and device matter too.
An advertiser selling lunch delivery bids more at noon near its restaurants than at midnight, and a travel company bids more for someone who just searched for flights.
Data Brokers: The Middlemen You Never Meet
Data brokers are companies whose entire business is collecting personal information from many sources, combining it into profiles, and selling it. They gather public records such as property and voter registrations, purchase histories from loyalty schemes, browsing data from apps and websites, and location data from phones.
Some brokers hold profiles on hundreds of millions of people.
Their customers include advertisers, insurers, lenders and political campaigns. A broker might sell a list of households likely to buy a car, or people in a certain area with a particular income range.
Because brokers sit behind the scenes, most people have no direct relationship with them and never agreed to share data with them specifically, which is what makes the practice controversial.
How to Limit Ad Tracking Without Giving Up the Internet
Start with your browser and phone, where the biggest gains are cheapest. Turn off third-party cookies, enable tracking protection, and review which apps can access your location, contacts and advertising identifier.
On phones, reset the advertising ID regularly and switch on the option that asks apps not to track you across other companies’ apps and websites.
Finally, tackle the brokers. Several services will submit opt-out requests to the largest brokers on your behalf, and some privacy laws let you do it yourself for free. It takes time and needs repeating, because brokers keep collecting new data.
Targeted Ads: What Is Collected, Who Uses It, and What You Can Do
The table summarises each stage of targeted advertising, who is involved, and the control that limits it.
Stage
What happens
Who is involved
Your best control
Collection
Clicks, searches, location and purchases recorded
Websites, apps, ad networks
Block third-party cookies
Profiling
Behaviour grouped into interest segments
Ad platforms, analytics firms
Delete assigned interests
Brokerage
Profiles combined and sold onward
Data brokers
Submit broker opt-outs
Auction
Ad space sold in real time per viewer
Advertisers, exchanges
Turn off personalised ads
Display
Winning ad shown on your screen
Publisher, ad platform
Review the ad explanation label
Measurement
Clicks and purchases tracked back to the ad
Advertisers, attribution firms
Limit app tracking permissions
Checklist: Cut Ad Tracking in 30 Minutes
Turn off third-party cookies and enable tracking protection in your browser.
Reset your phone advertising ID and switch on ask-app-not-to-track.
Review location, contacts and microphone permissions for every app.
Delete unwanted interests in Google and Meta ad settings.
Turn off personalised ads on the platforms you use most.
Remove old connected apps that still share your data.
Submit opt-outs to the largest data brokers, or use a removal service.
Repeat the cleanup every few months, because profiles rebuild over time.
Frequently Asked Questions
How do tech companies use your data to target ads?
They record your clicks, searches, location and purchases, group that behaviour into interest segments, and let advertisers bid to show ads to matching segments in a real-time auction. Advertisers usually buy access to a group, not your name, and the platform decides which individual sees each ad.
Do companies sell my personal data to advertisers?
The big ad platforms generally do not sell your name or contact details directly. They sell access to audiences. Data brokers are different: buying, combining and selling detailed personal records is their core business, and their customers include advertisers, insurers and political campaigns.
Why do I see ads for things I only talked about?
Talking alone does not usually trigger an ad. What feels like listening is usually a trail you left elsewhere: a search, a page visit, a location, a purchase, or a friend searching for the same thing on a shared network. Coincidence and pattern-matching explain most cases people report.
What are data brokers and how do I opt out?
Data brokers collect personal information from public records, purchases, apps and browsing, combine it into profiles, and sell it. You can opt out by contacting the largest brokers directly or through a removal service, and privacy laws in Europe and some US states give you a legal right to do so.
How can I stop targeted ads completely?
You cannot remove advertising entirely, but you can make it far less personal. Turn off personalised ads in platform settings, block third-party cookies, limit app tracking on your phone, and opt out of data brokers. You will still see ads, but they will be generic rather than based on your profile.
Is targeted advertising illegal?
No, it is legal in most countries, but it is regulated. Europe requires consent or another legal basis for tracking, and several US states now require opt-outs and broker registration. The rules differ sharply by country, so the protections you have depend on where you live.
Conclusion
Targeted advertising is not magic and it is not mind reading. It is a chain of ordinary steps: collect behaviour, group it into segments, sell the segment to advertisers, and auction each ad slot in under a second. Understanding that chain takes away much of its mystery, and it shows exactly where you can intervene.
You do not need to give up the internet to regain some privacy. Tighten your browser and phone settings, clean up your ad preferences, and opt out of the brokers you never agreed to deal with. The ads will not disappear, but they will know far less about you, and that is a meaningful difference.
Ayesha is the co-founder of occcy and the editor behind its entertainment and lifestyle coverage. She believes good writing should feel like a conversation with a smart friend, clear, warm, and genuinely helpful.