Tracking
Meta Pixel and Conversions API: how to set up tracking that Meta can learn from
December 2026 · 5 min read
If Meta cannot see what happens after the click, it optimises for clicks. Here is how the Pixel and the Conversions API work together, and what to check.
Why tracking decides your results
Meta’s system learns from the events you send it. If it only sees page views, it finds people who click. If it sees real leads, bookings and sales, it finds more people like those. Tracking is not a technical extra. It is what the campaign learns from.
Pixel and Conversions API in short
The Meta Pixel is a snippet of code on your website that reports events from the visitor’s browser. The Conversions API sends events from your server or CRM directly to Meta. Browsers and ad blockers can stop the Pixel from firing, so the server-side route fills the gaps and can also report what happens later, such as a lead being qualified or a sale closing.
Send the same event twice, count it once
Meta recommends sending key events through both routes. To avoid counting a conversion twice, both copies must carry the same event name and the same event ID. In the Pixel the ID is passed as the eventID parameter, and in the Conversions API as event_id. When they match, Meta keeps one copy.
Consent comes first
For visitors in the EU the Pixel should only fire after the visitor has accepted marketing cookies. A consent tool such as Cookiebot handles this, and its auto-blocking mode holds the Pixel back until consent is given. Check that it works: open the site in a private window, decline cookies, and confirm that nothing is sent to Meta.
Test before you spend
In Events Manager, the Test events tab shows what the browser and the server send, and whether they are deduplicated. Check that each event arrives once, with the right name, and that the match quality looks healthy. Do this before the budget goes up, not after.
What to send for lead generation
For a service business, send the lead itself, and then the stages that matter: qualified, booked, won. Feed those back from your CRM through the Conversions API, so Meta can optimise for the leads that become customers and not just the ones that fill in a form. We cover this in more detail in our article on lead quality.
Sources
Meta for Developers: Handling duplicate Pixel and Conversions API events ↗ Meta Business Help: About deduplication for Meta Pixel and Conversions API events ↗Want us to look at your account?
Book a call