How a Retargeting Pixel Works
A retargeting pixel works in five steps. The first four happen in the background while the visitor reads the page, and the fifth happens later, on another site.
- A visitor opens a page on your site.
- The page loads the pixel code.
- The pixel recognises the browser and records the page or action.
- The pixel sends that record to the ad platform, which adds the browser to an audience.
- The same browser later opens another site or app that sells ad space, and the platform bids to show it your ad.
The pixel never shows an ad itself. Its only job is to prove that this browser has been on your site, and platforms prove it in different ways. Meta, Google and most ad platforms use a cookie, a small file in the browser that stores an anonymous ID. The ADMY pixel uses the visitor's IP address and user agent instead.

Pixel tracking is the wider term. It covers any code that records visitor actions, for analytics, conversion counts or email opens. A retargeting pixel is a tracking pixel with one extra job: it feeds ad audiences.
Image pixel or JavaScript tag
Most ad platforms now ship the retargeting pixel as a JavaScript tag. The older form, a 1×1 transparent image, survives mainly as a backup, and Meta's base code still includes one for browsers that block scripts.
The image form gave the pixel its name. The browser loads an invisible picture from the ad platform's server, and the web address of that picture carries the data. Here is a tracking pixel example: a user tops up their account with 50 euros and lands on the confirmation page. The image pixel on that page loads a picture whose address lists four things: the pixel ID, the event name, the amount and the currency.
The same request also identifies the browser that sent it, through a cookie or through the IP address and user agent. That link to a known browser is what makes the pixel a retargeting pixel and not a simple hit counter.
The JavaScript form sends the same data through a small program instead of a picture. The program can read the page, wait for the visitor's consent and resend a request that failed.
The cookie behind the match
The cookie lets an ad platform connect a visit today with an ad slot tomorrow. It holds an anonymous ID, and the platform looks for that ID when it decides whom to show ads to. The cookie is often confused with the pixel and the tag. The pixel is the code that reports, and the tag is the container that fires it, often inside Google Tag Manager.
Meta and Google make the match inside their own platforms, where most users are logged in. The open web needs an extra step called a cookie sync: before any auction, the exchange and the buying platform swap their IDs for the same browser. Each bid request then carries the buyer's own ID for that user, a field the OpenRTB specification expects to come from an ID sync.
Cookie-based retargeting on the open web depends on that sync. If the sync never happened, the bid request carries no ID the buyer knows, and the audience misses the impression. The ADMY pixel skips this step, because it matches by IP address and user agent, not by cookie.
Every major ad platform has its own retargeting pixel, and it feeds only that platform. A site that advertises on three platforms needs the code of all three, and each platform builds its own audience. Meta and Google use one pixel for the whole site and tell actions apart by events, while the ADMY pixel sits as a separate copy on each key page.
| Platform |
Pixel |
Where the audience can be reached |
| Meta |
Meta Pixel (formerly the Facebook pixel) |
Facebook and Instagram |
| Google |
Google tag |
Google Search, Display Network, YouTube |
| LinkedIn |
LinkedIn Insight Tag |
LinkedIn |
| TikTok |
TikTok Pixel |
TikTok |
| DSP or ad exchange, such as ADMY |
The buying platform's own pixel |
Open-web inventory bought through real-time bidding |
A demand-side platform or ad exchange retargeting pixel reaches people outside Meta, Google, LinkedIn and TikTok. Its audiences are bought through real-time bidding on thousands of other sites and apps. That includes push and pop formats, which Meta and Google do not sell.
What the Pixel Records
What retargeting pixel records depends on the platform. Meta and Google pixels record events: one action with its details, such as the page address, the action name, the time and, if you add them, the amount and currency. The ADMY pixel records only the visitor's IP address and user agent, and the page it sits on decides which audience the visitor joins.
Neither type sends a name or email to the platform unless the site passes one on purpose. The table below matches common user actions to Meta's standard event names and to the ADMY pixel that covers the same step.
| User action |
Meta event |
ADMY pixel |
What retargeting does with it |
| Opens any page as a guest |
PageView |
Visit pixel |
Base audience of all visitors |
| Signs up |
Complete Registration |
Registration pixel |
Nudge toward a first top-up |
| Signs in to the account |
No standard event |
Login pixel |
Audience of returning users |
| Makes a first top-up |
Purchase |
First-deposit (FTD) pixel |
Exclusion or repeat top-up offers |
A top-up event does two jobs at once. Placed on the payment confirmation page with the amount and currency, Meta's Purchase event works as a conversion tracking pixel. The platform uses each payment both to report results and to decide whether the user still needs "come back" ads.
Installing a Retargeting Pixel
A Meta or Google pixel install has two parts. The base code goes on every page, in the head section of each template, and event code goes only where key actions happen, such as the sign-up and payment confirmation pages. The ADMY pixel needs no event code: a separate pixel goes on each key page, and its parameter names the audience.
You can paste the code into the site templates, manage it in a tag manager, or use a built-in integration in platforms such as Shopify and WordPress. Choose one method per pixel. Two methods at once load the base code twice, and every event gets counted twice.
The Meta Pixel is set up in the Events Manager. You paste its base code into the site or connect it through a partner integration, and one pixel serves both Facebook and Instagram ads.
Older guides call the Meta tracking pixel the Facebook pixel, but it is the same code. Events can be added in code or with Meta's Event Setup Tool, which marks buttons and pages without code edits.
Google tag
The Google tag is set up from your Google Ads account. One tag handles both conversion tracking and remarketing audiences. If your ads show the exact product a visitor viewed, each event must include a product ID that matches your Merchant Center feed.
Checking the Pixel
The fastest way to check that a retargeting pixel fires is the platform's own helper tool. Meta Pixel Helper, the Test Events screen in Events Manager and Google Tag Assistant all list the events a page sends. A pixel works only if each request carries the right event name and parameters.
The browser shows the same thing in more detail. Open developer tools, go to the Network tab and filter by the pixel's domain. Each request shows its parameters exactly as they were sent.
Then check the audience. A day after launch, it should grow roughly in line with site traffic, minus visitors who refused consent or use blockers. An audience that stays flat means the pixel sits on pages visitors never reach, or does not fire at all.
Four faults corrupt pixel data without any visible error. I rule them out before launch:
- Base code loaded twice. Every event is counted twice, payments included.
- Purchase event on reload. If it fires each time the confirmation page reloads, one payment turns into several.
- Event name in the wrong case. Names are case-sensitive, so the platform treats a misspelled name as a non-standard event, and standard audiences ignore it.
- Amount without a currency code. The event arrives, but revenue reports break.
I see the same kind of error in postback integrations at ADMY. The most common one is a parameter name that is almost right: the partner returns the click ID under a name one character off from the one ADMY expects. The other is not returning the click ID at all. Tracking code reads names literally, so I compare them character by character.
How Pixel Retargeting Builds Audiences
Pixel retargeting builds audiences from rules. A rule says who did what, on which pages and how recently, for example: signed up in the last 14 days and made no top-up. The platform applies the rule all the time, adding new visitors and dropping those who no longer fit.

