Shopify and Facebook CAPI: Setup, Checks and Fixes

Shopify and Facebook CAPI: Setup, Checks and Fixes

Isometric browser and server paths converge

For most Shopify stores, switching on Facebook’s Conversions API (CAPI) takes a few clicks inside the Facebook & Instagram sales channel. The hard part is making sure Meta receives each order once, with the right value, so your Meta Ads numbers line up with your Shopify orders. This guide covers the setup, the checks and the usual faults, from the point of view of a paid media specialist who audits these accounts.

Senior Ad Managers
senioradmanagers.com
Make Meta Ads data more reliable
Senior Ad Managers fixes conversion tracking first, helping Shopify businesses measure Meta campaigns against real customer revenue.
Meta (Facebook & Instagram) Ads Management

TL;DR

  • CAPI sends purchase data from Shopify’s servers to Meta, so ad blockers and browser limits can’t stop it. The Meta pixel keeps running in the browser alongside it.
  • In Shopify, go to Sales channels, then Facebook & Instagram, then Settings, then Data sharing settings, and choose a level that includes the Conversions API.
  • Remove any old pixel code from your theme. Two senders on one pixel is the most common cause of inflated purchase counts.
  • Check one real order in Events Manager: Purchase should show both browser and server, with the correct value and currency, counted once.
  • If Meta reports more purchases than Shopify for the same day, fix the tracking before you raise budget.

Table of Contents

What CAPI does and how it works with the pixel

The Meta pixel is a small piece of code that runs in the shopper’s browser. It can be stopped by ad blockers and cookie opt-outs. The Conversions API sends the same kind of event from the server instead, so Shopify describes it as server-to-server data sharing that a browser blocker can’t interrupt.

You don’t replace the pixel with CAPI. You run both. When the browser event and the server event carry the same event name and the same event ID, Meta can match them and count one purchase. If the IDs don’t match, Meta counts two.

Why this matters for your ad spend: Meta’s delivery system learns from the purchases it sees. If it sees only some of your orders, it optimises on a partial picture. If it sees double, your reported cost per purchase looks better than it is, and you scale on a number that isn’t true.

What to have in place before you connect

Before you start, make sure you have:

  • Admin access to your Shopify store, and a Facebook Page and Meta business account you control.
  • A Meta pixel (dataset) in your Meta business account, or the willingness to create one during setup.
  • A list of everywhere a Meta pixel might already live: your theme code, an old app, a Google Tag Manager container, or something an earlier agency added.
  • A note of your current numbers: Purchase count and value in Events Manager for the last 7 days, and the matching order count in Shopify. You’ll use this as your baseline.

That last point is the one most stores skip. Without a baseline you can’t tell whether the change improved anything.

Setting up CAPI with the Facebook & Instagram channel

Shopify’s own channel is the simplest route for a store with one pixel. The steps below follow Shopify’s data sharing help page.

  1. Open the channel. From your Shopify admin, go to Sales channels, then Facebook & Instagram, then Settings, then Data sharing settings.
  2. Switch on customer data sharing. Shopify offers three levels. Standard uses the Meta pixel only. Enhanced uses the pixel plus the Conversions API. Maximum also uses the Conversions API and is updated with Facebook’s latest advertising technology. Pick Enhanced or Maximum.
  3. Connect your pixel. If no Meta pixel is connected, click Connect on the one you want to use. Choose the pixel your campaigns already optimise against, otherwise you start learning from zero.
  4. Remove old pixel code. Shopify tells merchants to delete any Meta pixel code previously added to the theme once the pixel is set up through the channel. It also warns that an agency or app managing your Facebook ads can cause duplicate or incorrect data if it adds a second pixel.
  5. Confirm in Events Manager. Place an order and check that Purchase shows both Browser and Server as connection methods.

Where it goes wrong: people pick a level by name and assume the server side is on. Shopify’s help pages have described the levels in slightly different ways over time, so don’t rely on the label. Rely on what Events Manager shows after a real order.

What the channel sends

Once connected, the pixel tracks PageView, ViewContent, Search, AddToCart, InitiateCheckout, AddPaymentInfo and Purchase. For events with an order value, Shopify uses the order’s total price, which includes duties, taxes and discounts. For an Australian store that means the value Meta sees includes GST. If you judge return on ad spend against ex-GST revenue in your accounts, remember the two figures won’t match by design.

How to check it’s working

A green tick in Shopify isn’t proof. Use a short acceptance test.

  1. Write down your baseline: Purchase count and value in Events Manager, and order count and revenue in Shopify for the same days.
  2. Open Test Events in Events Manager and walk through the path yourself: product page, add to cart, checkout.
  3. Place one low-priced order and refund it afterwards.
  4. Find the Purchase event. Check it arrived from both Browser and Server, that the value equals the order total and that the currency is AUD.
  5. Confirm it shows once, not twice. Server events can take minutes, sometimes up to a day, to appear. If no server event shows after a day, treat that as a failure and go back through the setup.

Then watch the numbers for a week. Compare Meta’s Purchase count against Shopify’s order count for the same days. Meta will often attribute differently, so they won’t match exactly, but Meta reporting clearly more purchases than Shopify has orders is a duplication warning.

Event coverage and match quality

Two Events Manager measures are worth knowing. Event coverage compares server events with browser events, and a common guideline is to aim for server events at roughly 75% of browser events or better. Event Match Quality scores how well the data you send (email, phone, the fbc click ID) can be tied to a Meta user, and a score of 6 out of 10 or higher is a sensible target. Treat both as guides for diagnosis, not as targets to chase at any cost. The Diagnostics tab flags critical issues from the last 24 hours with red icons, so check it after any change to your theme or apps.

Why purchases get counted twice, or not at all

