What is the Meta Pixel?
The Meta Pixel is a snippet of JavaScript on your website that reports visitor actions, like page views and purchases, back to Meta so it can measure and optimise your ads. It was formerly called the Facebook Pixel.
Also called Facebook Pixel
Why it matters.
- Lets Meta count conversions and learn which people are likely to buy.
- Powers retargeting and lookalike audiences built from your visitors.
- Feeds the numbers you see in Ads Manager.
Common mistakes.
- Installing it twice, through a theme and a tag manager, so events double up.
- Firing Purchase without a value and currency, which leaves Meta unable to optimise for revenue.
- Running the pixel alone. Pairing it with the Conversions API recovers events the browser misses.
Measure it well.
DATALYR loads your pixel and also sends verified purchases to Meta from the server, deduplicated against the browser event, so Meta sees every order. Events Manager shows what arrived.
See pixels and scripts →Questions, answered.
Contact usIn Meta Events Manager: open Data sources, pick your pixel, and the ID is shown with its name.
Predefined actions such as PageView, ViewContent, AddToCart, InitiateCheckout, Lead and Purchase that Meta understands for reporting and optimisation.
Meta generally recommends using both, with the events deduplicated, so each covers what the other misses.
Related terms.
- Tracking pixelA tracking pixel is a small piece of code, once a 1x1 transparent image, that runs when a page or email is viewed and reports the visit to an ad or analytics platform.
- Meta Conversions APIMeta's server-to-server channel for sending conversions, used alongside the pixel.
- Event Match QualityEvent Match Quality (EMQ) is a score Meta gives each conversion event for how well the customer details you send, such as email, phone and browser IDs, match a real Meta account.
- Conversion trackingConversion tracking records when a visitor completes a goal you care about, such as a purchase, sign-up or lead, and ties it back to the ad or channel that brought them.
- Server-side taggingServer-side tagging runs your marketing tags in a server container you control instead of in the visitor's browser.

See what really drives revenue.
Real-time attribution, analytics and conversions for every channel, campaign and ad, ready for your team and your agents.