The quickest way is Shopify's free Facebook and Instagram app: go to Sales channels, Facebook & Instagram, Settings, Data sharing settings, turn on customer data sharing and choose Maximum. That sends purchases through the Conversions API alongside the pixel. Tracking apps and server-side Google Tag Manager are the alternatives when you need more control or several ad platforms.
If you run Meta ads on Shopify, you should be sending purchases through the Meta Conversions API. Ad blockers, Safari's tracking limits and shoppers who close the tab before the Thank you page loads all stop the browser pixel from seeing some purchases. The Conversions API sends them from a server instead, so Meta gets them anyway.
There are three ways to set it up on Shopify. For most stores the first one, which is free and takes ten minutes, is the right place to start.
What the Conversions API does
The Meta pixel runs in the shopper's browser and reports what they do. The Conversions API, often shortened to CAPI, sends the same events from a server straight to Meta. Because it doesn't depend on the browser, ad blockers can't stop it, and it can include hashed customer details like email and phone that help Meta match the purchase to the person who saw the ad.
The two work together. Meta receives the event from both, recognises them as one by their shared event ID, and keeps one. How that works is covered in Meta CAPI deduplication and event_id.
Three ways to set it up on Shopify
| Facebook and Instagram app | Tracking app | Server-side GTM | |
|---|---|---|---|
| Cost | Free | Monthly fee | Hosting fee plus build time |
| Setup time | Minutes | Hours | Days |
| Skills needed | None | Some | Server-side GTM |
| Control over events | Low | Medium | Full |
| Other platforms too | No, Meta only | Yes | Yes |
| Best for | Most stores | Several ad platforms, no GTM team | Teams with GTM skills |
Option 1: Shopify's Facebook and Instagram app
The app has three customer data sharing levels:
- Standard: the browser pixel only. Ad blockers can stop it.
- Enhanced: the pixel plus the Conversions API, sending purchases server to server, with customer name, location, email, phone and browsing behaviour for matching.
- Maximum: the pixel plus the Conversions API with the same customer information, updated with Meta's latest advertising technology.
To turn it on:
- In Shopify admin, go to Sales channels, then Facebook & Instagram.
- Click Settings, then Data sharing settings.
- Under Customer data sharing, turn data sharing on.
- Choose Maximum.
- Make sure the right pixel, or dataset, is connected.
Then remove every other Meta pixel: hardcoded snippets in the theme, a pixel in Google Tag Manager, or another app sending to the same pixel. If anything else sends purchases, Meta will count them twice. Our guide to Meta duplicate purchases shows where to look.
Shopify asks you to keep your privacy policy up to date with how you share customer data. If you sell to the EU or UK, check your cookie banner passes consent to Shopify's customer privacy settings too.
Option 2: a tracking app
Apps like Elevar, Littledata and Analyzify send Conversions API events along with GA4, Google Ads, TikTok and others, from one place. They add things the native app doesn't, such as session enrichment, a data layer for Google Tag Manager and delivery monitoring. When you use one, turn the Facebook app's data sharing down as the app's setup guide describes, so only one source sends Meta events. Costs and trade-offs are compared in Elevar alternatives and Elevar pricing explained.
Option 3: server-side Google Tag Manager
You host a server-side GTM container, for example on Stape, send Shopify events to it, and build a Meta Conversions API tag that forwards them. This gives full control over every parameter, works for platforms beyond Meta and costs least to run, but needs someone who knows server-side GTM to build and maintain it. The important details are matching the event ID between browser and server, and sending as much customer data as you're allowed to. See improving Event Match Quality and Stape vs Elevar.
Our free tracking check shows whether Meta is getting your purchases, counting any twice and matching them well, and what to change. Read-only, within 3 business days.
Get a free tracking checkCheck it is working
- Look at the connection method. In Events Manager, open your dataset and click the Purchase event. You want to see both Browser and Server.
- Place a test order with Test events open. One browser Purchase and one server Purchase should arrive, with the same event ID, and the server one marked as deduplicated.
- Check Event Match Quality on Purchase after a few days. Aim for 6 or higher.
- Compare counts with Shopify. Meta purchases for the last 7 days against Shopify online orders. More than about 5% higher means duplicates.
Expect Meta's reported purchases to rise slightly as the server catches orders the browser missed, and to fall if you were double counting before. Either way, the number you end up with is closer to what really happened. The remaining gap between Meta and Shopify is explained in why Meta revenue doesn't match Shopify.
Common questions
Does Shopify support the Meta Conversions API?
Yes. Shopify's Facebook and Instagram app sends events through the Conversions API when customer data sharing is set to Enhanced or Maximum. Tracking apps like Elevar and Littledata, and server-side Google Tag Manager, can send it too.
Is the Conversions API free on Shopify?
Through Shopify's Facebook and Instagram app, yes. Tracking apps charge a monthly fee, and server-side Google Tag Manager needs paid hosting once traffic grows.
Should I use the Conversions API instead of the Meta pixel?
Use both. Meta recommends sending events from the browser pixel and the Conversions API together, with the same event ID, so it can deduplicate them. The pixel catches browser signals, the server catches purchases the browser misses.
What is the difference between Enhanced and Maximum data sharing?
Both use the pixel plus the Conversions API and share the same customer information. Shopify describes Maximum as updated with Meta's latest advertising technology, so it's the level to pick unless you have a reason not to.
Why is Meta counting purchases twice after setting up CAPI?
Usually because a second source is also sending purchases, or the browser and server events have different event IDs. Keep one owner for Meta events and match the event IDs.
