Open Tracked/Integrations/Facebook conversion API for Magento

Facebook conversion API for Magento

Magento can send server events with Meta's extension or through a server container. Caching and the success page are where it usually goes wrong.

4 min read · Updated October 26, 2026

MMagento storeEExtension or data layerServer container to Meta
In this guide
Key takeaways
  • Meta offers an extension for Magento and Adobe Commerce that can send server events. A Tag Manager data layer plus a server container gives more control.
  • The usual failures are full-page cache, Varnish, the success page firing twice and missing customer data.
  • Choose one server route, share an event ID and test on a real order.

Magento (now Adobe Commerce) stores tend to be larger and more customised than plugin-based shops, and their tracking set-ups reflect that. There is more control and more that can break. This page explains the two routes, the Magento-specific traps and how to test. Module names and versions change, so confirm the current ones in the Magento marketplace and your developer's notes. See how to set up the Conversions API and event deduplication.

Route 1: the extension

Meta publishes an official extension for Magento that adds the pixel and the Conversions API. It handles event IDs and the standard events for you. For a store that advertises only on Meta, it is the simplest route. Check that it is compatible with your Magento version and your theme (Luma, Hyvä or a headless front end).

For online stores

Orders from your store, back to the ad that earned them

Your store sends the order once. Open Tracked passes it on to each ad platform, cleaned and deduplicated.

Route 2: Tag Manager with a data layer

1

Install a Tag Manager extension

Several community and commercial extensions add the container and a data layer for Magento, with product, cart, checkout and purchase events.

2

Check the data layer

In the browser console, check the purchase event on the success page: order ID, value, currency, items.

3

Add customer data

With consent, add the customer's e-mail and phone to the event, or let the server read them.

4

Set the server container URL

In the Google tag, point to your tagging subdomain.

5

Add the Meta tag in the server container

With dataset ID, token and the event ID.

Magento traps

SymptomEvents are missing for many visitors
Likely causeFull-page cache or Varnish serves a stored page without the data layer.
FixLoad dynamic data through private content sections or an API call, and exclude checkout pages from cache.
SymptomPurchase fires on every refresh
Likely causeThe success page re-fires the tag.
FixFire once per order, using the order ID, and use a session flag.
SymptomPrices include or exclude tax inconsistently
Likely causeThe data layer uses a different total from your reports.
FixDecide which total to send and use it everywhere.
SymptomConfigurable products show the wrong ID
Likely causeThe parent ID is sent instead of the variant.
FixSend the ID that matches your catalogue feed.
SymptomCheckout is a different domain or app
Likely causeA headless or third-party checkout splits sessions.
FixInstall the container there and keep cookies first-party.
Ask AI

Ask Ari instead of digging through reports

Ari reads your tracking and ad data and answers in plain words.

Catalogue match

Meta catalogue ads match events to products by ID. Make sure the IDs in your events equal the IDs in your product feed. This is a common reason catalogue ads under-perform after a tracking change.

What a managed server adds

With Open Tracked hosting the container and domain are managed for you, and the power-ups are on every plan, including Cookie Keeper for Safari visitors, the Data Store and Enricher for returning visitors, and Bot Detection to keep crawler traffic out of your numbers. See every power-up.

Test

  1. Place a real order on a staging copy.
  2. Check the data layer, server Preview and Meta Test Events.
  3. Check that a page refresh does not re-fire the purchase.
  4. Test as a guest and as a logged-in customer.
  5. Compare Meta purchases with Magento orders after a week.
0 of 6 done
The short version

3 things to remember

Scroll and the points stack up.

01

Meta offers an extension for Magento and Adobe Commerce that can send server events. A Tag Manager data layer plus a server contai

02

The usual failures are full-page cache, Varnish, the success page firing twice and missing customer data.

03

Choose one server route, share an event ID and test on a real order.

Frequently asked questions

Does Magento support the Meta Conversions API?

Yes. Meta offers an official extension, and a server container is an alternative.

Why are my Magento events missing?

Often full-page cache or Varnish. Make sure the data layer loads on cached pages.

How do I stop duplicate purchases?

Fire once per order, use one server route and share an event ID.

Which IDs should I send?

The same IDs as your product feed, so catalogue ads match.

Can Open Tracked host the server container for Magento?

Yes. It works with any site that can send events to a tagging subdomain.

Do I need spreadsheets to read my results?

No. Once tracking is live, the Open Tracked analytics shows spend, revenue, ROAS and profit, and you can ask Ari, the built-in AI assistant, questions about your own numbers in plain words. Ari's allowance depends on your analytics plan.

Is Open Tracked different from Open Track or Open Space Track?

No. Open Tracked is the official name of our server-side tracking platform, and the website is opentracked.io. Many people search for it as Open Track, OpenTrack or Open Space Track. All of them lead to the same product: server-side Google Tag Manager hosting, first-party analytics and a CRM pipeline.

Fix your tracking at the source

Open Tracked hosts your server-side Tag Manager, keeps first-party cookies alive and shows what each ad is really worth.

Open Tracked
Written by

The Open Tracked team

We build Open Tracked: server-side tracking hosting, analytics and the tools around them, for stores that spend on ads. Questions about this guide, or an idea for the next one?

Write to us Read the docs

Was this article helpful?

Comments

Loading comments...

Turn better tracking into better marketing performance

Start free