how social media ads work

Why That Ad Followed You: How Social Media Ads Work

You mention sandals at dinner. You have not searched for sandals, not once. By morning there are three sandal ads sitting in your Instagram feed and one uncomfortable question underneath them.

Is this thing listening?

It is. Just not for that.

Your phone’s microphone is on right now, waiting for a wake word. But that is not where the sandal ad came from. You left a trail somewhere else entirely, a very good machine followed it, and then it connected that trail to every other device in your house.

I spent years on the marketing technology side of retail, and I want to walk you through how social media ads work from the inside, because once you see the mechanism, the “creepy” feeling goes away and something more useful takes its place: control. You can change a lot of what you see, and you can stop the targeting from steering your spending.

Let me show you the machine.

👁️ What your phone is listening for

Let me be precise here, because “your phone isn’t listening” is the kind of tidy reassurance that falls apart the moment you think about it.

Your phone’s microphone is very likely on all the time. It has to be, because it is waiting for a wake word: Hey Siri, OK Google, Alexa. What makes it different from eavesdropping is that the audio is processed on the device, in a rolling buffer, and discarded unless it hears the trigger. Nothing gets shipped anywhere. (Those triggers do misfire. A word that rhymes, a phrase from a podcast, a snippet of someone else’s conversation, and your assistant wakes up for a second or two without you noticing.)

What is not happening is the scenario people picture: your microphone transcribing your conversations and feeding keywords to advertisers. The reason to doubt that is not corporate assurance, it is arithmetic. Continuously transcribing audio from billions of phones, parsing it for product mentions, and matching it to ad inventory would cost more than the ads are worth, and it would show up in your battery and data usage. Security researchers have taken these apps apart looking for it. Consumer Reports has looked. Nobody has found it operating at scale.

One caveat: a media company was caught openly pitching advertisers on microphone-based “active listening” targeting. Most people who work in this industry read that as a reseller overselling a capability it did not have, and Google dropped them as a partner once it surfaced. But it is fair to say the ambition exists even where the capability does not.

So the honest version is this. Your phone listens for a couple of trigger words. The predictive advertising that unsettles you comes from somewhere else, and it is better at its job than a microphone would be.

🧩 Every store you visit reports back

Almost every store you visit online has a small snippet of code on its site, usually the Meta Pixel or a similar tag from another ad network. It is invisible to you. Its whole job is to report back to advertisers.

When you land on a product page, the pixel notes it. When you add something to your cart, it notes that too. When you start checkout and then wander off, that is a signal worth big money to the advertiser. Every one of those actions gets tied to your profile on the Meta platform, so the store can turn around and show you an ad for the exact thing you left behind.

This is why the sandals follow you. You visited the page, the pixel logged it, and the store built an audience of “people who looked but did not buy” and paid to reach you specifically. In the trade this is called retargeting, and it is the most common reason a product chases you across the internet.

The trail is durable, too. A store can keep you in a website audience for up to 180 days after you visit. Customer lists are a separate mechanism with no built-in expiry at all, which I will come back to. The window is long by design.

📇 Four buckets, and every ad falls into one

Ad targeting comes down to four buckets. Once you can name them, every ad you see starts to make sense.

Your demographics and interests. The oldest and broadest bucket. Age, location, language, life events like a recent move or a new baby, plus interests inferred from what you engage with. This is why you get served maternity ads the same week you started following baby accounts.

Retargeting, the pixel bucket. This is what I described above. People who visited a site, viewed a product, or abandoned a cart. These are the warmest prospects a store has, which is why these ads feel so pointed.

Customer list matches. A store uploads its list of customer emails and phone numbers, and the platform matches those against your account. This is how a brand you bought from in a physical store, using your email at checkout, suddenly finds you on Instagram. You never followed them. They brought your contact info with them, and unlike the pixel trail, that list does not age out on its own.

Lookalikes. This is the clever one. A store takes its list of best customers and asks the platform to find more people who resemble them statistically. You may have never heard of the brand, never visited the site, never bought a thing. You just happen to look, on paper, like the people who do. That is why a completely new product can feel eerily well matched to you.

🏠 You are not targeted alone

Ad platforms do not treat you as a single phone. They build an identity graph: a stitched-together picture of which devices belong to which person, and which people belong to which household. Your laptop, your phone, your tablet, and the smart TV in the living room get associated through shared IP addresses, the same Wi-Fi network, location patterns that overlap night after night, and logged-in accounts that appear across all of them.

