Skip to content
Meta Conversions API

Meta Pixel vs Conversions API vs Conversions API Gateway: What an Online Shop Needs

How the Meta Pixel, the Conversions API and the Conversions API Gateway differ, which one can send a purchase paid later, and what an online shop needs. Tables included.

Published: 10 min read
Events page in the panel: Purchase sends to Meta with the status of each (example data)
On this page
  1. What's the difference between the Pixel, the Conversions API and the Gateway?
  2. How do they compare side by side?
  3. Can the Conversions API Gateway send purchases from the shop's system?
  4. Does a shop need the Pixel if it sends purchases from the server?
  5. How do you avoid counting the same event twice?
  6. Which one should you choose?
  7. How it works in Basketly
  8. Limitations
  9. Next step
  10. Sources

An agency suggests the "Conversions API Gateway", a plugin has a "Conversions API", and the Pixel is already in the shop. Which of them do you actually need, and which would just repeat the same thing? Then there is the question of why purchases in Meta still don't match the shop (answer: why Meta shows fewer purchases than my shop).

Three names that sound alike and do quite different jobs. The Pixel, the Conversions API and the Conversions API Gateway all deliver events to the same dataset in Meta, but they collect them in different places and need different upkeep. If you want the general Pixel-versus-CAPI picture, start with what the Meta Conversions API is. This piece adds the Gateway and looks at all three from the seat of an online shop.

What's the difference between the Pixel, the Conversions API and the Gateway?

The Pixel is a script on your website: it sends events from the visitor's browser. The Conversions API is a server-to-server connection: you send events from your own system, including ones that never happened on the website. The Conversions API Gateway is a ready-made gateway that runs in your own cloud, receives Pixel events and passes them on through the Conversions API.

Glossary entry for the gateway: Conversions API Gateway. If you wonder whether a server-side tag container beats the gateway, see the comparison Basketly vs GTM server-side.

A few details from Meta's documentation that keep these terms apart:

  • Conversions API. Server events are tied to a dataset ID and processed like Pixel events. Meta uses them for measurement, reporting and optimisation, like other channels.
  • Conversions API Gateway. According to its product page it is a self-serve setup in Events Manager. It runs in a cloud account owned by the business (AWS EKS, AWS ECS Express or GCP). A Pixel configured with the Gateway address sends events both to Meta and to the gateway, which forwards them server-side.
  • Pixel. It only works when the script loads in the browser. It knows nothing about what happens after the page closes: a bank transfer booked the next day, a cash-on-delivery order collected a week later, or a customer who paid but never came back to the thank-you page.

The key difference for shops: the Pixel and the Gateway see what happens on the website. The Conversions API can send a purchase straight from the shop's system, at the moment the order is paid.

How do they compare side by side?

The Pixel is the simplest, but it only knows website events. The Gateway moves those same events to the server side without writing your own integration, at the cost of running your own cloud. The Conversions API is the only one of the three that sends events from outside the website as they happen, including purchases paid later, but it needs an integration: your own, a shop platform plugin or a separate tool.

CriterionMeta PixelConversions API (own, plugin, tool)Conversions API Gateway
Where events come fromMeta PixelThe browser on your websiteConversions API (own, plugin, tool)Your server, shop, spreadsheetConversions API GatewayPixel events copied by the gateway; plus CSV files
Who hosts itMeta PixelMeta's script on your siteConversions API (own, plugin, tool)You, an integration provider or a toolConversions API GatewayYour business, in its own AWS or GCP cloud
Purchases outside the browser (transfer, cash on delivery, phone)Meta PixelNoConversions API (own, plugin, tool)Yes, from the shop's systemConversions API GatewayNot described on the product page; CSV upload accepts offline events
DeduplicationMeta PixeleventID matching the server's event_idConversions API (own, plugin, tool)event_id + event_name, 48-hour windowConversions API Gatewayevent_id generated automatically
UpkeepMeta PixelCode on your websiteConversions API (own, plugin, tool)Developer time or a subscriptionConversions API GatewayCloud resources or a partner fee, plus monitoring

The table describes mechanisms, not results. None of these routes guarantees better campaigns on its own. For how well your data matches, see the article on Event Match Quality.

