Facebook Ads purchases don't match Shopify orders: how to check
By Devendra Variya, co-founder of Virling. Published 2026-11-24.
TL;DR: Facebook Ads purchases don't match Shopify orders because the two count different things. Meta counts Purchase events it credits to an ad within its attribution windows, including some people who only saw the ad, and may model some it cannot measure. Shopify counts orders, and credits them with its own rules. Duplicate events, refunds, currency and time zone add to the gap. Some difference is normal. To check it, tag every ad, pick one finished date range, and compare Meta's purchases with real orders for each campaign.
Why the numbers differ
| Cause | What happens | Source |
|---|---|---|
| Attribution windows | Meta credits a purchase made within 1 or 7 days of a link click, depending on the ad set's setting. Shopify credits orders by its own models, and its marketing performance view uses last non-direct click by default | Meta, about the attribution setting; Shopify, marketing performance |
| View-through and engage-through credit | Meta can also credit a purchase within 1 day of an impression, or of an interaction with the ad that was not a link click. A view with no click sends no tagged visit to your store | Meta, about the attribution setting |
| Modelled conversions | Where events are partial or missing, Meta may use statistical modelling to account for some conversions, so part of the number can be an estimate | Meta, about estimated metrics |
| Duplicate browser and server events | Meta matches a browser event and a server event by event name and event ID, received within 48 hours. If the IDs or names differ, that match fails. Shopify's Enhanced and Maximum data sharing send both kinds, and a pixel left in the theme code can add another copy | Meta, deduplicate events; Shopify, Meta data sharing; Shopify, Meta pixel |
| Refunds and unpaid orders | Meta's Purchase event is sent when the purchase is made. Shopify's sales reports subtract a reversal on the day it is processed. Its marketing reports include canceled, pending and unpaid orders | Meta Pixel reference; Shopify, sales report; Shopify, marketing reports |
| Currency | Each Purchase event carries its own value and currency, and an ad account has a currency of its own. Stores that sell in several currencies can view Shopify reports only in the store currency. This moves revenue and ROAS, not the number of purchases | Meta Pixel reference; Meta, ad account; Shopify, selling in local currencies |
| Time zone | Meta reports in the ad account's time zone. Shopify lists different reporting time zones as a cause of discrepancies with other software. An order near midnight can land on two different days | Meta, insights best practices; Shopify, analytics discrepancies |
The first two are usually settings rather than faults. How a longer or shorter window moves credit between channels is covered in what an attribution window does. The gap can also run the other way: a purchase event blocked by an ad blocker in the browser is missing from Meta, while the order is still in Shopify. Shopify says data sent from server to server cannot be blocked by browser ad blockers. Other ad platforms and email tools leave similar gaps; ecommerce attribution for store owners covers them together.
With your Shopify orders connected and your ads tagged, Virling's Campaign tab shows the revenue after refunds credited to each Meta campaign, taken from orders and not from Purchase events.
How to check purchases against orders, campaign by campaign
You need Ads Manager and your Shopify admin. Orders placed before the ads were tagged cannot be split this way, so step 1 comes first.
- Tag every ad. Put
utm_source=facebook&utm_medium=paid_social&utm_campaign={{campaign.id}}in each ad's URL parameters, or build the string with the Facebook ads URL parameters builder. The ID stays the same when you rename a campaign. Where Shopify shows these tags is in Shopify UTM tracking. - Pick a finished date range. Use several full weeks, so orders near midnight matter less, and compare the time zone of the ad account with the store's. Meta says its API figures do not change after 28 days of being reported, so a range that ended at least 28 days ago is steadiest, and more of its refunds have come in.
- Write down Meta's purchases per campaign. In Ads Manager, use Compare Attribution Settings to see click-through apart from view-through and engage-through. Note the spend too.
- Write down the orders per campaign. In Shopify, open the Performance by marketing campaign report for the same dates. It gives total sales and orders, and leaves out traffic with no campaign. Note which attribution model is selected.
- Compare click-through purchases with orders first. If they are close and the full count is not, views and engagement explain most of the gap.
- Look for duplicates. If click-through purchases are still well above orders, place a test order and watch the events in Meta's Events Manager. A browser and a server Purchase for one order should share an event ID. Check the theme code, apps and custom pixels for a second Meta pixel, and remove the copy you do not need.
- Take off refunds and unpaid orders. Count the canceled, unpaid and refunded orders in each campaign, and subtract them.
- Read a few orders by hand. Open the conversion details of some recent orders and look for your campaign in the sessions. Orders with no source have their own causes: see why Shopify orders show up as Direct.
Neither number is the whole truth. Meta can credit a sale the ad did not cause, and a tagged click can miss a sale it did, such as when someone taps the ad on a phone and orders on a laptop.
A made-up example
These numbers are invented to show the arithmetic. No purchases were engage-through, and kept orders are orders left after refunds.
| Made-up numbers | Campaign A | Campaign B |
|---|---|---|
| Spend | $1,100 | $900 |
| Purchases in Meta | 40 | 30 |
| Click-through | 28 | 27 |
| View-through | 12 | 3 |
| Shopify orders with the campaign's tag | 25 | 26 |
| Kept orders | 22 | 25 |
| Spend per Meta purchase | $27.50 | $30.00 |
| Spend per kept order | $50.00 | $36.00 |
In Ads Manager, A looks cheaper. By kept orders, B is. With one $100 order per customer at a 45% margin, the break-even cost is $45, so B is under it and A is over. Work out your own limit with the break-even CPA calculator.
Keep the order side up to date
Doing this by hand once shows you the gap. To see it all the time, each order has to carry the visitor who placed it. Virling does that for Shopify with one script and a short theme snippet that stores a visitor ID on the cart. It reads orders and refunds with a token that can only read orders, and the Campaign tab shows visitors, revenue after refunds and revenue per visitor for each utm_campaign. Reports are in USD, so convert before you compare with a store in another currency. Setup is in Shopify revenue attribution. For tagging ads, see Meta Ads revenue tracking; for unpaid page posts and groups, see Facebook revenue tracking.
Frequently asked questions
Why don't my Facebook Ads purchases match my Shopify orders?
Meta counts Purchase events it credits to an ad within its attribution windows, which can include people who saw an ad without clicking, and may model some it cannot measure. Shopify counts orders. Duplicate events, refunds, currency and time zone add to the gap.
Why does Meta report more purchases than Shopify?
The usual reasons are view-through and engage-through credit, purchases that Shopify credits to another channel, and a browser event and a server event for the same order that were not deduplicated. Compare attribution settings first, then check for a second pixel.
Why does Meta report fewer purchases than Shopify?
Shopify's total includes orders from every channel, so compare only the orders credited to your Meta campaigns. If Meta is still lower, the buyer may have paid outside the attribution window, or the purchase event may have been blocked or not sent.
Should Meta purchases and Shopify orders match exactly?
No. They count different things with different rules, so some gap is normal. Look for a gap that is steady per campaign. A sudden change, or one campaign far out of line with the rest, is worth checking.
Does Meta subtract refunds from purchases?
The Purchase event is sent when the purchase is made, so a refund you give later is not part of it. Shopify's sales reports show returns as negative values. Count refunds per campaign yourself, or use revenue that is already net of refunds.
Which number should I use to decide on a campaign?
Use Ads Manager for spend and delivery, and orders after refunds for what the campaign earned. Divide spend by those orders, and compare the result with your break-even cost per customer.
See which Meta campaign brings your Shopify orders
Virling is open source under AGPL. Self-host it free, or use the hosted version with a 14-day free trial. It connects to Stripe, Paddle, Shopify, WooCommerce, Polar, LemonSqueezy, Dodo, Creem and RevenueCat.