Glossary · Tracking & Attribution

What is Pixel Tracking?

Definition

Client-side conversion tracking in which a tag or tiny image on the confirmation page fires in the user's browser and reports the conversion.

Pixel tracking is a client-side method of recording conversions. A small piece of code, historically a 1x1 transparent image and now often a JavaScript tag or iframe, is placed on the confirmation page. When the user's browser loads that page, the pixel sends a request to the tracking platform, which reads its cookie to identify the click and credits the affiliate.

How it works

  1. On click, the tracker sets a cookie in the user's browser containing the click or affiliate ID.
  2. The advertiser places the pixel on the thank-you or order-confirmation page.
  3. When the page loads, the browser requests the pixel URL, sending the tracker's cookie (if the browser allows it) and any values the advertiser passes, such as order ID and amount.

Because the tracker's domain usually differs from the advertiser's, the cookie is often a third-party cookie, which several major browsers restrict by default.

Example

An illustrative image pixel:

<img src="https://track.example.com/pixel?offer=12&order_id=A-1009&amount=89.90"
     width="1" height="1" alt="" style="display:none">

The advertiser's checkout fills in order_id and amount dynamically; the tracker identifies the affiliate from its cookie.

Why it matters

Pixels are quick to install with no backend work, which is why many smaller advertisers start with them. But they depend on the browser: ad blockers, privacy settings, cookie restrictions, and users who close the tab before the page finishes loading all cause missed conversions. Pixels also cannot report events that happen later on the server, such as a lead approval or a first deposit.

That is why many performance programs prefer S2S tracking through postback URLs, sometimes keeping a pixel as a backup. Compare both approaches in what a postback URL is.

Related: S2S tracking, postback URL, Conversions API.

  • S2S Tracking

    Server-to-server tracking, in which conversions are reported directly between servers using a stored click ID instead of browser cookies or pixels.

  • Postback URL

    A URL one system calls server-to-server to report a conversion to another, passing the original click ID plus details such as payout and status.

  • Conversions API

    A server-side interface for sending conversion events from an advertiser's server directly to an ad platform, best known from Meta's Conversions API.

  • Cookie Duration

    The window after a click during which a conversion can still be credited to the referring affiliate, also called cookie life or attribution window.

Articles that mention Pixel Tracking

← All glossary terms