What Is Meta Conversions API? A B2B Setup Guide
A step-by-step guide to setting up Meta Conversions API and recovering the B2B conversions lost to browser and cookie restrictions.

Meta Conversions API (CAPI) is a measurement framework that sends conversions from your website, CRM or sales system to Meta directly from your server rather than from the browser. It complements Meta Pixel and helps you recover a significant share of the conversion data lost to ad blockers, cookie restrictions and browser privacy settings. For B2B companies, its real value goes beyond form fills. By feeding back the stages your sales team marks in the CRM, such as "qualified lead," "meeting held" or "proposal sent," it helps the algorithm find the people who actually turn into customers.
For B2B companies with sales cycles lasting weeks or even months and high customer values, budget is rarely the biggest problem with Meta ads. The real problem is that the algorithm is learning from the wrong signal. The campaign learns to find cheap form fillers, and the sales team complains that "half the incoming leads are students or competitors." In this guide, we explain what Conversions API is, which events B2B companies should send, the available setup options, the step-by-step setup process, and how to measure success afterward.
What exactly does Meta Conversions API do?
In traditional measurement, Meta Pixel is a piece of JavaScript code that runs in the visitor's browser. When a user submits a form, the Pixel passes that information from the browser to Meta. Conversions API, by contrast, sends the same information from your server to Meta's server. The difference may seem technical, but the consequences are significant:
- Less dependence on the browser. Ad blockers, Safari's Intelligent Tracking Prevention and restricted cookies cannot block data sent from a server.
- Events outside your website can be sent too. An inquiry that comes in by phone, a lead status change in the CRM or a signed contract are all events the Pixel will never see. CAPI can pass them along.
- Richer matching data can be sent. Information such as email, phone number and your company's own customer ID (external_id) is hashed with SHA-256 before being sent, and Meta matches it to user accounts.
- You stay in control of the data. You decide which events are sent, with which parameters, and when.
Meta positions CAPI not as a replacement for the Pixel but as a tool that works alongside it. The recommended approach is to send the same events through both the Pixel and CAPI and let Meta deduplicate them. This is known as a "redundant setup."
If the Pixel is already installed, why do you need Conversions API?
We hear this question a lot on the B2B side. The answer lies in the nature of B2B audiences and the sales process.
First, B2B visitors are more exposed to browser restrictions. Users on corporate networks are often protected by firewalls, corporate browser policies and ad blockers. A large share of decision-makers use iPhones and Safari. This can push the rate of conversions the Pixel misses higher than in B2C.
Second, because volumes are low, every conversion counts. While an e-commerce site may get hundreds of sales a day, a B2B software company might receive 40 to 60 demo requests a month. Losing 10 of those 50 conversions directly disrupts the algorithm's learning process. Meta generally states that an ad set needs roughly 50 optimization events per week to exit the learning phase. In low-volume B2B accounts, every lost signal pushes that threshold a little further out of reach.
Third, and most importantly, a form fill is not a sale. The Pixel only sees the "Lead" event. It doesn't know which leads are qualified or which ones turned into sales conversations. With CAPI, you can send later-stage events from your CRM to Meta and optimize your campaigns directly for "qualified leads" or "sales opportunities."
Which events should B2B companies send?
The most critical decision before setup is which events to measure. Instead of sending everything, map out a clear set of events that reflects your sales funnel. A typical B2B structure looks like this:
- PageView and ViewContent: Views of the pricing page, case studies or solution pages. Useful for retargeting audiences.
- Lead: Demo requests, contact forms, e-book downloads. However, don't lump e-book downloads and demo requests under the same event; either use different event names or separate them with the `content_name` parameter.
- CompleteRegistration: Free trial or webinar sign-ups.
- Schedule: Meetings booked through a scheduling tool.
- Custom CRM events: Stages such as "MQL," "SQL," "Opportunity opened," "Proposal sent" and "Won." These are sent server-side from the CRM, and the `action_source` value is usually set to `system_generated` or `crm`.
A practical rule: the event you optimize your campaign for must have sufficient volume. If you have 5 "won" events a month, optimizing for that event isn't realistic. Instead, an "SQL" or "meeting held" stage that occurs a few dozen times a month is usually the most balanced choice.
Pre-setup checklist
Before moving on to the technical setup, make sure the following groundwork is in place:
- A Meta Business Manager account and the right permissions. The Pixel (Meta now also uses the term "dataset") must belong to your business account, and you need permission to generate an access token. If this structure isn't properly set up yet, first complete the step-by-step Meta Business Manager setup.
- A verified domain. Domain verification must be completed in Business Manager.
- A working Meta Pixel. CAPI connects to the same dataset as the Pixel.
- An event map document. Write down in a table which event will fire on which page or system, and with which parameters.
- Consent management infrastructure. Clarify which events your cookie consent tool allows to be sent under which conditions.
- A technical owner. A developer, an agency or someone from your in-house team. CAPI setup is not a job the marketing team can finish on its own.
Which setup method should you choose?
There are four main ways to set up Meta Conversions API. The right choice depends on your technical resources, your web stack and whether you need CRM integration.
Partner integration
Some platforms, such as WordPress, HubSpot and Shopify, offer ready-made CAPI integrations with Meta. The connection is set up in a few clicks from within Events Manager. The advantage is speed; it's often up and running within a day. The disadvantage is limited flexibility. Sending custom CRM stages or controlling parameters in detail is usually not possible. It's a good starting point for small B2B teams whose corporate website runs on WordPress and who only want to make their form conversions more robust.
Conversions API Gateway
This is a ready-made server solution provided by Meta that runs in your own cloud account (for example, AWS or Google Cloud). Without any coding, it also relays the events sent by the Pixel through a server. The advantage is the low level of technical knowledge required. The disadvantage is that it only covers web events and isn't sufficient on its own for CRM stages.
Server-side Google Tag Manager (sGTM)
If you already use Google Tag Manager and want to feed GA4 and Meta from the same data stream, this is usually the most sensible option. The web GTM container sends events to the server container, which then distributes them to Meta, GA4 and other platforms. The advantage is managing all platforms from a single hub. The disadvantage is that setup and maintenance require technical expertise.
Direct API integration
This means your development team sends HTTP requests directly from your own server to the Meta Graph API. It's the most flexible method. It's ideal in particular for sending stage changes from the CRM, measuring events in a custom customer portal or connecting multiple systems. The downside is development time.
Our recommendation: For most B2B companies, the best results come from a hybrid setup: sGTM or Gateway for web events, and either a direct API integration or the CRM's own Meta integration for CRM stages.
How do you set up Meta Conversions API step by step?
The steps below describe the core flow shared by the direct integration and sGTM scenarios.
- Open Events Manager. Open Events Manager from Business Manager and select the dataset (Pixel) you'll connect CAPI to.
- Generate an access token. In the dataset's "Settings" tab, find the Conversions API section and use the "Generate access token" option. Store this token like a password; don't write it in plain text in your code repository—use an environment variable or a secrets manager.
- Note the dataset ID. The Pixel ID is used in the endpoint the requests are sent to.
- Prepare the event structure. Every event should include the following core fields:
- `event_name` (e.g., Lead)
- `event_time` (Unix timestamp, in seconds)
- `event_id` (a unique ID for deduplication)
- `action_source` (`website` for web events)
- `event_source_url` (the page where the event occurred)
- `user_data` (hashed email, phone, first name, last name and external_id, plus the unhashed IP address, user agent, and the `fbc` and `fbp` cookie values)
- `custom_data` (additional information such as form type, content name or estimated value)
- Normalize and hash user data. Email addresses should be converted to lowercase with leading and trailing spaces removed; phone numbers should include the country code and consist of digits only (e.g., 905321234567). They should then be hashed with SHA-256. The IP address and user agent are not hashed.
- Capture the fbc and fbp values. The `_fbp` cookie is created by the Pixel. `_fbc` is derived from the `fbclid` parameter in the ad click. Pass these values to the server via hidden fields when the form is submitted. They have a significant impact on match quality.
- Test with a test event code. Get a test code from the "Test Events" tab in Events Manager and add it to your requests as `test_event_code`. The events should appear on screen within a few seconds.
- Verify deduplication. Check that the same event is arriving from both the browser and the server and that Meta counts them as a single event (we cover this in detail in the next section).
- Go live and monitor for 48–72 hours. Remove the test code and keep an eye on the "Overview" and "Diagnostics" tabs in Events Manager for a few days.
- Check Event Match Quality. Review the score out of 10 that Meta assigns to each event and apply its improvement recommendations.
Example scenario
Imagine a company that sells corporate training services. Its website has a "Get a Quote" form. When a user submits the form:
- The Pixel in the browser sends the `Lead` event with `event_id: "lead_8f3k2"`.
- When the form data reaches the server, the server also sends the `Lead` event via CAPI with the same `event_id`, along with the hashed email, phone number, internal lead ID and fbc/fbp values.
- Meta matches the two events and counts one conversion, but uses the rich user data from the server for matching.
- Two weeks later, a sales rep marks this lead as "SQL" in the CRM. The CRM sends a custom event called `SQL` to Meta with the same external_id and email hash.
Thanks to this setup, over time the campaign shifts from finding people who "fill out forms" to finding users who resemble those who "become SQLs."
Why is deduplication so important?
In a redundant setup, the same event is sent twice, so without deduplication your conversions get inflated. Your 30 demo requests show up as 55–60 in reports, and your cost calculations and optimization are thrown off completely.
Meta deduplicates using two fields:
- event_name: Must be exactly the same in both sources. If you write "Lead" in the browser and "lead" on the server, they won't match.
- event_id: Must be the same unique value in both sources. This value is usually generated in the browser, added to the Pixel call and passed to the server through a hidden form field.
Meta matches identical events from the two sources within a certain time window (generally 48 hours). To check, open the details of the relevant event in Events Manager; in the "Deduplication" section, you can see how many browser and server events were matched.
How do you improve Event Match Quality?
Event Match Quality (EMQ) scores, on a scale of 0–10, how well the user data you send matches Meta accounts. The higher the score, the more conversions get attributed and the more efficient your targeting becomes. Generally, 6 or above is considered good, and 8 or above very good.
To improve EMQ in B2B:
- Send the email address with every event. You already have it for form events; always hash it and include it.
- Send phone numbers in the correct format. For Turkey, starting with 90, with no spaces or symbols.
- Don't miss the fbc value. It's one of the strongest matching signals for users coming from an ad click. Capture the fbclid parameter when the page loads and carry it through to the form submission.
- Use external_id. Hash and send your lead or contact ID from the CRM. This lets you identify the same person in subsequent CRM events as well.
- Capture IP and user agent correctly on the server side. If you're behind a proxy or CDN, make sure you're not sending the server's IP instead of the real user IP.
One note: many B2B users sign up for forms with their work email, but they created their Meta accounts with their personal email. This weakens email matching. Keep in mind that this is why additional signals such as phone number, fbc and fbp are even more important in B2B.
Feeding CRM data back to Meta: the real win for B2B
The most valuable use of Conversions API for B2B companies is sending the lower stages of the sales funnel back to the ad platform. Meta's former Offline Conversions API has been moved under the Conversions API umbrella; store, phone and CRM events are now sent through the same infrastructure.
There are two main scenarios:
1. If you use Meta Lead Ads (instant forms): Meta's Conversion Leads optimization lets you send lead stage updates from your CRM and optimize your campaigns for higher-quality leads. The critical field here is the `lead_id` value Meta generates for each lead. Store this ID in your CRM and send it back with the event when the stage changes.
2. If you use website forms: When a form is submitted, save the email, phone number, fbc and external_id in your CRM. When the lead stage changes, send a custom event with this data. Then create a custom conversion for that event and optimize your campaigns around it, or at the very least use it in reporting.
Things to watch out for in practice:
- Timing: For web events, Meta expects events to be sent within 7 days at most. Since CRM stages can take longer, check which stages fit within this window. The CRM integration for Lead Ads has its own rules, so rely on Meta's current documentation during setup.
- Stage definitions: Define "MQL" and "SQL" clearly together with your marketing and sales teams. Vague stage definitions send inconsistent signals to the algorithm.
- Sales team discipline: If lead statuses aren't updated regularly in the CRM, CAPI won't work either. Process design matters as much as the integration itself.
How leads are handled in the sales process directly determines the quality of your CRM data. For teams looking to build their sales funnel and lead qualification processes on a data-driven basis, Sales Corner's data-driven approach to B2B sales and lead generation is a good complement for strengthening this side.
How do you manage KVKK compliance and user consent?
The fact that Conversions API runs server-side is not a way to get around personal data regulations. Pay attention to the following points under KVKK in Turkey and GDPR for users in Europe:
- Update your privacy notice and cookie policy. Clearly state that data is transferred to Meta server-side.
- Extend consent management to the server side. If a user has rejected marketing cookies, stop server-side events just as you stop the Pixel in the browser, or limit them so they contain no personal data.
- Review the rules on cross-border data transfers. Clarify the legal basis for the data transferred to Meta with your legal counsel.
- Understand that hashing is not anonymization. An email hashed with SHA-256 can still be considered personal data, so treat it with the same care.
How much does Meta Conversions API cost?
Meta does not charge for Conversions API. Costs arise from infrastructure and labor, depending on the setup method:
- Partner integration: Usually no additional infrastructure cost. Setup takes anywhere from a few hours to a day.
- Conversions API Gateway: Since it runs in your own cloud account, there's a monthly server cost. It varies with traffic volume; for low- and medium-traffic B2B sites, it's usually manageable.
- Server-side GTM: There's a monthly server cost through Google Cloud or third-party hosting services. Setup and configuration may require a few days of technical work.
- Direct integration: Infrastructure costs are often covered by your existing servers, but development takes longer. Once CRM integration is included, it can be a project lasting several weeks.
When budgeting, factor in not only setup but also maintenance. A form change on your website, a field update in your CRM or a Meta API version change can break the integration. Running a check every quarter is a good habit.
What are the most common mistakes?
These are the mistakes we encounter most often in the field:
- Skipping event_id: The number one reason conversions double.
- Not normalizing before hashing: "[email protected] " and "[email protected]" produce different hashes and won't match.
- Sending phone numbers without the country code: Use 905321234567 instead of 05321234567.
- Leaving the test code in production: If the test event code is left in place, events may not be reflected properly in live data.
- Sending everything as "Lead": Sending newsletter subscriptions and demo requests as the same event teaches the algorithm to chase the lowest-value conversion.
- Mistaking the server IP for the user IP: A common problem on sites behind a CDN or load balancer, and one that lowers match quality.
- Setting up CRM events but not changing the campaign: The data is flowing, but campaigns are still optimized for "Lead." To realize the gains, you also need to update the optimization goal.
How do you know your setup was successful?
Track the following indicators over the 2–4 weeks after setup:
- Event Match Quality: Should rise above 6 for your main conversion events.
- Deduplication rate: The vast majority of browser and server events should be matched.
- Additional conversion visibility: Events Manager provides estimates of the additional conversions reported thanks to CAPI. Keep track of this figure.
- Lead quality: If the campaign has been optimized for a CRM stage, cost per lead may rise within a few weeks, but cost per SQL should fall. This is the real measure of success.
- Cross-platform consistency: Compare the conversions Meta reports with your CRM and analytics tool. To do this, you can use the setup from our guide on tracking social media conversions in GA4 and clarify traffic sources with the approach in measuring social media traffic with UTM parameters.
Remember: the figures Meta reports are calculated according to Meta's own attribution model and won't match your CRM one-to-one. To interpret cross-channel contribution correctly, it's important to apply the framework on attribution measurement in B2B social media. Since most B2B companies use Meta alongside LinkedIn, building a consistent measurement setup across both platforms is also critical. For a similar foundation on the LinkedIn side, take a look at our LinkedIn Insight Tag setup guide.
Frequently asked questions
Can I remove Meta Pixel after setting up Conversions API?
Meta recommends using the Pixel and Conversions API together. The Pixel captures browser-side behavioral signals and cookie data, while CAPI compensates for data loss and passes along off-website events. Running both and deduplicating them with the same `event_id` is the most robust setup.
Is Conversions API only for e-commerce sites?
No. E-commerce sites commonly use it for purchase events, but for B2B companies its real value lies in feeding lead stages from the CRM back to Meta. This way, campaigns focus not on form fillers but on qualified people who move forward in the sales process.
Do I need a developer for the setup?
With options such as a partner integration or Conversions API Gateway, basic web events can be sent without writing code. However, setting up deduplication correctly, enriching matching data and sending CRM stages usually require technical support. And it's precisely this technical part that delivers the greatest benefit in B2B.
How soon will I see results?
Data flow and Event Match Quality appear in Events Manager within 24–72 hours of setup. To evaluate changes in campaign performance, however, you need to wait at least 2–4 weeks to give the algorithm time to learn from the new signals. In B2B accounts with low conversion volumes, this period may be longer.
Conclusion
For B2B companies, Meta Conversions API is not just a technical way to recover lost conversions; it's the most effective tool for teaching the ad algorithm real sales value. When a well-defined event map, properly configured deduplication, high match quality and CRM-fed lead stages come together, Meta ads stop being a channel that collects cheap form fills and become one that generates qualified sales opportunities.
The technical details of the setup may seem daunting, but once you clarify your event map first and then choose the method that fits your needs, the process becomes quite manageable. If you want to build your Meta and LinkedIn measurement infrastructure end to end, connect your CRM data to ad optimization and see the true return on your social media investment, get in touch with the Social Media Corner team, and let's review your current setup together.
Related Posts
- How to Measure Social Media Attribution in B2B
- How to Install the LinkedIn Insight Tag: Step by Step
- How to Track Social Media Conversions in GA4
- B2B Social Media KPIs: Which Ones Should You Track?