The faults we see most in Shopify accounts come down to a handful of causes.

Two senders on one pixel. Meta can only deduplicate events that share an event name and event ID. Different tools generate different IDs, so if the Shopify channel and a second app or a server-side container both send Purchase to the same pixel, Meta can’t merge them. You get inflated purchases, a flattering cost per purchase and a lower match quality. The rule is simple: one pixel, one sender for each event.

Old theme code. A pixel pasted into the theme years ago keeps firing next to the channel’s pixel. Search the theme for the pixel ID and remove it.

Express checkouts. Shop Pay and similar accelerated checkouts don’t always fire browser events cleanly, which is one reason server-side sending helps. Test a Shop Pay order as well as a standard one.

Wrong value or currency. If Purchase arrives with a missing value, Meta can’t optimise for return. Check the value and AUD on every test order.

A sudden improvement after switching on CAPI. If cost per purchase halves overnight, suspect double counting before you celebrate. Compare against Shopify orders first.

Why purchases get counted twice, or not at all

When the channel isn’t enough

The sales channel suits a store with one pixel and a straightforward checkout. It sends purchase data to Meta, but your business may need more: several pixels, subscriptions, repeat-customer signals, or tying ad clicks to what your CRM later records as revenue. That is a server-side tracking job. Our server-side tracking setup covers Meta CAPI and Google Tag Manager, and our Facebook Conversions API guide for Australian businesses goes deeper on the pixel and server relationship. If tracking across your whole site is the problem, our website tracking service covers setup and reconciliation.

Privacy: what Australian merchants should keep an eye on

CAPI shares customer details such as email, phone and location with Meta to match orders to people. In Australia, under Australian Privacy Principle 7, an organisation can’t use or disclose personal information for direct marketing unless an exception applies, such as a reasonable expectation or consent. Where it’s permitted, the person must be able to ask not to receive direct marketing. Cookie-based collection can occur if notice and consent requirements are followed.

The rules are under review. The Australian Government’s 2026 privacy reform consultation proposes a new APP 4 that would require consent to trade personal information, and the consultation paper gives pixel disclosures in programmatic advertising as an example. The exposure draft defines consent as voluntary, informed, current, specific and unambiguous. This is a proposal, not yet law, so check the current status with your privacy adviser or lawyer. In the meantime, make sure your privacy policy says what you share with Meta and why. Our Consent Mode v2 guide explains how consent settings feed into tracking.

Privacy: what Australian merchants should keep an eye on

Fix tracking before you scale Meta spend

If you run a DTC or eCommerce brand on Meta Ads, the order of work matters. Fix tracking first, then judge creative and audiences. We’ve taken a DTC supplement brand from $15k to $90k a month in revenue on Meta Ads, and the foundation for that kind of growth is data the platform can trust. Results vary by account, and we don’t guarantee outcomes.

If your numbers look wrong right now, our 10-step audit for Facebook ads that stopped converting is a good place to start.

How we help with Meta Ads

Senior specialists run every account at Senior Ad Managers, and we fix conversion tracking first. Our Meta Ads management covers prospecting and retargeting on Facebook and Instagram, from $1,725 AUD a month per platform, with no setup fee, no percentage of ad spend and a 3 month minimum. We check results against the sales in your CRM rather than platform-reported numbers.

Senior Ad Managers

If you’d rather start smaller, the $99 AUD audit is how most new clients begin.

Our view on CAPI for Shopify stores

Most of the accounts we’re handed have tracking that tells a good story. The platform reports purchases, the agency report looks healthy, and then the Shopify orders and the bank balance say something else.

CAPI helps because it gives Meta more of your real orders. It only helps if each order arrives once. So the first thing we check is who is sending what: the sales channel, an app, a theme leftover, a server container. One sender per event keeps the numbers honest.

The second thing we do is compare Meta’s purchases with Shopify’s orders over the same days, and then with revenue. The gap between them is where wasted spend hides. Once that gap is closed, budget decisions get a lot easier, because you’re scaling on figures you can check.

Jesse Lees

FAQ

Does Shopify send the Conversions API automatically?

It does when you connect the Facebook & Instagram channel and set data sharing to a level that includes CAPI. You still need to confirm it in Events Manager, because the level name alone doesn’t prove server events are arriving.

Do I still need the Meta pixel if I use CAPI?

Yes. Running both is the standard setup. The pixel gives Meta a browser signal and CAPI fills the gaps, with matching event names and IDs so each order counts once.

Why does Meta show more purchases than Shopify?

The usual cause is two senders on one pixel, such as the sales channel plus an app or old theme code. Meta attributes conversions differently to Shopify, so small differences are normal, but a clear excess points to duplication.

How long until server events show in Events Manager?

Usually minutes, sometimes up to a day. If nothing appears after a day, recheck the data sharing level, the pixel connection and whether another tool is interfering.

Next step

If you want a specialist to check your Meta and Google tracking and where your ad spend is going, start with our $99 AUD Google Ads audit.

Senior Ad Managers
Discuss your Shopify tracking
Email Senior Ad Managers to discuss Meta Ads tracking and how campaign performance can be measured against closed revenue in your CRM.
SSenior Ad Managers
Email us[email protected]

Sources

Jesse Lees, Founder of Senior Ad Managers
Jesse Lees · Senior Ad Managers
Founder of Senior Ad Managers, a Melbourne performance marketing agency, with 10 years in performance marketing. Google Ads and Meta certified, managing paid search across AU, NZ and US accounts.

Want a $99 AUD audit of your account? →

Next step

Find out where your ad spend is going.

Get a $99 AUD Google Ads audit. We'll show you where money is being wasted and which leads you're missing out on.

Show me my current ad mistakes →
CallContact Us