Meta Pixel (Facebook Pixel)

The Meta Pixel, which used to be called the Facebook Pixel, is a short piece of JavaScript that sits on your website. It sends events, such as a page view, an add to basket, or a purchase, back to Meta for your ad account.

Why the Meta Pixel misses some events

Not every event gets there. A purchase from someone who accepted marketing cookies is sent. A purchase from someone who declined them shouldn't be, and an add to basket can be blocked by the browser before it ever leaves the page.

Cookie consent is the first gap. In the UK, the pixel should only run once a visitor has agreed to marketing cookies. Ad blockers and browser privacy features stop more events, especially on Safari.

That's why many advertisers pair the pixel with Meta's Conversions API. It sends events from your server rather than the visitor's browser, so fewer get lost along the way, although consent still applies. Meta matches up events that arrive both ways, so they aren't counted twice.

What the Meta Pixel is used for

Meta uses pixel events in three main ways. They show which adverts led to sales or leads, so you can see what's working. They teach Meta's delivery system who's likely to convert, so it can show your ads to similar people. They also build audiences for remarketing, such as people who viewed a product but didn't buy.

Setting up the Meta Pixel for our paid social clients

The pixel is one of the first things we look at when we take on a Meta Ads account.

When we take on a Meta account, we check the pixel and its events before we touch the adverts. If Meta's learning from the wrong events, it'll keep finding you the wrong people.
VickiSocial Media Executive, Bird Marketing
  1. Our developers build your forms and features, and set up cookie consent for GDPR.

  2. We install the Meta pixel and Conversions API, then agree with you which events count, such as a quote form or a purchase.

Choosing the right events to track

Track the events that matter to your business, such as a purchase, a booked call, or a quote form. If Meta optimises for something too easy, like a page view, it'll find you people who like looking at pages. Check in Events Manager that each event fires once, at the right moment, with the right details attached.

More analytics glossary terms

These analytics glossary terms explain how website visits, events, campaigns and sales are measured, and where the numbers can mislead. Each definition comes with a diagram and a practical example, so reports from Google Analytics and other tools are easier to read and question.