What is a conversions API?

A conversions API is a way of sending conversion events, such as purchases and leads, from a server directly to an advertising platform, instead of relying only on a pixel in the visitor's browser.

The short version

An ad platform's pixel runs in the browser. When an ad blocker, a privacy setting or a closed tab stops it, the conversion never reaches the platform. A conversions API sends the same event from a server, where none of those things apply.

The term started with Meta, whose Conversions API is often shortened to CAPI. Meta describes it as a connection between an advertiser's marketing data and Meta's systems, with server events processed like events sent by the Meta Pixel. Most major ad platforms now have an equivalent:

Platform Server-side API
Meta (Facebook and Instagram) Conversions API
TikTok Events API
Pinterest API for Conversions
Snapchat Conversions API
Reddit Conversions API
Google Ads Server-side conversion tags and enhanced conversions

Pixel or conversions API?

Both. Meta's own best practice is to use the Conversions API in addition to the Meta Pixel and share the same events through both. The pixel catches what the browser allows; the server catches what the browser drops. Each event carries a shared ID so the platform can remove the duplicates. Meta, for example, treats a pixel event and a server event as the same when the pixel's eventID matches the server's event_id and the event names match, within 48 hours.

What a server event carries

A server event is only useful if the platform can connect it to a person and an ad. So alongside the event name, value and time, it carries match keys:

  • Click IDs such as Meta's fbclid, Google's gclid or TikTok's ttclid, which tie the conversion to the ad click.
  • Browser identifiers from the pixel's cookies, such as Meta's _fbp and _fbc.
  • Customer details such as email and phone number, hashed with SHA-256 before they are sent.
  • IP address and user agent.

The more of these an event carries, the more conversions the platform can attribute. Meta reports this as an event match quality score.

Ways to set one up

  • A platform integration, such as an ecommerce platform's built-in Meta CAPI setting. Quick, but one platform at a time.
  • Custom code that calls each platform's API from your backend. Flexible, but you build and maintain an integration per platform.
  • Server-side Google Tag Manager, where one stream of events from your site goes to a server container, and a tag per platform forwards it. One setup feeds every platform.

Tiide hosts the third option: a server-side GTM container on your own subdomain, with the GA4 client and routing set up for you.

Free tool

See how much conversion data your site is losing, in about a minute

Questions

CAPI is short for Conversions API, Meta's server-to-server API for sending conversion events. The term is now used loosely for any ad platform's server-side conversion API.

No. Meta recommends using the Conversions API in addition to the Meta Pixel and sending the same events through both, with a shared event ID so duplicates are removed.

No. TikTok, Pinterest, Snapchat and Reddit all have their own server-side conversion APIs, and Google Ads supports server-side conversion tracking through server-side Google Tag Manager.

Not necessarily. Calling the APIs directly needs code, but server-side Google Tag Manager uses ready-made tags for each platform, and a hosted service such as Tiide runs the server for you.

More glossary

Consent mode v2

Google consent mode v2 explained: the four consent types, basic vs advanced mode, what Google requires for EEA traffic, and how it works with server-side tagging.

Event match quality

Event match quality scores how well your server events can be matched to people on Meta. What it measures, where to find it and the parameters that raise it.

fbclid

fbclid is the click ID Meta adds to links clicked on Facebook and Instagram. What it is, how it becomes the _fbc value, and why to send it with server events.

First-party cookies

What first-party cookies are, how they differ from third-party cookies, and the limits Safari puts on them, including cookies set by server-side tagging.

GCLID, gbraid and wbraid

GCLID is the Google Ads click ID added to your landing page URL. What it does, how gbraid and wbraid differ on iOS, and why it matters for conversion tracking.

Google tag gateway

Google tag gateway serves Google tags from your own domain. What it does, how it differs from server-side Google Tag Manager, and why Google suggests using both.

All glossary

See the conversions you have been missing

Hosted server-side Google Tag Manager on your own subdomain. Per-site pricing, 1M events included, cancel anytime.