The Facebook Pixel is a piece of code added to a website to track visitor actions and measure the results of Facebook and Instagram ads.
3 min read
The Facebook Pixel is a small piece of tracking code that you place on your website so Meta can record what visitors do after clicking your Facebook or Instagram ad, such as viewing a page, adding a product to a cart or completing a purchase.
Once installed, the Pixel fires small pieces of data back to Meta every time a visitor performs a tracked action on your site. This data serves three main purposes: measuring whether your ads actually lead to results, letting the ad delivery algorithm optimize toward people likely to convert, and building custom audiences of past visitors for retargeting or lookalike campaigns.
| Event name | What it tracks |
|---|---|
| PageView | Any page load on your site |
| ViewContent | Viewing a specific product or content page |
| AddToCart | Adding a product to a shopping cart |
| InitiateCheckout | Starting the checkout process |
| Purchase | Completing a transaction |
| Lead | Submitting a form, such as a signup or contact form |
Since Apple’s iOS 14 privacy changes and the general rise of ad blockers and cookie restrictions, the Pixel alone often misses a meaningful share of actual conversions, because browser and device level tracking gets blocked before the data ever reaches Meta. This is the main reason Meta now pushes advertisers toward using the Pixel together with server side tracking.
The Conversions API sends the same event data directly from your server to Meta, bypassing the browser entirely, which recovers a significant share of the conversions the Pixel misses on its own. Most modern ecommerce platforms and tag managers now offer built in Conversions API integrations, so setting up both the Pixel and server side tracking together has become the standard, rather than relying on browser tracking alone.
Open Events Manager and look at the “Diagnostics” tab, which flags common setup errors such as duplicate events or missing parameters. Test key actions yourself, like adding a product to your cart, and confirm the matching event appears within a minute or two using the Pixel Helper extension. If numbers in Ads Manager look consistently lower than your actual order data, that mismatch is usually a sign the Conversions API is not fully configured yet.