Audiences built this way are called pixel-based retargeting, the most common type. The alternative is list-based retargeting, built from uploaded emails or CRM records. A list reaches known customers precisely, while a pixel also catches anonymous visitors from their first page view.
Membership window
The membership window sets how long a browser stays in an audience after its last matching action. For Meta website custom audiences, the window runs from 1 to 180 days. Since 18 May 2026, audiences based on the Purchase event can run up to 730 days, per Meta's notice to advertisers.
Set the window by how long people take to decide. A user who signed up but never topped up usually decides within days, so a short window fits. Bringing back past payers who went quiet takes longer and needs a wider window.
Burn pixel
A burn pixel removes people from a retargeting audience once they convert. In practice it is the Purchase or Lead event on the confirmation page, set as an exclusion rule. Anyone who fired it stops seeing ads that ask them to come back.
After Meta's May 2026 change, check how long your exclusion lists last. Purchase audiences set to 180 days were moved to 730 days automatically, unless the advertiser opted out. An exclusion list built on them now blocks two years of payers, including the lapsed users a reactivation campaign wants to reach.
Pixel Tracking Is Legal With Consent
Pixel tracking is legal when the site gives visitors the notice and choice their local law requires. So whether pixel tracking is illegal depends on how it is set up, not on the code itself.
In the EU and the UK, an advertising pixel generally needs opt-in consent before it fires. The reason is that it stores and reads data on the visitor's device and sends it to a third party. The pixel should load only after the visitor accepts marketing cookies, so a visitor who declines never enters the audience.
Browser Limits on Pixel Data
Browsers cut retargeting pixel data in three ways. They block third-party cookies, they shorten the life of first-party cookies, and ad blockers stop the pixel request entirely.
Safari blocks third-party cookies by default and limits cookies set by JavaScript to seven days. Firefox keeps third-party cookies separate for each site, so an ID set on one site is invisible on another. Chrome keeps third-party cookies on by default, with no plan to remove them as of September 2026. Ad blockers work in every browser and stop the pixel request before it leaves.
Server-side events recover part of the lost data. With Meta's Conversions API or a server container in a tag manager, your own server sends events to the platform, where browser blockers cannot reach them. The pixel keeps running, and both sides share an event ID so the platform drops duplicates. A visitor's opt-out applies to server-side events just as it does to the pixel.
How the ADMY Pixel Matches Visitors
The ADMY pixel matches visitors by IP address and user agent, not by cookie. When someone opens a page with the pixel, it saves these two values from the browser. Every bid request on the exchange and the publisher hub carries the same two values as standard OpenRTB fields. When both match a saved record, the request comes from a past visitor, and the ad is shown.
Without cookies, there is no cookie sync to fail, and Safari's cookie limits do not affect the match. The match holds as long as the visitor keeps the same network and browser. An IP address can count as personal data under EU law, so the consent rules above still apply.
Audience segments
The ADMY pixel builds audience segments by page, not by event. It always collects the same two values and nothing else, so each page gets its own pixel with a label for the audience. A visit pixel sits on pages open to signed-out users. Registration, login and first-deposit (FTD) pixels sit on the pages that follow each of those steps.
Managed campaigns
ADMY runs retargeting campaigns as a managed service. Strategy, creatives and campaign setup stay with the team, and the client follows results in a separate admin panel. A launch takes two to three days. Campaigns run in all six formats (pop, push, in-page, native, banner and video) on an in-house publisher hub and on any publishers the client wants to add.

