Shopify guideGuide8 min read

How to Set Up Meta Conversions API on Shopify

On Shopify, Meta's Conversions API is a setting in the Facebook & Instagram app. Here is how to switch it on, clean out duplicate pixels and check that Meta sees your real purchases.

Conversions API card: maximum data sharing, browser and server events and a working consent banner ticked, old pixel code in the theme crossed out
One pixel, two routes for every event, and no duplicates.

Key takeaways

  • On Shopify, Meta's Conversions API is a setting in the Facebook & Instagram app: choose the Enhanced or Maximum data-sharing level and Shopify sends events server to server.
  • Meta recommends running the Conversions API alongside the pixel. It removes duplicates when both send the same event name and event ID within 48 hours.
  • Old pixel code in your theme or from other apps is the most common cause of double-counted purchases. Remove it before you switch on data sharing.
  • Check the result in Meta Events Manager: browser and server events for Purchase, deduplication working, and an Event Match Quality score out of 10.
Who it is for
Shopify stores running Meta ads
Time needed
About 30 minutes, plus a week of checks
What you need
Shopify admin and Meta business portfolio access

On Shopify, Meta Conversions API is a setting, not a developer project. Shopify has a direct integration through the Facebook & Instagram app, and switching it on takes a few minutes. The work is in what comes before and after: cleaning out old tracking code, getting consent right, and checking in Events Manager that Meta now sees the purchases your store actually takes.

I care about this from the conversion side. I don't manage ad accounts, but when I review a store's paid traffic, broken tracking is often why the numbers make no sense. If Meta can't see purchases, it can't find more people who buy, and every decision about your landing pages rests on bad data. The steps below follow Shopify's and Meta's own documentation as I checked it on 7 November 2026.

What the Conversions API does, and the three levels

The Meta pixel runs in the shopper's browser. Ad blockers, browser privacy settings and slow connections can all stop it from reporting a purchase. The Conversions API sends events from the server instead, so, as Shopify's help center puts it, the data can't be blocked by browser-based ad blockers.

Meta doesn't treat it as a replacement. Its developer documentation recommends that advertisers run the Conversions API alongside the pixel, and then removes duplicates. That "redundant setup" is exactly what Shopify's higher data-sharing levels give you.

Shopify's Facebook & Instagram app offers three levels. Only the top two use the Conversions API:

LevelHow events are sentCustomer data shared
StandardMeta pixel in the browserBrowsing behavior only
EnhancedPixel plus Conversions APIAdds name, location, email and phone
MaximumPixel plus Conversions API, with Meta's latest featuresSame as Enhanced

For a store running Meta ads to sell, Maximum is the usual choice. Enhanced and Maximum share the same customer information, and Maximum is the level Shopify says is updated with Meta's latest advertising technology.

Before you start

  1. Install the Facebook & Instagram app from the Shopify App Store, if it isn't already under Sales channels.
  2. Have admin access to the Meta business portfolio that owns your ad account and pixel. Connecting a pixel that lives in someone else's account is a common source of lost data.
  3. Update your privacy policy. Shopify asks you to describe your data sharing in an up-to-date privacy policy, and offers a privacy policy generator.
  4. List every place a Meta pixel might already be firing: your theme code, old checkout scripts, a tag manager, a custom pixel, or another app. You'll remove these in step 2.

Step 1: Turn on the Conversions API in Shopify

  1. Open the app. In Shopify admin, go to Sales channels > Facebook & Instagram.
  2. Open the data settings. Click Settings, then the data-sharing settings. Shopify's help pages label this Data sharing settings in one place and Share data settings in another, so look for either.
  3. Turn on customer data sharing in the Customer data sharing section.
  4. Choose the level. Select Maximum, or Enhanced.
  5. Connect the pixel. Click Connect on the pixel your ad account uses, or Create new if you don't have one yet.
  6. Confirm. Click Confirm to save.

Shopify then tracks these events automatically: PageView, ViewContent, Search, AddToCart, InitiateCheckout, AddPaymentInfo and Purchase. One detail matters for reporting: Shopify sends the order's total price as the purchase value, including duties, taxes and discounts. Expect Meta's revenue figure to differ from a "net sales" report in Shopify.

