What happens when a pixel fires
A conversion pixel relays events from the shopper's browser to the ad platform. The sequence for a typical web conversion:
- The shopper clicks an ad. On Google, the click places a temporary cookie on the shopper's device.
- The shopper lands on a tagged page. The advertiser has added a tag, or code snippet, to the site.
- The page loads the pixel. An image pixel makes the browser send a request to the platform's server. That request typically carries the IP address, the time, the browser type and any cookies the server set earlier.
- The tag reports an action. A JavaScript pixel loads a small library of functions that the site calls whenever the visitor takes an action, such as a purchase or an add to cart.
- The platform matches the action to the ad. When the shopper completes the defined action, the system recognizes the cookie and records a conversion.
- The data feeds reporting and targeting. Tracked conversions measure ad effectiveness and define custom audiences.
Each step can fail. A tag that never loads, a blocked request or a cleared cookie means the sale happened and the platform never saw it, so pixel-based ad attribution undercounts whenever a step breaks.
Pixel vs tag: image beacons and JavaScript tags
People use "pixel" and "tag" interchangeably for the same job; the difference is the build. The original pixel is a web beacon: an unseen HTML element, often an image as small as a single pixel and completely transparent, that tracks page views. When the same job is done with JavaScript, the element is usually called a JavaScript tag.
Platform pixels today are usually JavaScript: the Meta Pixel is a snippet of JavaScript that tracks visitor activity on a website. JavaScript lets a tag send named events with values, such as order total or product ID, where a plain image only signals that a page loaded.
A tracking pixel also differs from an ad tag, which a publisher places to call an ad server and display an ad. Ad tags deliver ads. Tracking pixels report what shoppers did after seeing or clicking one.
Where pixels fit in retail media
On a retailer's own site, the network sees the purchase because the sale happens in its store. That is the basis of closed-loop attribution, and it covers onsite sponsored products without a brand pixel.
Pixels matter once the shopper's journey leaves the retailer. Amazon's Performance+ campaigns rely on conversion signals from the advertiser's own site, app or offline channels to optimize. On the browser side, that signal comes from the Amazon Ad Tag, the client-side event source in Amazon's measurement setup. Brands that sell direct to consumer or run offsite retail media depend on tags like these to see results.
The second use is audience building. A pixel that records product page visits and abandoned carts gives the platform shoppers to reach again, the raw material for retargeting. One broken pixel therefore weakens both reporting and audience size. For network detail, see the Amazon network profile.
Pixel vs server-side tracking
Browser pixels are one of two ways to send conversion events. The other is server-side tracking, where the advertiser's server sends events straight to the platform. Without it, a container in the page sends measurement data to various collection servers. With it, the container runs on a server the advertiser controls.
| Browser pixel | Server-side tracking | |
|---|---|---|
| Where the code runs | In the shopper's browser, on page load | On a server the advertiser controls |
| Who sends the event | The browser, to each platform | The advertiser's server, to each platform |
| Data control | Each tag collects what its vendor coded | The advertiser decides how data is shaped and where it goes |
| Main weak point | Lost when the tag fails or is blocked | Needs engineering upkeep |
| Platform examples | Meta Pixel, Amazon Ad Tag | Meta Conversions API, Amazon Conversions API |
Meta recommends running both, with the Conversions API alongside the Meta Pixel. The browser tag catches session detail, and the server stream fills in events the browser loses.
Counting each conversion once
Running a pixel and a server stream together means the same purchase can arrive twice, so each platform has a deduplication rule and the advertiser must pass the right keys.
Meta matches a browser event and a server event when both carry the same event_id, or the same event_name with fbp or external_id. Deduplication only happens if the events arrive within 48 hours of the first one, and nothing is deduplicated when an advertiser uses a single source. Amazon's Conversions API uses a clientDedupeId field on every shared event; for events with the same ID, the first is kept and the rest are dropped.
Skipping this step inflates conversion counts. Inflated conversions flow straight into ROAS, so a campaign can look profitable on paper while sales stay flat. Comparing reported conversions with order data is the quickest check.
Pixels, cookies and shopper privacy
A pixel and a cookie do two different jobs. The cookie is a small identifier stored on the shopper's device, such as the temporary cookie Google places after an ad click. The pixel is the messenger that reads it: when the pixel loads, the browser sends the platform the cookies that server set earlier, along with the IP address and browser type.
That pairing puts pixels at the center of privacy debates, and browser limits on third-party cookies weaken them. Platforms have responded by moving toward data the advertiser owns. A server container keeps data private to the advertiser until the advertiser chooses to send it elsewhere. Amazon asks advertisers to share hashed identity data, such as email or phone, through Ads Data Manager.
For brands, the shift is toward first-party data collected with consent. Privacy-first advertising covers the wider rules.
Frequently asked questions
What are pixels used for in marketing?
Marketers use pixels to measure which ads lead to sales, to build audiences for retargeting and to study conversion funnels. A pixel on a checkout page reports each purchase to the ad platform, which credits the ad that drove it. The same data defines custom audiences of past visitors for later campaigns.
Is a tracking pixel the same as a cookie?
No. A cookie is an identifier stored in the shopper's browser. A tracking pixel is code on a page that sends a request to the ad platform when it loads, and that request carries the cookies the platform set earlier. The platform then uses the cookie to link the visit to an earlier ad click.
Do brands need a pixel for sponsored products on a retailer's site?
For sales inside the retailer's store, no. The network records the purchase itself and links it to the ad. Pixels come in when the sale happens elsewhere, such as on a brand's own site or app, which is why Amazon asks for off-Amazon conversion signals from those channels.

















