The Meta Pixel is code on a website that tells Meta (Facebook and Instagram) about visitor actions: views, carts, purchases. The Conversions API sends the same events from the server, so browser restrictions and ad blockers do not stop them. The two work best together, on one condition: the same event from both sources must carry the same ID, so that Meta does not count it twice.
Pixel and Conversions API: how they differ
| Criterion | Meta Pixel | Conversions API |
|---|---|---|
| Where it is sent from | From the visitor's browser | From the website's or store's server |
| What can stop it | Ad blocking, browser restrictions, shorter cookie lifetimes | Almost nothing, as long as the server is running |
| What implementation requires | Code on the website or a tag in Google Tag Manager | A platform integration or a server-side solution |
| What it sees in addition | Browsing behavior on the page | Events the browser cannot see: later payment, returns, CRM statuses |
When both are running, Meta receives the same purchase twice and keeps one by itself. For that, both events must have the same name and the same event_id. Without it, the number of purchases in Ads Manager doubles and campaigns look twice as good as they are.
Which events to send
| Event | When it is sent | What to attach |
|---|---|---|
PageView | On every page | Nothing extra |
ViewContent | When a product page opens | Product ID, price, currency |
AddToCart | When a product is added to the cart | Product ID, price, currency |
InitiateCheckout | When checkout starts | Cart total, currency |
Purchase | Only when the order is confirmed | Amount and currency (required), product IDs, event_id |
Lead | When a lead is submitted successfully | Nothing, or the lead type |
Product IDs must match the IDs in the product catalog. Otherwise dynamic ads will not show a person the products they looked at.
Three ways to implement
- Shopify. The official “Facebook & Instagram” app enables both the Pixel and the Conversions API. Choose the highest data-sharing level; server events are then sent automatically.
- WooCommerce. The official “Facebook for WooCommerce” plugin does the same. Check that the same Pixel has not also been added in the theme code or through another plugin.
- Google Tag Manager. For custom websites, and when you want to manage all tags in one place with the same consent requirements. In this case the Conversions API requires a server-side solution.
Whichever way you choose, the Pixel must fire only after the visitor has consented to advertising cookies. How to check that is described in the article on the cookie banner.
How to check
- Meta Pixel Helper. A free Chrome extension. Walk the path from a product to the thank-you page and watch which events fire and whether any repeat.
- Events Manager → “Test events”. Make a test purchase. You should see the event from the browser and from the server, with one of them marked as deduplicated.
- Event match quality. The score next to each event shows how much data Meta receives to recognize the buyer. A low score on
Purchasemeans some purchases are not being attributed to ads. - Comparison with the store. Last month's number of
Purchaseevents in Events Manager should be close to the number of orders in the store. If it is much higher, look for duplication.
The five mistakes we find most often
- Pixel and Conversions API without a shared ID. Every purchase is counted twice.
- A purchase is counted when the thank-you page opens. Reloading the page or returning from an email records another one.
- A purchase without an amount or in a different currency. Return in Ads Manager becomes a random number.
- The Pixel fires before consent. Usually because it is placed directly in the code rather than through tag management.
Leadon a button click. The same as in Google Ads: attempts are counted, not submitted leads.
Common questions
Does a small store need the Conversions API?
Why does Meta show more purchases than GA4?
Can the Meta Pixel run without cookie consent?
Can a website have several Pixels?
Services: tracking setup and maintenance · Google Ads management · free Google Ads audit
