STERLING LAB
SINCE2013
MARKETS10 COUNTRIES
AUDITFREE · 5 DAYS
Marketing

Facebook Conversion API GTM Server Side Setup

The Conversions API and a GTM server container are two different things. Learn which one you need, the options, and what to do next.

Alex Sterling··7 min read

Two things get mixed up under this search. The first is the Meta Conversions API, a way of sending purchase, lead and other events to Meta from a server instead of relying only on the visitor's browser. The second is a Google Tag Manager server container, a piece of hosting and tooling that can carry those events. If you typed this phrase as a small-business owner, you almost certainly came for the first: you want Meta to see your sales and leads reliably. The GTM server container is an optional route to get there.

Two names, two jobs

The Conversions API is a Meta feature. It lets your website, your store platform or your CRM send an event straight to Meta. The Meta Pixel does a similar job from the browser, but browsers block scripts, drop cookies and close tabs before a request finishes. Sending the same event from a server fills some of those gaps.

A GTM server container is a Google product. You rent a small cloud service, point your site's tags at it, and it forwards data to Meta, Google and others. It routes events. You can use the Conversions API without it, and you can run it without ever sending anything to Meta.

A small search with a real decision behind it

This topic is niche. Across the five distinct queries we merged into it, people search about 50 times a month combined. That is a small crowd, mostly people who were told by an ad platform warning, a freelancer or a Facebook diagnostics screen that something is missing. Still, the choice affects how well Meta can learn who buys from you.

The routes you can take

RouteWhat it meansFits when
Platform integrationShopify, WooCommerce or your booking tool has a built-in Meta connection that sends server eventsYou use a mainstream platform and want the least maintenance
Partner or pluginA third-party app sends events on your behalfYour platform has no native option, or the native one is limited
GTM server containerYou host a server container and route events through itYou already use GTM heavily and want one place to manage several ad platforms
Custom codeA developer posts events from your own backendYou have a custom app or a CRM that already knows who bought

What a GTM server setup asks of you

Expect to maintain a hosted server, a custom domain pointed at it, a web container that sends events to it, and a Meta tag configured with your pixel ID and access token. Each piece can fail without warning. Someone also has to keep paying for the hosting and notice if it stops. Our guide on what Google Tag Manager server side actually costs covers the ongoing side in more detail.

The duplicate-event trap

If the browser pixel and the server both send a purchase, Meta needs a shared event ID to recognize them as one sale. Without it, you can end up counting every order twice, and your ad numbers look better than reality. This is the most common mistake in a first setup, and it is easy to miss because everything appears to be working.

How to check whether it is working

Open Meta's Events Manager and look at the event list. Each key event should show the browser and the server as sources, with a match or deduplication indicator. Place a test order or submit a test lead and confirm it appears once, with the right value. Then compare Meta's count with your real orders over a week. They will not match perfectly, but they should be close and move together.

What to do this week

First, open Events Manager and note which events arrive, and from which source. Second, check whether your store or booking platform already offers a Meta connection you have not switched on. Third, write down the one event that matters most, such as a purchase or a booked call. If the built-in option covers it, stop there. If you are being steered toward a GTM server container, ask what it fixes that the built-in option does not.

If you would rather not do it alone

A tracking setup is a good job to hand over when the pieces span your site, GTM, Meta and a hosting account, and nobody on your team owns them. A review of what is firing today is a reasonable first ask, since it tells you whether you need a build at all. You can also read what to ask before approving a GTM server, then decide.

FAQ

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

No. The Conversions API is Meta's way of receiving events from a server. Server-side GTM is a Google tool that can send those events. You can use one without the other.

Do I need GTM to use the Conversions API?

No. Many platforms and plugins send server events to Meta without GTM. GTM server is one option, useful mainly if you want to manage several ad platforms in one place.

Will the Conversions API replace the Meta Pixel?

Usually they run together. The pixel sends browser events, the server sends the same events, and a shared event ID lets Meta count each action once.

How do I know events are being double counted?

Check Events Manager for deduplication on each key event, then compare Meta's reported purchases against your real orders for a week. A large, steady excess suggests duplicates.