Meta Pixel vs Conversions API: the Pixel is JavaScript that runs in your visitor’s browser and reports what they do on your site, while the Conversions API (CAPI) sends the same events from your server, website platform or CRM straight to Meta, so ad blockers and browser privacy settings can’t stop them. That makes “Conversions API vs Meta Pixel” a false choice: Meta recommends running both, with the same event ID on each event so every lead is counted once.
Why tracking decides what you pay per lead
When you run a lead campaign, Meta looks for more people like the ones who became leads. If it can’t see who became a lead, it guesses. Better data means Meta shows your ads to more of the right people, and you pay less for each lead.
The Pixel and the Conversions API are the two ways that data reaches Meta. They see different things, which is exactly why they’re built to work together.
Meta Pixel vs Conversions API: side-by-side comparison
Everything that matters in one table. The short version: the Pixel sees what happens in the browser; the Conversions API sees what your systems know.
| Meta Pixel | Conversions API (CAPI) | |
|---|---|---|
| What it is | A JavaScript snippet from Meta on every page of your site | A server-to-server connection: your server, platform or CRM posts events to Meta |
| Where it runs | The visitor’s browser | Your server, website platform, CRM or a cloud gateway |
| What it can see | What people do on your pages while they’re open: page views, clicks, form submits, plus Meta’s browser cookies (_fbp, _fbc) | Anything your systems record: form submissions, booked calls, CRM stage changes, paid invoices, phone sales. Events can be sent up to 7 days after they happen |
| Ad blockers and browser limits | Blocked by many ad blockers; loses data to refused cookies and Safari/iOS privacy features | Not affected by browser ad blockers, because it never runs in the browser. Privacy and consent rules still apply |
| Setup effort | Minutes: a plugin, a platform setting or one snippet in your site’s <head> | From one click (Meta’s own option) to a developer project (direct API) |
| Cost | Free | Free from Meta. You pay for hosting (Meta’s own estimates for its Gateway start at about $13 a month on Google Cloud), a partner tool or developer time |
| Match quality | Cookies, IP address and browser details; hashed email or phone only if advanced matching is on | Can send hashed email, phone, name and your CRM contact ID, plus IP, browser, fbp and fbc. Meta scores it from 1 to 10 (Event Match Quality) |
| What Meta recommends | Keep it | Add it alongside the Pixel (a “redundant setup”), with deduplication |
Do you need both? Yes, and Meta says so
Meta’s Conversions API documentation says that for optimal ad performance it recommends implementing the Conversions API alongside the Meta Pixel. Its implementation guide calls this a “redundant setup” and marks it as the recommended option: the same events go through both channels, and Meta keeps one copy of each.
Why both, rather than just the “better” one:
- The Pixel catches what your server can’t see. It sets the
_fbpand_fbccookies that tie a visit to a browser and to the ad click, and it reports on-page behaviour as it happens. - The Conversions API catches what the browser loses. Visitors with ad blockers, refused cookies or a link stripped of its click ID still get counted, because the event comes from your server. (Since iOS 17, Apple’s Link Tracking Protection removes Facebook click IDs from links opened in Mail, Messages and Safari Private Browsing.)
- Only your systems know what happened next. For a trade business the events that matter most, a booked job or a paid invoice, happen after the visitor has left your website. The Conversions API can report those; the Pixel never sees them.
- Instant forms depend on it. With Facebook lead ads, the form is submitted inside Facebook, so your Pixel never fires. Sending lead stages back from your CRM through the Conversions API (Meta calls this the Conversions API for CRM) is what lets Meta optimise for leads that turn into customers. More on that trade-off in Facebook lead ads vs landing pages.
Meta also puts a number on it. When it launched its free one-click Conversions API in April 2026, Meta said advertisers with a Conversions API setup for web events saw an average 17.8% lower cost per result than advertisers without one (as reported by PPC Land). That is Meta’s own average, measured against having no Conversions API at all, so read it as a direction, not a promise for your account.
Conversions API vs Meta Pixel: which should you set up first?
If you’re starting from nothing, install the Meta Pixel first. It takes minutes and starts sending page views and leads straight away. Then add the Conversions API, ideally through a built-in integration on your website platform or CRM rather than custom code, and make sure both send the same event ID so Meta counts each lead once.
If you could only keep one for a lead generation business, the Conversions API is the more reliable of the two, because ad blockers and browser privacy settings can’t stop it. In practice you want both, and in 2026 there’s no cost reason not to.
Is there a Meta Pixel API?
Not as a separate product. When people search for a “Meta Pixel API” they almost always mean the Conversions API, which sends the same events the Pixel sends, but from server to server. The Pixel itself is a JavaScript snippet with a few simple commands, such as fbq('track', 'Lead'). It is not an API you connect to.
How to set up the Meta Pixel
- In Events Manager, choose Connect data → Web and create a dataset. Meta now calls the Pixel a dataset; its ID is your Pixel ID.
- Install it with your platform’s Meta integration or plugin, or paste the base code into the
<head>of every page. - Fire a Lead event when the form is actually submitted (or on the thank-you page), not when the form page loads.
- Turn on automatic advanced matching in the dataset settings, so the Pixel can send hashed details such as email and phone from your forms with each event.
- Check it with Meta’s browser extension, Meta Ads Data Advisor (formerly Meta Pixel Helper), and in Events Manager.
How to set up the Conversions API: 6 options
Pick the first option that fits how your site is built. Most of them don’t need a developer.
1. Meta’s one-click setup (free)
Since April 2026, Events Manager has a free “Set up with Meta” option: start the Conversions API setup for your dataset, choose See other ways to set up, then Set up with Meta (the route PPC Land reported at launch; Meta moves its menus often). Meta runs the server side for you at no cost. It needs an existing Pixel and covers web events only, so no offline or CRM events: it won’t report a sale that happens after the visit.
2. Conversions API Gateway
The Conversions API Gateway is Meta’s no-code server that you host on your own cloud account (AWS or Google Cloud); it sends your website events to Meta through the Conversions API. Meta says the only cost is the cloud bill or a partner’s fee. Its own estimates start at about $13 a month on Google Cloud (up to 10 events a second) and about $39 a month on AWS (10 million events a month), and it puts the AWS ECS Express setup at about 25 minutes. A good fit if you want more control than the one-click option without writing code.
3. Partner integrations (Shopify, WooCommerce and others)
If your platform has a native Meta connection, use it. On Shopify, the Facebook & Instagram app uses the Conversions API when customer data sharing is set to Enhanced or Maximum (Standard is Pixel only). On WooCommerce, the official Meta for WooCommerce extension (formerly Facebook for WooCommerce) sends events through both channels and deduplicates them with a shared event ID. Many website builders, form tools and CRMs have a similar built-in connection: search their help pages for “Conversions API”.
4. Server-side Google Tag Manager
If you already use Google Tag Manager, a server container can forward your GA4 events to Meta with the Conversions API Tag, which Meta writes and maintains. Meta’s guide runs the container on Google Cloud. It’s flexible, but it’s a technical setup: plan on someone who knows GTM.
5. Direct API integration
A developer sends events from your own backend to Meta’s Graph API, using an access token generated in Events Manager (Settings → Conversions API). Meta’s Business SDKs do the hashing for you. It’s the most work and the most control: you can send any event your systems record. Meta asks for events in real time or within an hour, and rejects any event more than 7 days old.
6. GoHighLevel
Yes, GoHighLevel can send Conversions API events. Its workflow builder has a Meta Conversion API action (it was called Facebook Conversion API until HighLevel renamed it): you add the access token and Dataset ID (your Pixel ID) from Events Manager, then fire it from triggers such as Form Submitted, Survey Submitted, Customer Booked Appointment or Order Form Submission, or from a Pipeline Stage Change. HighLevel says it handles deduplication automatically for supported funnel events by sending an event ID to Meta, and warns that a workflow running successfully doesn’t always mean Meta can credit the conversion to an ad: the contact needs valid Facebook attribution data, such as the click ID. Test it with a real form submission. For what else the platform does, see what GoHighLevel is.
Deduplication: how Meta counts each lead once
With both running, every lead reaches Meta twice: once from the browser and once from your server. Deduplication is how Meta keeps one copy and drops the other. The rules, from Meta’s documentation:
- Same event name: the Pixel’s event (for example
Lead) must match the server’sevent_name. - Same event ID: the Pixel’s
eventID(in the fourth argument offbq) must match the server’sevent_id. - 48-hour window: when matching events arrive within 48 hours of each other, Meta keeps the first one it received. If the browser and server copies arrive within 5 minutes of each other, Meta favours the browser event.
- Backup method: Meta can also match on
external_idplusfbp, but generally only when the browser event arrives first. Meta recommends sending all three (event_id,external_idandfbp). - Same-source duplicates stay: deduplication only pairs a browser event with a server event. Two server integrations sending the same lead, or a Pixel that fires twice, still count twice.
Example: one ID, sent twice
Create the ID once in the browser when the form is submitted, fire the Pixel with it, and pass the same ID to your server in a hidden field:
<input type="hidden" name="event_id" id="event_id">
<script>
document.getElementById('quote-form').addEventListener('submit', function () {
var id = 'lead.' + Date.now() + '.' + Math.random().toString(36).slice(2, 10);
document.getElementById('event_id').value = id; // goes to your server with the form
fbq('track', 'Lead', {}, { eventID: id }); // 4th argument: eventID
});
</script>
Your server then sends the same lead to the Conversions API, with that ID as event_id:
POST https://graph.facebook.com/{API_VERSION}/{PIXEL_ID}/events?access_token={TOKEN}
{
"data": [{
"event_name": "Lead",
"event_time": 1795515300,
"event_id": "lead.1795515300123.k3j9x2ab",
"action_source": "website",
"event_source_url": "https://example.com/quote/",
"user_data": {
"em": ["<SHA-256 of the email, trimmed and lower case>"],
"ph": ["<SHA-256 of the phone, digits only, with country code>"],
"external_id": ["<your CRM contact ID>"],
"fbp": "<value of the _fbp cookie, not hashed>",
"fbc": "<value of the _fbc cookie, not hashed>",
"client_ip_address": "<visitor's IP address, not hashed>",
"client_user_agent": "<visitor's user agent, not hashed>"
}
}]
}
event_time is the Unix time in seconds when the lead happened. While testing you add a test_event_code (see below); take it out for live traffic. If you use a platform integration it does all of this for you, and your job is to confirm the IDs match.
How to test it: Test Events and Event Match Quality
- Open Events Manager → your dataset → Test Events.
- Browser: enter your website address, open it from the tool and submit your form. The Lead should appear as a browser event.
- Server: copy the test code the tool shows and send it as
test_event_codewith a server event (most integrations have a field for it). The event should appear in the same window. Remove the code afterwards: Meta says test events aren’t thrown away, they flow into your data. - Deduplication: once real traffic has come through, open the event on your dataset’s Overview and check the Event deduplication tab in its details. It shows the share of events deduplicated from each source, and Meta flags a warning when the rate is too low.
Reading Event Match Quality
Event Match Quality (EMQ) is Meta’s score, from 1 to 10, for how well the customer information you send can be matched to a Meta account. You’ll find it per event on your dataset’s Overview page in Events Manager; click the score for Meta’s suggestions. Meta’s guidance is to aim for 6.0 or higher where possible, and the score is currently available for web events only.
To raise it, send more customer information with your server events: hashed email, phone and name, your own external_id, plus the unhashed IP address, user agent, fbp and fbc. A low score usually means one of these is missing or formatted wrongly, such as an email hashed without lower-casing it first.
Common mistakes (and how to spot them)
- Two different IDs. The browser and the server each generate their own random ID, so nothing pairs up and every lead counts twice. Create the ID once and pass it along.
- Event names that don’t match. “Lead” from the Pixel and “SubmitForm” from the server are two different events to Meta.
- Two server integrations at once. For example a platform app plus a plugin, both sending the same events to the same dataset. Duplicates from the same source aren’t removed.
- Hashing the wrong fields. Email, phone and names must be normalised and SHA-256 hashed; IP address, user agent,
fbpandfbcmust not be hashed. - Sending server events late. Meta asks for real time or within an hour. An event older than 7 days is rejected, and it fails the whole request it was sent in.
- Leaving
test_event_codeon live traffic. It’s for the Test Events tool only. - Firing Lead too early. A Lead event on page load of the form page, instead of on submit or the thank-you page, teaches Meta to find people who look but don’t enquire.
- Treating server-side as a way round consent. It isn’t: where the law requires consent for the Pixel, apply the same rules to the Conversions API.
A simple tracking checklist
- Install the Pixel on every page, including your landing page and thank-you page.
- Fire a Lead event when someone submits your form or books a call.
- Set up the Conversions API with the simplest option that fits your site: one-click, a platform integration, the Gateway, a GoHighLevel workflow or a developer.
- Send the same event name and event ID from both, so Meta can deduplicate.
- Check Test Events, then the deduplication rate and Event Match Quality in Events Manager.
- Optimise your campaign for the Lead event, not clicks.
Not sure your tracking is working?
I check and fix Pixel and Conversions API setups as part of every Facebook ads build. Free 30-minute call.
Book a free callTracking is one of the biggest levers on your cost per lead; the others are in how much Facebook ads cost. If you’d rather have it done for you, I set up the Pixel and the Conversions API, with deduplication tested, as part of my Facebook ads management.
Frequently asked questions
What is the difference between the Meta Pixel and the Conversions API?
The Meta Pixel sends events from the visitor’s browser. The Conversions API sends them from your server, website platform or CRM. The Pixel is quicker to install and sees what people do on your pages; the Conversions API is not stopped by ad blockers and can report events that happen later, like a sale. Meta recommends running both.
Conversions API vs Meta Pixel: which is better in 2026?
Neither replaces the other. The Conversions API is more reliable because browsers cannot block it, while the Pixel is quicker to install and supplies browser signals such as the _fbp and _fbc cookies. Meta recommends running both with deduplication, and since April 2026 it offers a free one-click Conversions API in Events Manager, so there is little reason to run the Pixel alone.
Do I need the Conversions API if I have the Pixel?
Yes, if you want Meta to optimise on complete data. The Pixel alone misses events lost to ad blockers and privacy settings, and it never sees what happens after the visit, such as a booked job. Meta’s own guidance is to run the Conversions API alongside the Pixel.
Does the Conversions API replace the Meta Pixel?
No. Meta recommends running both. Each catches events the other can miss, and Meta removes duplicates when both send the same event with a matching event ID.
Is the Conversions API free?
Meta does not charge for it, and its one-click setup in Events Manager costs nothing. Other routes have their own costs: the Conversions API Gateway runs on your own cloud account (Meta’s estimates start at about $13 a month on Google Cloud and about $39 on AWS, depending on how many events you send), partner tools charge their own fees, and a direct integration costs developer time.
Does GoHighLevel send Conversions API events?
Yes. HighLevel workflows have a Meta Conversion API action (formerly Facebook Conversion API) that sends events such as form submissions, booked appointments and pipeline stage changes to Meta, using an access token and Dataset ID (your Pixel ID) from Events Manager. HighLevel says it handles deduplication automatically for supported funnel events; check the deduplication rate in Events Manager anyway.
What is event deduplication?
When the Pixel and the Conversions API both report the same lead, Meta uses the shared event name and event ID to count it once, keeping the first copy it receives within 48 hours. Without it your results are double counted and Meta optimises on bad data.
What is a good Event Match Quality score?
Meta suggests aiming for 6.0 or higher on its 1 to 10 scale. You raise it by sending more customer information with your server events: hashed email and phone, your CRM contact ID, and the unhashed IP address, user agent, fbp and fbc.
How do I know if my Pixel and Conversions API are working?
Use Test Events in Events Manager: browser events show up when you open your site from the tool, and server events show up when you send them with the test code. Meta’s Ads Data Advisor browser extension (formerly Meta Pixel Helper) also shows which Pixel events fire on a page.
Is the Meta Pixel legal to use?
Yes, but you must follow privacy laws where you operate, such as showing a cookie notice and having a privacy policy that explains the tracking. The same rules apply to the Conversions API: sending data from your server does not remove them.
Done for you
Want your Pixel and Conversions API set up for you?
I set up the Pixel and the Conversions API with deduplication, test every event in Events Manager and show you what is being tracked, so Meta optimises on real leads and sales. Tell me your website platform on the call.
Real result: £10 a day → 742 enquiries → £200,000+ in sales for a UK service business. Read the case study
Free 30-minute call. No pitch, no obligation. Guarantee terms.Not ready for a call? Get a free ads audit
Send me your details and I’ll record a short video audit of your Facebook ads, or of your plan if you’re not running any yet.
Part of the Facebook ads guides
Related guides
- How much do Facebook ads cost for a small business in 2026?
- Facebook lead ads vs landing pages: which gets better leads?
- Hiring a Facebook ads expert: freelancer vs agency, and what to ask
- Facebook ads for real estate agents: how to get seller and buyer leads
Sources
- Meta for Developers: Conversions API
- Meta for Developers: Meta Pixel
- Meta for Developers: Conversions API overview (run it alongside the Pixel)
- Meta for Developers: Conversions API end-to-end implementation (redundant setup recommended)
- Meta for Developers: Handling duplicate Pixel and Conversions API events
- Meta for Developers: Conversions API best practices
- Meta for Developers: Server event parameters (48-hour deduplication, 7-day event_time limit)
- Meta for Developers: Customer information parameters (what to hash)
- Meta for Developers: Using the API (Test Events, test_event_code, sending within an hour)
- Meta for Developers: Verifying your setup (Event Match Quality, deduplication tab)
- Meta for Developers: Conversions API Gateway setup guide
- Meta for Developers: Gateway on Google Cloud architecture (cost estimate from about $12.60 a month)
- Meta for Developers: Gateway on AWS ECS Express architecture (cost estimate for 10 million events a month)
- Meta for Developers: Conversions API Gateway on AWS ECS Express (about 25-minute setup)
- Meta for Developers: Conversions API for server-side Google Tag Manager
- Meta for Developers: Conversions API for CRM integration
- Meta for Developers: Pixel advanced matching
- Meta for Developers: Meta Ads Data Advisor (formerly Meta Pixel Helper)
- Shopify Help Center: Facebook data sharing levels
- WooCommerce: Facebook Conversions API and the Facebook for WooCommerce extension
- WooCommerce: Meta for WooCommerce documentation (Conversions API built in, deduplicated by event ID)
- HighLevel Help: Meta (Facebook) Conversions API in workflows (automatic deduplication for supported funnel events)
- HighLevel Help: How to set up a funnel event pixel for the Conversions API
- PPC Land: Meta’s free one-click Conversions API is live (17.8% figure)
- AdExchanger: Meta is launching an easy button for CAPI (April 2026 launch)
- MacRumors: iOS 17 removes tracking parameters from links in Safari, Messages and Mail
- AppsFlyer: Link Tracking Protection in iOS 17 (fbclid removed)
- iubenda: Meta Conversions API and consent