Can the Conversions API Gateway send purchases from the shop's system?

Not on its own. The product page describes the Gateway as a gateway for Pixel events. A purchase that never happened in the browser never reaches it. The Gateway does have a CSV upload which, according to Meta, accepts website, app, offline and CRM events. That is a manual batch, not a daily sync of orders.

The upload is documented on a separate page, Uploading Events. In short:

  • the file needs a dataset ID, an event name, a time and an action_source,
  • events show up in Events Manager after about 10 minutes.

On top of that comes the limit from the server event parameters: event_time can be at most 7 days in the past, and one event that is too old rejects the whole request. A manual file every two weeks easily breaks that limit.

If orders paid later should reach Meta every day, you need an integration between your shop and the Conversions API. What that looks like for an online store is covered in server-side purchase events for online stores.

Does a shop need the Pixel if it sends purchases from the server?

Usually yes. The server knows the orders, but not the path to them: product views, adds to cart and started checkouts. Those happen in the browser. The Pixel also stores the fbp and fbc identifiers, which help Meta match a server purchase to the person who clicked the ad.

Meta recommends running the Conversions API alongside the Pixel, not instead of it. In a shop that usually means this split:

  • Pixel: product view, add to cart, checkout started and the purchase on the thank-you page,
  • Conversions API: the same purchase from the server, with the same event_id, plus the purchases the browser never saw,
  • Deduplication: Meta merges the two purchases into one by event_id and event_name.

Without the Pixel, catalogue campaigns lose the signals about viewed products, and website visitor audiences stay empty. How to install and test the Pixel on Shoper is in the Pixel on Shoper guide; and when payment goes through BLIK, Przelewy24 or PayU, see why the Pixel loses those purchases.

How do you avoid counting the same event twice?

When one event travels by two routes, give it the same event_id and the same name on both. Meta deduplicates on event_id and event_name within 48 hours of the first event. The Gateway generates that ID itself, so don't send the same events through a third route as well.

The same documentation page says Meta recommends implementing the Conversions API alongside the Pixel. A redundant setup therefore needs deduplication. There is a fallback method too: a consistent event_name with fbp or external_id. It only works when the browser event arrives before the server event.

Typical traps:

  1. The Gateway and your own integration send the same Purchase. The Gateway assigns its event_id, your server assigns its own, and Meta sees two purchases.
  2. A retry with a new ID. When an event is resent, its event_id must stay the same.
  3. A purchase sent from two systems. For example from the shop platform's plugin and from a separate tool, each with its own ID.

We cover this in detail in the article on Pixel and CAPI event deduplication, and the symptoms and hunting for the duplicate in Meta counts purchases twice.

Which one should you choose?

Start by asking where the events that matter to you happen. If on the website, you need the Pixel, and the Conversions API or the Gateway complements it. If payment or the order completes away from the website, you need the Conversions API from the shop's system. Most shops have both cases and use two routes at once.

Your situationWhat to pickWhy
Online payments only, the purchase always lands on the thank-you pageWhat to pickPixel + Conversions API with deduplicationWhyMeta recommends both channels together
Bank transfers, cash on delivery, payments confirmed laterWhat to pickConversions API from the shop's systemWhyThe browser never sees the moment the order is paid
A shop without a developer, with a cloud budgetWhat to pickGatewayWhyPixel events reach the server side without writing your own integration
Offline sales in occasional batchesWhat to pickCSV upload (Gateway) or a spreadsheet with the Conversions APIWhyA file is enough if you stay within 7 days
Several shops or sales platforms at onceWhat to pickOne server integration for every sourceWhyOne place keeps the IDs and deduplication in order

Website events and shop-system events can safely travel by different routes. Just make sure no single event travels by two routes without a shared event_id.

How it works in Basketly

Basketly is one of the routes into the Conversions API. It does not replace the Pixel or the Gateway and does not host a gateway. It reads orders from your shop (Shoper, IdoSell, BaseLinker) and sends the paid ones as purchases to the Conversions API with a stable event ID.

