← Blog/Conversion API Explained: What It Is and Who Needs It
TrackingAdvertisingDefinitionsAnalytics
Analytics · 3 min read

Conversion API Explained: What It Is and Who Needs It

A conversion API sends sales and leads from your server straight to an ad platform. What it fixes, what it does not, and whether your business needs one.

· Martin Guzman

A conversion API is a way for your own server to send conversion events, such as a purchase or a lead, directly to an ad platform, instead of relying only on a tag in the visitor's browser. You need one if you spend real money on ads and the platform reports clearly fewer sales than you actually made.

Meta calls its version the Conversions API. Other ad platforms have equivalents under their own names.

Why browser tracking stopped being enough

The usual set-up is a small tag that runs in the visitor's browser and reports the sale to the ad platform. That report does not always arrive. Ad blockers stop it, some browsers limit it for privacy reasons, and visitors who decline consent are not tracked at all.

The result is that the ad platform sees only part of your sales. Its reports understate results, and its automated bidding learns from an incomplete picture.

With a conversion API, the browser tag still fires, and your server also sends the sale directly. Both reports carry the same ID, so the platform matches them and counts each sale once. Switch between the two set-ups:

Two ways a sale reaches the ad platform
Try it
A visitor buys
In the browser
The tag tries to report it
Lost to ad blockers, browser privacy limits or declined consent
The ad platform
Sees only part of your sales
Every report depends on the visitor's browser letting it through.
A conversion API improves how complete the picture is. Consent rules still apply to what you send.

Two limits are worth knowing. A conversion API does not replace consent: consent rules still apply to what your server sends. And it makes the platform's count more complete, but it does not by itself prove the ads caused those sales.

Who needs a conversion API and who does not

You probably need one if:

  • you spend steadily on an ad platform and it optimises towards purchases or leads
  • the sales the platform reports are well below what your order system shows
  • the sale happens somewhere a browser tag cannot see, such as on the phone or in a CRM

You can wait if you run no paid ads, or spend very little. It is also the wrong first job if your basic data tracking is broken, because a conversion API sends more of whatever you already record, errors included.

What setting it up involves

Three usual routes, from least to most work:

  1. A built-in integration. Many ecommerce platforms offer one. You connect the accounts and switch it on.
  2. A server container. Google Tag Manager has a server-side version that can forward events. New to the tool? Start with what Google Tag Manager is.
  3. Custom code. A developer sends events from your back end.

Whichever you choose, check three things: each sale is counted once, the consent choice is respected, and the totals sit close to your own order records.

I am an independent marketing analytics consultant based in Ontario. If you would like your tracking checked before you add anything to it, ask about an analytics audit.

Related