Step 2: Remove old and duplicate pixels

Shopify's own help page warns that pixel code added to your theme earlier can give you more than one pixel and duplicate or incorrect data. Work through each place in turn:

  • Theme code. Go to Online Store > Themes, click the three dots next to your current theme, choose Edit code, open theme.liquid and delete any Meta pixel code between the <head> tags. Save.
  • Customer events. Go to Settings > Customer events. Check for custom pixels or other apps that also send Meta events.
  • Other apps. Some review, upsell and "pixel booster" apps add their own Meta pixel. If an app or agency manages your Meta tracking, check that it isn't sending the same events as the Facebook & Instagram app.
  • Tag managers. If you use Google Tag Manager, remove any Meta tags that duplicate what Shopify now sends.
Quick check: if Ads Manager shows noticeably more purchases than Shopify recorded orders for the same days, assume a duplicate pixel before anything else. It's the most common cause I find.

Server-side doesn't mean consent-free. Shopify's pixel system runs app pixels only after visitors in regions that require consent, usually the EEA and UK, grant the permissions the pixel is configured for. New pixels require Marketing and Analytics permissions by default. Pixels marked as a data sale don't run for customers who opted out, unless the pixel supports limited data use.

Shopify's help center is clear that you are responsible for your own privacy compliance. In practice, that means a working cookie banner, set up under Settings > Customer privacy, and a privacy policy that explains what you share with Meta. My guide to cookie consent on Shopify walks through it. For stores selling to Europe, read GDPR for Shopify stores as well.

Step 4: Check it works in Events Manager

New pixels show no data until customers act on your store, so place a real test order, or wait a day for normal traffic. Then, in Meta Events Manager:

  1. Open your pixel's Overview. Click the Purchase event and look at the connection methods. You want to see both browser and server events.
  2. Check deduplication. Meta matches a browser event and a server event when they share the same event name and event ID, and only within 48 hours of the first one arriving. With the built-in integration you don't add event IDs by hand. If Events Manager flags deduplication problems, look for a second pixel source.
  3. Use Test events. Meta's Test Events tool shows whether events arrive and whether deduplication works. Meta suggests testing with your own real details, since test events that don't match a Meta account may be discarded.
  4. Read Event Match Quality. Meta scores server events out of 10 on how well their customer information can be matched to Meta accounts. Only matched events count for attribution and optimization.
  5. Compare with Shopify. Over a week, Ads Manager purchases won't match Shopify orders exactly, because Meta only counts orders it can attribute. But they should move together.

Purchases in Ads Manager don't look right?

  1. 1

    Does Ads Manager show more purchases than Shopify has orders?

    Yes: look for a second pixel in the theme, apps or Customer eventsNo: next question

  2. 2

    Does the Purchase event show browser events but no server events?

    Yes: data sharing is on Standard, or the wrong pixel is connectedNo: next question

  3. 3

    Are events low only for European visitors?

    Yes: expected when shoppers decline consent; check the banner worksNo: check the attribution setting on your ad sets

Fix the cause, then judge the data over a full week, not a day.

How to improve Event Match Quality

Meta's best-practice page lists email, phone, first and last name and IP address among the customer details that improve matching. On Shopify with Maximum data sharing, those are sent for you when the shopper provides them. So the way to raise match quality is on the store: collect customer details earlier and more often.

  • Express checkout. Shop Pay, Apple Pay and Google Pay fill in contact details for the shopper, so fewer orders arrive with missing details.
  • Email capture before checkout. A signup offer on product pages gives you an email for shoppers who browse first and buy later.
  • Customer accounts. Signed-in customers carry their details with them across sessions.

Don't try to push extra data through custom code unless you know exactly what consent covers. A higher score isn't worth a privacy complaint.

When you need a custom setup

Shopify's integration covers standard online store events well. You may need more if you run a headless storefront, sell through a checkout outside Shopify, want to send events Shopify doesn't track (a quiz completion, for example), or have to send data to several pixels. Options then include Shopify custom pixels, under Settings > Customer events, or a direct Conversions API build. Shopify notes that custom pixels need JavaScript knowledge and aren't covered by its support, and each event you add needs its own deduplication plan.

