The Meta Pixel is a snippet of JavaScript placed on your website that reports visitor activity back to Meta. It records what people did after clicking an advert, builds audiences from who visited which pages, and gives the delivery system the feedback it uses to find more people like your buyers.
In short
- It reports visitor actions from your site back to Meta.
- It records nothing retroactively, so it has to be installed before it is needed.
- Browser blocking means it now sees a fraction of what it used to.
- It cannot see anything that happens inside Messenger.
What it actually does
One piece of code does three separate jobs, and businesses usually want only one of them while getting all three.
- Measurement. It reports conversions so Meta can tell you what an advert produced, rather than only what it cost.
- Optimisation. It feeds the delivery system examples of people who converted, which is what lets a campaign find more of them.
- Audiences. It builds the lists of past visitors that retargeting runs on.
The third is the one with a deadline attached. Nothing is recorded before the code is installed, so an audience of people who visited in the last ninety days only exists if the pixel has been collecting for ninety days. This is the single strongest argument for installing it on the day a site launches, whether or not anybody intends to advertise yet.
Events, standard and custom
The pixel on its own records page views. Everything more useful comes from events, which are named actions you tell it to report.
Meta defines a set of standard events with names it understands: view content, add to cart, initiate checkout, purchase, lead, complete registration. Using the standard names is worth the discipline, because the optimisation and the reporting are built around them. An event called something of your own invention still records, and the campaign cannot optimise towards it in the same way.
Values belong on the events that have them. A purchase event carrying the order total lets Meta report revenue and optimise for value rather than for count, which is the difference between a campaign chasing cheap orders and one chasing profitable ones.
Custom events are for the things standard names do not cover, such as a booking of a specific service or a download. Use them deliberately and sparingly, because each one is a thing somebody has to maintain when the site changes.
Events also decide what a campaign chases. A campaign optimising towards add to cart will find people who add to cart and never pay, because that is precisely what it was asked for. Optimise towards the event that represents money, and accept the slower learning that comes with a rarer action.
What it no longer sees
A pixel is browser-side code, and browsers have spent years restricting exactly this kind of code.
Ad blockers remove it outright. Safari and Firefox limit what it can store, so a visitor recognised for months a few years ago is recognised for days now. A visitor who declines your consent banner should produce nothing at all. And somebody who researched on a phone and bought on a laptop is two unconnected strangers.
The result is that pixel-reported conversions are an undercount, sometimes badly. This is not a fault to fix and it is a fact to plan around. The Conversions API is Meta’s answer: the same events sent from your server, where a browser cannot block them, with event IDs used to match the two so a single purchase is not counted twice.
For a business spending real money on Meta, running both is now the normal arrangement. For a business testing a small budget, the pixel alone is a reasonable place to start, as long as nobody presents its numbers as complete.
The Philippine gap in the reporting
There is a limit here that bites harder in this market than almost anywhere.
A great deal of buying happens in conversation. Somebody sees an advert, taps through to Messenger, asks about sizes and delivery, agrees a price and pays on delivery. The website was never involved. The pixel, which is a script on the website, recorded nothing beyond the click.
Meta reports that campaign as expensive and unproductive. The business knows it produced orders. Both are describing the same campaign from different ends, and the reporting gap is not a measurement error to be corrected but a channel the pixel does not reach.
Two responses help. Send message-objective campaigns where the conversation is the goal, so Meta is optimising towards the thing that actually happens. And count the orders yourself, because the number that matters was never going to appear in Events Manager.
Installing it without regret
Four decisions make the difference between a pixel that earns its place and one that quietly misreports for a year.
- One pixel per business, not per campaign. Splitting the data across several identifiers leaves every one of them too thin to optimise from.
- Standard event names. Use Meta’s vocabulary wherever a standard event exists, and keep custom events for genuine exceptions.
- Behind the consent gate. Held until somebody answers, with the resource hints checked as well as the script itself.
- Verified once, deliberately. Walk your own site through to a purchase with Meta’s browser extension open and watch the events fire.
Shop platforms make most of this a setting rather than a development job, and their built-in integrations usually send the standard events correctly. The common failure is installing the integration and also pasting the code by hand, which produces every event twice and a reported conversion rate that matches nothing in the shop.
Placement counts as much as installation. The purchase event has to fire on the page somebody reaches after paying, not on the button that starts the payment. Firing it on the button counts every attempt, including the ones that failed, and produces a reported conversion count the shop cannot account for.
Words you will hear
- Pixel. The script on your site reporting events to Meta.
- Event. One named action, such as purchase or lead.
- Standard event. An event using Meta’s own vocabulary.
- Conversions API. The same events sent from your server instead.
- Deduplication. Matching browser and server events so one action counts once.
- Dataset. What Events Manager increasingly calls the container the pixel reports into.
- Custom audience. A group built from what the pixel recorded.
If you are not advertising yet, install it anyway. The cost is ten minutes and the alternative is finding out in six months that the audience you needed was never being collected.
Questions we get
More about meta pixel
Do we need a pixel if we are not advertising yet?
Is the Meta Pixel the same as the Facebook Pixel?
What is the Conversions API and do we need it too?
Why do Meta and our shop report different numbers of sales?
Does the pixel work if somebody declines the cookie banner?
Can the pixel see what happens in Messenger?
How do we check ours is working?
Do it yourself
Guides on the same topic
Free step by step guides for owners doing the work themselves. No sign up and no email required.
Related terms
Paid social
Paid social is advertising on social platforms like Facebook, Instagram and TikTok, where you reach people by who they are rather than what they searched.
Retargeting
Retargeting shows adverts to people who already visited your site. It reports the best numbers you run, partly by claiming people who were coming back anyway.
Tracking
Tracking is the wiring that records what visitors do on your site, so you can tell which marketing produced real inquiries instead of guessing.