I start with a frequency cap of two impressions per user per day. If a source brings more than 10 conversions a day on under $10 of daily spend, I raise the cap to five. Retargeted inventory on the exchange costs the same as broad targeting, with no extra charge for the audience (as of September 2026).
Sometimes an audience fills up but impressions do not arrive. Then I open campaign analysis in SelfServe. It shows which filters stopped the bid requests before they reached the campaign, and that points to the cause: the pixel, the audience or the bid.
Retargeting does not pay off in one case: a brand with little site traffic. A pixel can only collect the visitors a site already has, and with few visitors there is almost nobody to show a return ad to. Search retargeting is the way around it, since its audience comes from queries typed on other companies' sites rather than from a pixel of your own.
Frequently asked questions
Does a Pixel Slow a Site?
No, one retargeting pixel barely affects load speed. Its code loads in the background and lets the page appear first. The problem is stacking: five or six pixels, each with its own code and requests, add up on mobile connections. A tag audit every quarter that removes pixels for platforms you no longer use keeps this under control.
Can a Pixel Work Without a Website?
Yes, a pixel can fire from a link instead of a page. Some link shorteners attach retargeting pixels to short links, and anyone who clicks joins an audience before reaching the destination, even if it is someone else's site. The audience holds people who clicked, not site visitors, so it is smaller but often more interesting.
Do Mobile Apps Use Pixels?
No, mobile apps use SDKs instead of pixels. An SDK is a software kit from the ad platform or a mobile measurement partner, and it reports in-app actions against the device's advertising ID. On iOS, that ID is available only if the user allows tracking in Apple's App Tracking Transparency prompt, so iPhone audiences depend on how many users say yes.
Do Emails Use Pixels Too?
Yes, emails use a tracking pixel to count opens. A tiny image loads when the message is shown, and the sender's server logs it. It is a common use of a pixel in marketing, but less reliable than it looks: mail apps that preload images, such as Apple Mail with Mail Privacy Protection, record opens that never happened.