The short answer
Send your lead event from both the Pixel and the Conversions API, give both the same event_name and event_id so Meta deduplicates them, include hashed email and phone plus fbc, fbp, IP and user agent to improve Event Match Quality, and then go further by sending CRM stages (qualified, booked, won) so Meta learns which leads matter.
The Meta Pixel runs in the visitor’s browser. Ad blockers, browser privacy features and consent choices stop some of those events from ever reaching Meta. The Conversions API (CAPI) sends events from your server instead, so Meta receives the conversion even when the browser does not report it. For lead generation, CAPI has a second, bigger job: it is how events that happen after the form, in your CRM, get back to Meta.
Which events to send
For website lead generation, start with:
| Event | When it fires | Why it matters |
|---|---|---|
| Lead | Form submitted successfully | Your main optimization event at first |
| Contact or Schedule | A call or booking is made | A higher-intent signal |
| Custom CRM stages (e.g. QualifiedLead) | Sales accepts the lead | What you eventually optimize toward |
| Purchase or a closed-won event | Deal closed | Value and true cost per customer |
Fire the website events from both the browser (Pixel) and the server (CAPI). Send the CRM stage events from the server only, because they happen long after the visitor has left your site.
Deduplication: the step most setups get wrong
When the same lead is reported by both the Pixel and the Conversions API, Meta needs to know it is one lead, not two. According to Meta’s deduplication documentation, it matches events that share the same event_name and event_id (the Pixel’s eventID parameter). In practice:
- Generate a unique ID when the form is submitted
- Pass it to the Pixel as eventID
- Send the same value as event_id in the server event
- Check in Events Manager that browser and server events are being deduplicated
If the IDs do not match, Meta double-counts leads, your reported CPL looks better than it is, and the algorithm optimizes on inflated data.
Event Match Quality: help Meta find the person
Event Match Quality (EMQ) is Meta’s score for how well the customer information in your events can be matched to Meta accounts. Meta’s customer information parameters include:
- em (email) and ph (phone), normalized and SHA-256 hashed
- fbc (click ID, from the _fbc cookie or the fbclid URL parameter) and fbp (browser ID cookie), not hashed
- client_ip_address and client_user_agent, not hashed
- external_id, your own customer ID (hashing recommended)
- First name, last name, city, state, ZIP and country, hashed
For lead generation, email, phone and fbc carry most of the weight. Capture fbclid when the visitor lands, keep it in a first-party cookie, and send it with every event for that person, including later CRM events.
Going past the form: CRM events
A lead event tells Meta someone filled a form. It says nothing about whether they answered, qualified or bought. If that is all Meta sees, it optimizes for people who fill forms. Sending CRM stages fixes that.
For Instant Form leads, Meta’s Conversions API for CRM uses the Meta lead_id and action_source “system_generated”, and recommends daily uploads, at least 200 leads a month, and a target stage that happens within 28 days and converts at 1 to 40% of leads. For landing page leads, store fbc and the hashed email and phone on the CRM contact and send stage events through CAPI the same way. I cover the CRM side in detail in how to send CRM data back to Meta.
Common mistakes
- Pixel and server events with different event names (“Lead” vs “lead_submit”), so deduplication never happens
- Sending unhashed email or phone, or hashing data that should not be hashed (fbc, fbp, IP)
- Not storing fbclid, so later CRM events cannot be matched to the ad click
- Sending sensitive data, such as health conditions, in event parameters. Don’t: send stages and standard parameters only
- Setting it up once and never checking it again. Site changes break tracking silently
How to check your setup
Use the Test Events tool in Events Manager, then review deduplication and Event Match Quality per event. Or run through the free CAPI setup checklist, which covers the same ground in 14 questions and includes a sample CRM payload.
Sources
- Meta for Developers, Deduplicate Pixel and server events
- Meta for Developers, Customer information parameters
- Meta for Developers, Conversions API for CRM integration
Frequently asked questions
Do I still need the Pixel if I use the Conversions API?
Yes. Meta recommends running both, with deduplication. The Pixel captures browser signals, CAPI fills the gaps and adds server-side and CRM events.
Is the Conversions API hard to set up?
Partner integrations make basic website events easy. Lead generation with CRM stages, click ID storage and deduplication usually needs custom work.
What is a good Event Match Quality score?
Higher is better. Focus on sending hashed email and phone, fbc and fbp with your key events, then check the score per event in Events Manager.