The key facts about sending:

  • Queue. Every event is stored, then sent to the datasets its flows point to. Network errors and Meta's limits get up to 6 attempts, and an event older than 7 days is never sent.
  • Data. Email and phone are normalised and hashed with SHA-256. IP address, user agent, fbp and fbc go unhashed, as Meta requires.
  • Deduplication. The same delivery (organisation, dataset, event name, event_id, mode) is never sent twice, not even through two receivers of the same dataset.
  • Shop script. collector.js starts by itself once it is loaded on your website; the shop decides whether and when to load it (e.g. your consent tool loads it after consent), and a refusal via setConsent(false) stops it at once. It works without the Pixel too; only the server can confirm a purchase.
  • Purchase balance. The Purchase sending page puts shop orders, purchases accepted by Basketly and what each destination accepted side by side, day by day, with the most common errors.

"Accepted by Meta" means Meta received and counted the event. It does not prove that a campaign optimises on that data or that the conversion was attributed to an ad. You check that in the ad set settings and in Ads Manager.

Limitations

This article compares mechanisms described in Meta's documentation, not effectiveness. It can't tell you how many more events will match after adding the Conversions API, or whether the Gateway will improve campaign results, because that depends on your website, traffic and data. No single honest number exists for that.

Keep a few more things in mind:

  • The Gateway documentation changes with the product. The list of clouds and the upload method may change; check them before you deploy.
  • For a shop with online payments only and a good shop platform plugin, the plugin alone may be enough.
  • Questions about consent and the lawful basis for sending data are settled by the law that applies to you, not by the choice of technology.

Next step

List the three events you care about most, and for each one mark where it happens: on the website or in the shop's system. Then pick your route from the decision table. How Basketly sends purchases through the Conversions API is shown on the Meta Conversions API page, and the step-by-step setup in the checklist: server-side purchases in 30 minutes. Looking for an alternative to a tag server? See the comparison with Stape.

Sources

About the author

Aleksander

Founder of Basketly.io, BooksyAudit.pl and SMSPortal.app

Founded Basketly.io, BooksyAudit.pl and SMSPortal.app. In the knowledge base he explains how to send shop purchases to Meta, how to keep a product catalogue in shape and how to measure what a purchase from ads costs.

All articles by the author

Frequently asked questions

Is the Conversions API Gateway free?

Meta does not charge for the gateway itself. Its documentation says the only cost is the cloud resources it runs on (AWS or Google Cloud, in your company's account) or a partner's fees if someone hosts it for you. Add the time of whoever keeps an eye on it.

Can I run the Gateway and my own Conversions API integration together?

Yes, when they send different events, for example the Gateway handles website events and your integration sends purchases from the shop's system. It gets risky when both send the same event: the Gateway generates its own event_id, which your integration does not know, so deduplication may fail.

Does the Conversions API replace the Pixel?

Not necessarily. Meta recommends running the Conversions API alongside the Pixel, deduplicated by event_id and event_name. The Pixel sees product views, the cart and started checkouts, while the server sees the orders that were actually paid.

Does the Conversions API work without cookie consent?

That is a legal question more than a technical one. Whether you may send someone's data to Meta depends on the law that applies to you, so settle it with a lawyer. A server request needs no cookies, but that does not remove your obligations to the people whose data it is.

Will the Gateway send an order that was paid later?

Not on its own. The Gateway copies Pixel events, so it only sees what happened in the browser. A bank transfer booked the next day or a cash-on-delivery order has to be sent from the shop's system through the Conversions API or uploaded by hand in a CSV file.

Is the Conversions API Gateway the same as server-side GTM?

No. The Gateway is a Meta product that passes Pixel events through the Conversions API in your cloud. A server-side GTM container is a separate solution for tags of many platforms; according to the agency guide by Verilo it needs a server and constant upkeep. Comparison with Basketly: [GTM server-side](/en/compare/basketly-vs-gtm-server-side).

What is the Conversions API Gateway?

It is a self-serve Meta setup that runs in a company's own cloud account (AWS or Google Cloud). The Pixel sends events to Meta and to the gateway, and the gateway passes them on server-side. Glossary: [Conversions API Gateway](/en/glossary/conversions-api-gateway).

Get started in under 5 minutes

Connect your shop to your ad platforms and see how many purchases really reach them.

  • Free up to 100 orders a month
  • No developer needed
  • Purchase balance and self-check