For most stores, the built-in integration is the right answer. Build custom only when you can name the event you're missing.

Common mistakes

  • Leaving old pixel code in the theme after switching on the app's data sharing.
  • Connecting the wrong pixel, one your ad account doesn't use or can't access.
  • Staying on Standard and wondering why purchases go missing.
  • Two apps both sending Meta events, such as the Facebook & Instagram app and a pixel app.
  • No consent banner for EEA and UK shoppers, or one that blocks everything by mistake.
  • Judging on one day. Attribution and server events settle over several days.

Conversions API checklist

  1. App. Facebook & Instagram app installed and connected to the right business portfolio and ad account.
  2. Level. Customer data sharing on, level set to Maximum or Enhanced.
  3. Pixel. The pixel connected is the one your ads optimize for.
  4. Clean up. No Meta pixel code in theme.liquid, other apps or custom pixels.
  5. Consent. Cookie banner working, privacy policy updated.
  6. Events Manager. Purchase shows browser and server events, with deduplication working.
  7. Match quality. Event Match Quality checked, and express checkout turned on.
  8. Weekly check. Ads Manager purchases move with Shopify orders.

What to do next

Switch data sharing to Maximum today, remove any old pixel code, and check Events Manager after your next few orders. Once tracking is solid, the next question is whether the pages your ads send people to convert. My guide to structuring Meta ad campaigns for ecommerce covers the account side.

For the store side, I'll review your product pages and checkout for free and tell you what's costing you sales. If you want help fixing it, my CRO work starts from $500.

Free tools

Check your own store

Free, no sign-up. Each one runs a part of this guide for you.

Frequently asked questions

How do I set up the Facebook Conversions API on Shopify?

In Shopify admin, go to Sales channels > Facebook & Instagram > Settings and open the data-sharing settings. Turn on customer data sharing, choose Enhanced or Maximum, connect your pixel and confirm. Both levels send events through the Conversions API as well as the pixel.

Do I need a developer to use Conversions API on Shopify?

Not for a standard Shopify online store. The Facebook & Instagram app's Enhanced and Maximum levels set it up for you. A developer is only needed for headless stores, external checkouts or custom events Shopify doesn't track.

What is the difference between Enhanced and Maximum data sharing?

Both use the Meta pixel and the Conversions API and share the same customer information. Shopify describes Maximum as updated with Facebook's latest advertising technology, which is why it's the usual choice.

Will Conversions API double-count my purchases?

Not if it's set up correctly. Meta removes duplicates when the pixel and server event share the same event name and event ID within 48 hours. Double-counting usually comes from a second pixel left in the theme or added by another app.

Does Conversions API get around cookie consent?

No. Shopify runs app pixels only after visitors in consent regions, usually the EEA and UK, grant the required permissions, and you remain responsible for your own privacy compliance.

What is a good Event Match Quality score?

Meta scores Event Match Quality out of 10 but doesn't publish a target. Higher is better, because only matched events count for attribution and optimization. On Shopify, collecting emails earlier and offering express checkout are the practical ways to raise it.

Sources

  1. Facebook data sharing, Shopify Help Center
  2. Meta pixel, Shopify Help Center
  3. Pixels overview, Shopify Help Center
  4. Handling duplicate pixel and Conversions API events, Meta for Developers
  5. Conversions API best practices, Meta for Developers
Ashraf Siddik

Written by Ashraf Siddik

I'm a Shopify developer and CRO specialist. I have built and improved Shopify stores since 2018, completed more than 1,000 projects, and hold a 4.96 average rating across 719 client reviews.

About me · Client reviews

Free 3‑point store review

  1. 1
    Send your storeTakes about a minute
  2. 2
    I review it by handOn mobile and desktop, not by a tool
  3. 3
    Get three ranked fixesBy email, free, with no obligation

“Very professional and deep understanding of the Shopify ecosystem. Friendly and proactive communication. Delivered on time with good quality”

Verified client, United Kingdom
4.96 from 719 client reviews

Get your free review

Takes about a minute. No obligation.

Your email is used only to reply about your store. No newsletter, never sold. Privacy note