Book a free intro call

Meta Conversions API (CAPI)

Set up the MetaConversions APIcorrectly

The Meta Conversions API sends purchases, leads and other events directly from your server to Meta, in addition to the pixel in the browser. This gives your campaigns on Facebook and Instagram more complete data, provided your users have consented to tracking.

What is the Meta Conversions API?

The Conversions API, CAPI for short, is an interface from Meta. Through it, your server sends events such as Purchase, Lead or AddToCart to Meta. The Meta pixel does the same from the user's browser. The two complement each other: Meta recommends using the pixel and the Conversions API together.

The difference lies in the data path. The pixel is a script that runs in the browser and depends on everything that happens there. The Conversions API sends the data from an environment you control, such as your shop system or a server-side Google Tag Manager.

This matters for campaign management. Meta optimizes bids, audiences and Advantage+ campaigns based on the conversions reported to the system. If purchases are missing, the algorithm learns from an incomplete basis and rates ads worse than they actually are.

Why does pixel data get lost?

Browser-only tracking today often fails to capture all conversions. The main causes:

  1. 01

    Ad blockers and browser extensions

    Many ad blockers prevent the Meta pixel from loading. If such a user makes a purchase, no event reaches Meta from the browser.

  2. 02

    Intelligent Tracking Prevention (ITP)

    Safari and other browsers limit the lifetime of cookies set by scripts. The more time passes between click and purchase, the harder it is to attribute the conversion to the ad.

  3. 03

    Aborted page loads

    If a user closes the confirmation page before the pixel has loaded, or the script fails, the purchase event is missing.

  4. 04

    Missing consent

    If a user has not consented to tracking, neither the pixel nor the Conversions API may send their data for advertising purposes. This gap is intentional and cannot be closed technically.

Pixel and Conversions API together: deduplication via event_id

If the pixel and the Conversions API run in parallel, a purchase is ideally reported twice: once from the browser and once from the server. To keep Meta from counting it twice, both events must be recognizable as the same one.

To do this, the browser event and the server event carry the same event name and the same event_id, for example the order number. Meta then merges the two into one conversion. If the event_id is missing or differs, Meta counts the purchase twice. The result is inflated conversion numbers, a ROAS in the ad account that looks too good, and bidding that learns from wrong values.

You can check whether deduplication works in Events Manager. There you can see, for each event, how many reports come from the browser and the server and how many Meta has merged.

Event Match Quality: how well Meta matches your events

Event Match Quality is a score in Events Manager on a scale from 0 to 10. It shows how well Meta can match server events to a Facebook or Instagram account. The better the matching, the more conversions can be attributed to ads.

The score depends on the customer data you send, such as email address, phone number, IP address, user agent, and the Meta cookies fbp and fbc. Personal data such as email and phone number is hashed with SHA-256 before transmission. Agree with your data protection officer on which data you send.

Which setup is right for you?

There are several ways to set up the Conversions API. Which one makes sense depends on your shop system, channel mix and resources.

Partner integration (e.g. Shopify)Server-side Google Tag ManagerDirect API connection
EffortLow, set up through the shop system's integrationMedium, server container and infrastructure requiredHigh, development in your own system
Control over dataLimited to the integration's optionsHigh, central control for multiple platformsFull
Other platformsSeparate integration for each platformGoogle Ads, GA4, TikTok and others from one containerSeparate development for each platform
Suited forShops with a standard setup and a focus on MetaAdvertisers running multiple channelsCustom systems or offline conversions, for example from the CRM

Consent and GDPR: send only with consent

The Conversions API is not a way to make up for missing consent. If a user has not agreed to marketing tracking, their events must not be sent to Meta from the server either. That is why the consent status from your cookie banner has to be part of every server-side forwarding.

Google offers Consent Mode for this, which passes the consent status to Google services. Meta has no equivalent mechanism. Your setup itself must make sure that events without consent are not sent, for example through trigger conditions in the server container. Agree on consent texts and data processing agreements with your data protection officer. FIRST STARS does not provide legal advice.

Common mistakes with the Conversions API

  1. 01

    Missing or mismatched event_id

    The pixel and the server send different IDs, and purchases are counted twice.

  2. 02

    Server events only, without the pixel

    Without browser events, Meta lacks signals such as the fbp and fbc cookies, and matching gets weaker.

  3. 03

    Consent is ignored

    The server sends events regardless of consent. That is a data protection problem, not a technical detail.

  4. 04

    Wrong values and currencies

    Inconsistent order values, sometimes with and sometimes without shipping or taxes, and missing currency information distort ROAS and value-based bidding strategies.

  5. 05

    Set it and forget it

    After shop updates or checkout changes, tracking breaks without anyone noticing. Without regular reconciliation, this often only surfaces weeks later.

How FIRST STARS implements the Conversions API

  1. Review the current setup

    We look at the pixel, existing integrations, deduplication and Event Match Quality in Events Manager and compare Meta conversions with your orders.

  2. Choose the approach

    Together we decide whether a partner integration is enough or whether a server-side Google Tag Manager makes more sense, for example because Google Ads and TikTok need data too.

  3. Implement and test

    We set up events, parameters, event_id and consent conditions and test them with Meta's diagnostic tools.

  4. Monitoring

    After go-live, we regularly reconcile conversions with your shop and fix discrepancies as part of ongoing campaign management for Meta Ads.

FAQ

Frequently asked questions

What is the Meta Conversions API?

The Meta Conversions API is an interface through which your server sends events such as purchases or leads directly to Meta. It complements the Meta pixel in the browser and is less vulnerable to ad blockers and browser restrictions. This gives Meta more complete data for optimizing campaigns on Facebook and Instagram, provided users have consented to tracking.

Do I still need the pixel if I use the Conversions API?

Yes, in most cases. Meta recommends using the pixel and the Conversions API together. The pixel provides signals from the browser, such as the fbp and fbc cookies, which improve matching. The Conversions API closes gaps that occur in the browser. To avoid double counting, both events carry the same name and the same event_id.

What is a good Event Match Quality?

Event Match Quality rates, on a scale from 0 to 10 in Events Manager, how well Meta can match your server events to user accounts. Higher scores mean better matching. You can improve the score by sending permitted customer data such as a hashed email address, phone number, IP address and the Meta cookies. Agree with your data protection officer on which data you transmit.

Is the Meta Conversions API GDPR-compliant?

That depends on the implementation. For tracking for advertising purposes, you generally need users' consent, even if the data comes from the server. Unlike Google with Consent Mode, Meta offers no dedicated mechanism for passing on consent status. Your setup must therefore itself prevent events from being sent without consent. FIRST STARS does not provide legal advice.

Is the Shopify integration enough for the Conversions API?

For many shops, Shopify's integration is a good start because it connects the pixel and the Conversions API without custom development. It reaches its limits if you want more control over the data flow, run several ad platforms or need to implement custom consent rules. In that case, a server-side Google Tag Manager is often the better choice. We assess this case by case.

Have your Meta tracking checked

In a free 30-minute call via Google Meet, Henning Hock discusses with you how completely your conversions reach Meta today and where data is being lost.

Henning HockFounder & Managing Director · in performance marketing since 1998

  • Free
  • 30 minutes
  • Google Meet
Book a free intro call →

Prefer to call? +49 30 229 55 171

  • 100% free & no obligation