advrt
Glossary · Tracking & attribution

Pixel

A pixel is a JavaScript snippet on your website that sends user behavior events (pageview, add-to-cart, purchase) back to ad platforms.

What does Pixel actually mean?

A pixel is a small JavaScript tracker placed on every page of your website (or installed via Google Tag Manager). Each ad platform has its own (Meta Pixel, TikTok Pixel, Google Tag), but the concept is identical: capture user events and send them to the platform for attribution and audience-building.

Pixels detect standard events (PageView, ViewContent, AddToCart, InitiateCheckout, Purchase) plus custom events you define. The data flows back to the ad platform, which uses it for two jobs: attribute conversions to ads, and build retargeting / lookalike audiences.

In 2024+, browser-side pixel tracking has degraded due to ITP, third-party cookie deprecation and ad blockers. The replacement is server-side tracking via Conversions API (CAPI). Pixels still fire client-side as a fallback, but the source of truth is increasingly server-to-server.

Example

Meta Pixel fires on a Shopify product page (ViewContent event) and again at checkout completion (Purchase event with revenue and product ID). Meta uses these events to attribute the purchase to the ad campaign that drove the original click.

When it matters

Pixel data is the foundation of paid-social attribution and audience-building. Loss of pixel data = loss of optimization signal. CAPI is the upgrade most modern teams pair with the pixel.

Related terms

Find out which ads actually win.

advrt builds ads around your real product photos, tests them live on Meta and judges each one against your own account. Free plan, no credit card.

Try advrt free