Skip to content

Lead generation only. Meta Ads, Conversions API and CRM feedback, run by one senior specialist.

Write to me: [email protected]
Conversions API & Tracking · 4 min read

Meta Conversions API for Lead Generation: Setup, Deduplication and Match Quality

How to set up the Meta Conversions API for lead generation: which events to send, deduplication with event_id, Event Match Quality parameters, and common mistakes.

Network cables, the data connection to Meta

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:

EventWhen it firesWhy it matters
LeadForm submitted successfullyYour main optimization event at first
Contact or ScheduleA call or booking is madeA higher-intent signal
Custom CRM stages (e.g. QualifiedLead)Sales accepts the leadWhat you eventually optimize toward
Purchase or a closed-won eventDeal closedValue 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:

  1. Generate a unique ID when the form is submitted
  2. Pass it to the Pixel as eventID
  3. Send the same value as event_id in the server event
  4. 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

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.

About the author

Anand Andhalkar

Meta Ads lead generation specialist. I run Facebook and Instagram lead generation and build the Conversions API and CRM feedback loop behind it. Based in India, working with clients in the US, UK, UAE and India.

More about me

Free · 20 minutes · No pitch

Find out what your ad account isn't telling you.

I look at structure, targeting, tracking and lead quality, and tell you the first thing I would fix. If nothing is broken, I'll tell you that.