Once that association exists, targeting flows across it. Your partner researches a dishwasher on the desktop. You mention dishwashers at dinner. The next morning there is a dishwasher ad on your phone, and it feels like the room was bugged. It was not. Someone in your household signaled intent, the graph connected that signal to your device, and the timing did the rest.

The same mechanism is why you get ads for your teenager’s interests, why a gift you researched shows up in ads on the recipient’s tablet, and why moving in with someone changes your feed within weeks.

So both things are true at once. Your devices are being mapped, to you individually and to your household collectively, with more precision than most people realize. And that mapping is what makes microphone surveillance unnecessary rather than what makes it plausible.

🤖 What changed: the algorithm drives now

If you feel like targeting got smarter and less in your control at the same time, you are right, and there is a reason.

A few years back, Apple let iPhone users opt out of app tracking, and most of them did. That knocked out a chunk of the off-platform data the ad networks relied on. The response was not to give up. It was to lean harder on the data that never leaves the platform, and to hand more of the decision to artificial intelligence.

Today, when a store runs a campaign, it increasingly does not hand-pick your exact demographic. It feeds the system its best signals and lets the machine decide who is most likely to buy, often expanding well beyond the audience the advertiser defined. The platform now treats the advertiser’s targeting as a suggestion rather than a rule. In practice, that means the algorithm is making more of the calls about what you see, based on patterns in your behavior that no human ever explicitly chose.

That is the unannounced shift behind a lot of the “how did they know” moments. The answer is that increasingly, a model knew, and nobody typed it in.

🛑 Taking back control

Here is where it gets practical. You cannot make the ads disappear entirely without paying for it in some regions, but you have far more control than most people think. A few minutes in your settings changes what you see and, more importantly, weakens the targeting that nudges your spending.

Use “Why am I seeing this ad?” Tap the three dots on any Facebook or Instagram ad and open this. It tells you the specific reason you were targeted, whether it was a page you liked, a website you visited, or a customer list you landed on. It is the single best window into the machine, and it links you straight to the controls.

Turn off activity from ad partners. In the Meta Accounts Center, under Ad preferences, there is a setting for activity that businesses and partners share about you from off the platform. Reviewing and limiting this cuts off a major data feed. Path: Accounts Center, then Ad preferences, then Manage info.

Prune your ad topics. Also under Ad preferences, you can tell the platform to show you fewer ads on specific topics. It will not completely eliminate them, but it meaningfully shifts the mix over time.

Hit “not interested” religiously. Every time you mark an ad as not interested, you are feeding the model better information about what to stop showing you. It is slow, but it works.

Unsubscribe and unfollow the brands that hook you. If a store is reaching you because you are on its email list or follow its page, leaving both removes you from those warm audiences. Fewer of their perfectly timed ads, less temptation.

Audit microphone permissions anyway. Open Settings, then Privacy and Security, then Microphone, and look at which apps have asked for access. A recipe app or a shopping app should not need to use your microphone. This will not change your ads much, since the mic is not where the targeting comes from, but there is no reason to leave the permission granted to apps that never needed it.

None of this makes you invisible. It does make you a much harder target to hit, which is the point.

💡 The insider takeaway

The whole system is built on one premise: the more it knows about your intent, the more precisely it can put the right product in front of you at the moment your resistance is lowest. An abandoned cart ad three hours after you left is not a coincidence. It is a scheduled follow-up, priced and timed to catch you when you are most likely to cave.

Knowing that is a small superpower. When an ad feels uncannily well timed, that is your cue to slow down, not speed up. The urgency was manufactured. The product will still be there tomorrow, and if it is worth buying, you can go find it on your own terms instead of theirs.

There is a version of this that works in your favor, too. Sale timing follows a merchandising calendar retailers set a year or more in advance, and that calendar is knowable. I built a free month-by-month guide to the best time to buy anything around it, so you can plan purchases on the retail calendar instead of reacting to whatever lands in your feed.

🛒 One good habit to build

Since a huge share of these ads are retargeting you for things you already looked at, the best defense is a simple pause. When you catch yourself about to buy from an ad, close it and go to the store directly. You will shop on purpose instead of on impulse, and you can layer real savings on top.

I run every planned purchase through Rakuten for cash back, which turns “I was going to buy this anyway” into money back rather than money spent on impulse. Here is how I use it. For everyday and grocery buys, Ibotta does the same job.

The ad found you. That does not mean it gets to decide.

This post contains affiliate links. If you purchase through my links, I may earn a small commission at no extra cost to you. Thank you for your support!

You may also like...