You look at a pair of boots on a store’s site. You close the tab and move on. An hour later, those same boots show up in an ad on a news site, then in an app, then again the next day. It feels like someone is watching you.
In a way, someone is. Seeing ads after visiting a website is not a glitch, and it is not a coincidence. It is a standard advertising tool, and it is built to work exactly like this.
This guide explains how it works, why the ads keep coming, and which steps cut them down. It takes about 15 minutes to set up. You will not end up invisible online, and you do not need to.
Before you start
You do not need any technical skill. You need a web browser on a computer or phone, and the ability to install a browser add-on (a small extra program for your browser).
This guide covers the ads that follow you after you visit a store or other site. It does not cover every kind of tracking online. It also will not help if someone has taken over your device. That is a job for a specialist.
If the ads do not bother you, you can skip all of this. Retargeted ads are annoying and a little creepy, but for most people they are not dangerous. The real cost is that a company keeps a record of what you looked at.
What is retargeting?
Advertisers have a few names for it: retargeting, remarketing, or just “following you around.” The idea is simple. A store pays to show ads to people who already visited its site.
Google describes remarketing as a way to target ad content at users who have already visited your website [1]. Those ads can show up in Google’s network of partner sites, in mobile apps, or on Google Search [1].
From the store’s point of view, this makes sense. Someone who looked at boots is more likely to buy them than a random stranger. From your point of view, it can feel like being trailed through the mall by a salesperson who will not leave.
How does a site know to show you ads?
The store does not need to know your name. It needs a way to recognize your browser the next time it appears somewhere else.
The tool for that is the cookie. A cookie is a small file that a website saves in your browser. It works a bit like a coat check ticket: the site hands your browser a number, and your browser hands it back on later visits.
Google’s help pages describe how this fits together. Audiences for remarketing are made up of browser cookies from users who visited a site that has the remarketing code turned on [1]. So the store adds a bit of code to its pages. When you visit, your browser gets a cookie. You are then on a list.
Later, when you open a page that shows ads from the same ad company, your browser hands over that cookie. The ad company sees that you are on the boots list and shows you the boots.
Two kinds of retargeting
Google describes two main versions. Standard remarketing shows ads to people who previously visited a site or used a mobile app [2]. Dynamic remarketing goes a step further. It shows visitors an ad for the specific product they viewed on the site [2].
That second kind is why the ad feels so personal. It is not “the store is advertising.” It is “the store is advertising the exact thing you looked at.”
Advertisers can also be picky about who goes on the list. Google Ads lets them build remarketing lists from web page URLs or custom parameters [2]. In plain terms, a store can put only the people who viewed the boots page on one list, and only the people who viewed the sale page on another.
The Facebook version
Google is not the only company doing this. Facebook, now part of Meta, gives advertisers a unique line of code to embed in their website [3]. This is called the Facebook pixel. Mullvad, a VPN company, wrote about it and notes that the pixel even allows advertisers to retarget specific individuals [3].
That is how the abandoned cart ad works. You add a jacket to your cart and leave. Mullvad explains that because the pixel lets the advertiser track your moves, the ad can be run again, this time aimed at you and other people who abandoned their carts [3].
How long do the ads follow you?
This is up to the store, not you. For Google Analytics audiences, a site owner can keep a visitor on a list for anywhere from 1 to 540 days [1]. That is a bit under a year and a half at the long end.
So the answer to “when will this stop?” is “whenever the store chose.” A store that sets a short window will stop chasing you within days. One that sets a long window can keep showing you the boots for a very long time.
There is one detail in your favor. For Google Search ads, the list must have at least 1,000 users before it can be used [1]. Retargeting is a numbers game. You are one of many on the list, not a person someone is studying by name.
How to cut down on ads after visiting a website
You have three tools here. Use one, two, or all three. Each takes only a few minutes.
Step 1: Clear your cookies now and then
Since the list is built from cookies, getting rid of the cookie helps. Google says it plainly: if a visitor clears their browser cookies, they are no longer part of the remarketing audience until they visit the site again [1].
Open your browser settings, find the privacy section, and look for the option to clear cookies or browsing data. Pick it, confirm, and you are done.
The catch is that clearing cookies also logs you out of most sites. You will have to sign in again. A good habit is to do it once a month, or after you finish a big shopping session.
Also notice what the quote says. You drop off the list only until you visit that site again. Clearing cookies is a reset, not a permanent fix.
Step 2: Install a content blocker
A content blocker is a browser add-on that stops ads and trackers from loading in the first place. A tracker is code on a website or app that records what you do and reports it to a company. If the tracking code never runs, you never get the cookie.
A well known choice is uBlock Origin. Its project page describes it as a content blocker for Chromium and Firefox browsers [4]. By default it blocks ads, trackers, coin miners, popups, anti-blockers and malware sites [4].
One thing to check before you install. The project says its Chrome Web Store listing was removed on 2026-08-31 [4]. If you use Chrome, you may not find it in the store the usual way. Read the project’s own page for what it recommends. If you are open to switching, Firefox is listed as a supported browser [4].
Step 3: Add a tool aimed at Facebook tracking
Mullvad suggests Privacy Badger, a plugin from the Electronic Frontier Foundation that stops Facebook from following you when you click on an external link [3]. The Electronic Frontier Foundation is a well known nonprofit that works on digital rights.
If you use Facebook or Instagram a lot, this is a reasonable second layer next to a content blocker. Install it the same way you would any other browser add-on.
An example: two people, two choices
Jake shops online maybe twice a month. He sees a few retargeted ads and shrugs. He installs a content blocker once, forgets about it, and the ads mostly fade. That is a fine outcome.
Sarah is the opposite. She is researching a sensitive health question and does not want ads hinting at it on a shared family computer. She installs a blocker, adds Privacy Badger, and clears her cookies after each session. She also reads the shared computer’s settings with her family. For her, a bit more effort is worth it.
Same problem, different answers. How much you do depends on what you are protecting and from whom. If you want a simple way to think about that, a threat model is a short plan of what you are protecting, from whom, and how much effort it is worth.
Common mistakes
Thinking “incognito” fixes it. Private windows are often assumed to stop all tracking. This guide does not rely on that claim, and the research here does not back it up. Treat it as a maybe, and use a blocker as your main tool.
Clearing cookies once and stopping. The ads come back as soon as you visit the store again, because you go back on the list [1]. Make it a habit, not a one time event.
Installing five blockers at once. More tools do not mean more privacy. They can break sites and make browsing a chore. One good blocker, plus Privacy Badger if you use Facebook a lot, is plenty.
Believing a VPN stops this. A VPN sends your traffic through an encrypted tunnel to another computer. It hides your connection from your network, but a cookie in your browser still identifies the browser. A VPN on its own does not remove you from a retargeting list.
Blaming yourself. You did nothing wrong by looking at boots. The system is designed to follow ordinary shoppers.
What you can skip
You can skip trying to stop every single tracker. You will not manage it, and chasing it will wear you out.
You can also skip the idea that you must never shop online again. Shopping is fine. The goal is to make it harder for companies to keep a long record of everything you look at.
If the ads genuinely do not bother you, you can skip the whole guide. That is a valid choice.
Your next step
Install a content blocker in your main browser today. Then clear your cookies once, so you start fresh.
The boots will stop chasing you. And if a store still finds you, now you know exactly how it did it.