<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Owais Alam</title>
    <description>The latest articles on DEV Community by Owais Alam (@owaisalam).</description>
    <link>https://dev.to/owaisalam</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4259037%2F310c430b-c3f2-4a39-be14-e9794a473444.jpg</url>
      <title>DEV Community: Owais Alam</title>
      <link>https://dev.to/owaisalam</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/owaisalam"/>
    <language>en</language>
    <item>
      <title>Why Meta Ads revenue doesn't match Shopify (and which number to trust)</title>
      <dc:creator>Owais Alam</dc:creator>
      <pubDate>Sun, 22 Nov 2026 16:37:38 +0000</pubDate>
      <link>https://dev.to/owaisalam/why-meta-ads-revenue-doesnt-match-shopify-and-which-number-to-trust-2dal</link>
      <guid>https://dev.to/owaisalam/why-meta-ads-revenue-doesnt-match-shopify-and-which-number-to-trust-2dal</guid>
      <description>&lt;p&gt;You spent $15,000 on Meta last month. Ads Manager says it brought in $61,940 in purchases, a 4.1 ROAS. Shopify says the whole store did $48,210. Meta is claiming more revenue than you actually made, and that's before you count Google, email or anything else.&lt;/p&gt;

&lt;p&gt;This is the most common question we get from DTC brands, and it has a clear answer. Meta isn't broken. It measures something different from Shopify, on different dates, with different rules. Once you know those rules, you can work out how far off your numbers are and which one to use for each decision.&lt;/p&gt;

&lt;h2&gt;
  
  
  The short answer
&lt;/h2&gt;

&lt;p&gt;Shopify counts orders. Meta counts &lt;strong&gt;purchases that happened after someone interacted with a Meta ad&lt;/strong&gt;, within a time window, including purchases it estimates but can't see. Those are different things, and the second one is almost always bigger than the share of revenue Meta actually caused.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Rule of thumb&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Shopify tells you what happened. Meta tells you what happened near a Meta ad. Neither tells you what Meta caused. That third number is the one your budget should follow.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tracking problem or attribution problem?
&lt;/h2&gt;

&lt;p&gt;Before reading the reasons below, find out which kind of gap you have. They need different fixes, and mixing them up is how teams spend months on the wrong one. You need two numbers for the same 30 days: the purchase count in Meta Events Manager (not Ads Manager) and your Shopify online order count.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;What you see&lt;/th&gt;
&lt;th&gt;What it means&lt;/th&gt;
&lt;th&gt;Where to start&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Events Manager purchases well above Shopify orders&lt;/td&gt;
&lt;td&gt;Tracking problem: some orders reach Meta twice&lt;/td&gt;
&lt;td&gt;Reason 7 below, then fix deduplication&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Events Manager purchases well below Shopify orders&lt;/td&gt;
&lt;td&gt;Tracking problem: Meta is missing purchases&lt;/td&gt;
&lt;td&gt;Conversions API and Event Match Quality&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Counts close, but Ads Manager revenue far above Shopify&lt;/td&gt;
&lt;td&gt;Attribution problem: Meta is claiming shared orders&lt;/td&gt;
&lt;td&gt;Reasons 1 to 6, then measure the real gap&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Both&lt;/td&gt;
&lt;td&gt;Fix tracking first&lt;/td&gt;
&lt;td&gt;Every attribution number inherits tracking errors&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;"Close" means within about 5% either way. Purchases in Events Manager are counted by event time, so compare whole weeks or months rather than single days.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 8 reasons Meta reports more
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. The attribution window
&lt;/h3&gt;

&lt;p&gt;Meta's default attribution setting is &lt;strong&gt;7-day click, 1-day view&lt;/strong&gt;, plus 1-day engaged view for video. Anyone who clicked an ad in the 7 days before buying, or saw one the day before, counts as a Meta purchase. They might also have clicked a Google ad, opened a Klaviyo email and typed your URL in directly. Meta still counts the sale.&lt;/p&gt;

&lt;p&gt;Note that "click" means any click on the ad, not just a click through to your site. Likes, comments and taps to expand the image all count.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. View-through conversions
&lt;/h3&gt;

&lt;p&gt;A 1-day view conversion means the buyer saw your ad, didn't click, and bought within a day. For a brand with returning customers and lots of reach, a big share of daily orders will come from people who saw an ad yesterday whether or not the ad did anything. In the accounts we audit, view-through is usually the single biggest part of the gap.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Every platform claims the same order
&lt;/h3&gt;

&lt;p&gt;Meta, Google Ads, TikTok and Klaviyo each use their own window and each count the order as theirs. Nobody removes the duplicates. Add up the revenue every platform claims and it's normal to get 130 to 200% of what Shopify actually recorded.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Meta reports on the ad date, not the order date
&lt;/h3&gt;

&lt;p&gt;Ads Manager attributes a purchase to the day of the ad impression or click, not the day of the order. A sale on the 3rd of the month from a click on the 29th shows up in last month's Meta report and this month's Shopify report. Over a full month this mostly evens out, but daily and weekly comparisons get noisy, especially around sales and launches.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Modeled conversions
&lt;/h3&gt;

&lt;p&gt;Since iOS 14, Meta can't see many purchases directly, so it estimates them. These modeled conversions appear in Ads Manager alongside measured ones, with no way to separate them in the standard reports. They are informed estimates, not orders you can point to in Shopify.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Cross-device matching
&lt;/h3&gt;

&lt;p&gt;Meta knows who is logged in on Instagram on their phone. If that person later buys on their laptop, Meta can still link the purchase to the ad, while Shopify and GA4 see a direct visit with no source. Sometimes this means Meta is right and your other tools are missing it. That's why you can't simply treat Meta's extra revenue as fake.&lt;/p&gt;

&lt;h3&gt;
  
  
  7. Duplicate events from the pixel and Conversions API
&lt;/h3&gt;

&lt;p&gt;Most Shopify stores send purchases to Meta twice: from the browser pixel and from the Conversions API. Meta deduplicates them only if both carry the same event ID. If they don't, every order can count twice. A purchase count in Events Manager that's well above your Shopify order count is the giveaway.&lt;/p&gt;

&lt;h3&gt;
  
  
  8. Different revenue definitions
&lt;/h3&gt;

&lt;p&gt;The purchase value sent to Meta might include tax and shipping, or might not. It doesn't subtract refunds or cancellations, and multi-currency stores sometimes send the customer's currency instead of the store's. Shopify's net sales handles all of that. On a store with a 10% return rate, this alone can open a gap of 10%.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Since January 2026&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Meta's reporting API stopped returning the 7-day view and 28-day view windows on January 12, 2026. If your dashboard pulls Meta data through a connector, check which window it uses. It may no longer match the column you see in Ads Manager.&lt;/p&gt;

&lt;h2&gt;
  
  
  Measure your real gap in 20 minutes
&lt;/h2&gt;

&lt;p&gt;You don't need an attribution tool to see how far off Meta is. You need three numbers for the same 30 days.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;Meta's claimed revenue.&lt;/strong&gt; In Ads Manager, open Columns, then Compare attribution settings. Add 1-day click, 7-day click and 1-day view purchase value side by side.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Shopify revenue from Meta clicks.&lt;/strong&gt; In Shopify's marketing reports, find last-click sales where the UTM source is your Meta source (facebook, instagram, fb, ig, whatever your ads use). This only works if every ad has UTM parameters, which is worth fixing first if they don't.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Shopify total online revenue&lt;/strong&gt; for the same dates.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Then read them together. Here's an example store:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Number&lt;/th&gt;
&lt;th&gt;Example&lt;/th&gt;
&lt;th&gt;What it tells you&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Meta, 7-day click + 1-day view&lt;/td&gt;
&lt;td&gt;$61,940&lt;/td&gt;
&lt;td&gt;What Ads Manager shows by default&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Meta, 7-day click only&lt;/td&gt;
&lt;td&gt;$41,300&lt;/td&gt;
&lt;td&gt;The rest, $20,640, is view-through&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Meta, 1-day click only&lt;/td&gt;
&lt;td&gt;$29,800&lt;/td&gt;
&lt;td&gt;The most conservative Meta view&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Shopify orders with Meta UTMs&lt;/td&gt;
&lt;td&gt;$24,600&lt;/td&gt;
&lt;td&gt;Last-click, what Shopify can prove&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Shopify total online sales&lt;/td&gt;
&lt;td&gt;$48,210&lt;/td&gt;
&lt;td&gt;The ceiling. Meta can't have driven more.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;In this example, Meta probably drove somewhere between $24,600 and $41,300 of revenue, not $61,940. That range is honest, and it changes the ROAS from 4.1 to somewhere between 1.6 and 2.8. Depending on your margins, that might be the difference between scaling and cutting.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which number to trust, for which decision
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Decision&lt;/th&gt;
&lt;th&gt;Use this number&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;How much did we make?&lt;/td&gt;
&lt;td&gt;Shopify net sales. Always.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Which Meta ad or campaign is best?&lt;/td&gt;
&lt;td&gt;Meta, same attribution setting across everything you compare&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Is Meta profitable overall?&lt;/td&gt;
&lt;td&gt;The range above, checked against total revenue and margin&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Should we spend more on Meta?&lt;/td&gt;
&lt;td&gt;Whether total revenue rises when Meta spend rises. Ideally a lift test.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Inside Meta, the default numbers are fine for comparing one ad with another, because every ad gets measured the same way. The trouble starts when Meta's total gets compared with Shopify's total or added to Google's. Our guide to &lt;a href="https://goodnumbers.io/guides/true-roas-shopify/" rel="noopener noreferrer"&gt;finding your true ROAS&lt;/a&gt; covers the account-level view in detail.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which attribution tool brings clarity
&lt;/h2&gt;

&lt;p&gt;If you're spending across Meta, Google and two or three other channels, a third-party attribution tool can help. It applies one set of rules to every channel, so you stop comparing Meta's version of events with Google's. But it's worth being clear about what that buys you.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;It won't tell you what Meta caused.&lt;/strong&gt; Multi-touch models split credit between touchpoints. That's more consistent than each platform claiming everything, but it's still a model. Only lift tests and holdouts measure cause.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It won't fix broken tracking.&lt;/strong&gt; If purchases are duplicated or missing, the tool's pixel and the ad platforms will disagree in new ways. Fix the data first.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It will give everyone one number.&lt;/strong&gt; That alone is worth a lot once several people make budget decisions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Triple Whale, Northbeam and Polar are the usual shortlist for Shopify brands, and they differ more than their marketing suggests. We compare them in &lt;a href="https://goodnumbers.io/guides/triple-whale-vs-northbeam-vs-polar/" rel="noopener noreferrer"&gt;Triple Whale vs Northbeam vs Polar&lt;/a&gt;. Under about $50k a month in spend, the method in this guide plus a weekly scorecard from &lt;a href="https://goodnumbers.io/guides/true-roas-shopify/" rel="noopener noreferrer"&gt;finding your true ROAS&lt;/a&gt; usually answers the same questions for free.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to make Meta reporting tighter
&lt;/h2&gt;

&lt;p&gt;You can't make Meta match Shopify, but you can remove the parts of the gap that come from bad setup.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;Send purchases through the Conversions API, deduplicated.&lt;/strong&gt; On Shopify, the Facebook and Instagram app does this when data sharing is set to the highest level. Check Events Manager: browser and server events should both show, and the deduplication notice should say they're being matched. If they aren't, our guide to &lt;a href="https://goodnumbers.io/guides/meta-pixel-duplicate-purchases-shopify/" rel="noopener noreferrer"&gt;Meta duplicate purchases on Shopify&lt;/a&gt; walks through the fix, and &lt;a href="https://goodnumbers.io/guides/meta-capi-deduplication-event-id/" rel="noopener noreferrer"&gt;fixing event_id deduplication&lt;/a&gt; covers the event ID side.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Raise your Event Match Quality.&lt;/strong&gt; Events Manager scores each event out of 10 based on the customer data you send with it (email, phone, name, address, external ID). Higher scores mean more purchases get matched to the right ad, which also helps Meta optimize. Aim for 6 or higher on purchases. Our guide to &lt;a href="https://goodnumbers.io/guides/meta-event-match-quality-shopify/" rel="noopener noreferrer"&gt;improving Event Match Quality on Shopify&lt;/a&gt; lists exactly what to send.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Tag every ad with UTM parameters.&lt;/strong&gt; Use Meta's URL parameters field so it's automatic. Without UTMs, Shopify and GA4 can't tell you anything about Meta, and in-app browser traffic shows up as direct.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Send the right value.&lt;/strong&gt; Decide whether purchase value includes tax and shipping, and make every platform send the same definition, in your store currency.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Report click-based numbers next to the default.&lt;/strong&gt; Keep the default for in-platform optimization, and add 7-day click to your weekly report so view-through doesn't quietly inflate results.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Test incrementality when spend justifies it.&lt;/strong&gt; Meta's Conversion Lift studies or a simple geo holdout (pause Meta in a few regions for a few weeks) are the only ways to measure what Meta causes rather than what it's near.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If GA4 is also off from Shopify, that's a separate problem with separate causes. See &lt;a href="https://goodnumbers.io/guides/ga4-shopify-revenue-mismatch/" rel="noopener noreferrer"&gt;why GA4 and Shopify revenue don't match&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Is a Meta vs Shopify mismatch an attribution problem or a tracking problem?
&lt;/h3&gt;

&lt;p&gt;Compare the purchase count in Events Manager with Shopify online orders for the same dates. If Meta records noticeably more purchases than Shopify had orders, part of the gap is a tracking problem, usually duplicate events, and fixing it is mechanical. If the counts are close but Meta claims far more revenue in Ads Manager, it is an attribution problem: Meta is crediting itself for orders other channels also touched.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why does Meta show more sales than Shopify?
&lt;/h3&gt;

&lt;p&gt;Meta counts a purchase if the buyer clicked an ad in the previous 7 days or viewed one in the previous day, even if they also came through Google, email or a search for your brand. Shopify counts each order once. Meta also includes modeled conversions and reports purchases on the date of the ad interaction, not the order date. Together these usually put Meta's purchase value above Shopify's.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is Meta's reported ROAS wrong?
&lt;/h3&gt;

&lt;p&gt;It is not wrong, it answers a different question: how many purchases happened after someone interacted with a Meta ad. It does not tell you how many of those purchases Meta caused. For budget decisions, compare Meta's numbers with Shopify revenue and, when the spend justifies it, a lift test.&lt;/p&gt;

&lt;h3&gt;
  
  
  Should I switch Meta to 1-day click attribution?
&lt;/h3&gt;

&lt;p&gt;Use the Compare attribution settings columns in Ads Manager to see 1-day click, 7-day click and 1-day view side by side, without changing how campaigns optimize. Changing the attribution setting on the ad set changes what Meta optimizes for, so test it on one campaign rather than switching the whole account.&lt;/p&gt;

&lt;h3&gt;
  
  
  How much higher than Shopify is normal for Meta?
&lt;/h3&gt;

&lt;p&gt;It depends on your other channels. A store that spends almost everything on Meta might see Meta claim 70 to 90% of Shopify online revenue. A store with strong email, search and organic traffic might see Meta claim more than Meta could realistically have driven. The useful signal is the trend: if Meta's claimed share keeps rising while Shopify revenue stays flat, Meta is taking credit for sales other channels produced.&lt;/p&gt;

&lt;h3&gt;
  
  
  Do I need a third-party attribution tool to fix this?
&lt;/h3&gt;

&lt;p&gt;Not to start. A clean pixel and Conversions API setup, UTM tags on every ad, and a weekly comparison against Shopify answer most questions. Attribution tools help once you spend across several paid channels and need one consistent model across them.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://goodnumbers.io/guides/meta-roas-vs-shopify-revenue/" rel="noopener noreferrer"&gt;Good Numbers&lt;/a&gt;. The original has the interactive version and stays up to date.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>shopify</category>
      <category>marketing</category>
      <category>analytics</category>
      <category>ecommerce</category>
    </item>
    <item>
      <title>Meta pixel duplicate purchase events on Shopify: how to find and fix them</title>
      <dc:creator>Owais Alam</dc:creator>
      <pubDate>Sun, 22 Nov 2026 16:36:30 +0000</pubDate>
      <link>https://dev.to/owaisalam/meta-pixel-duplicate-purchase-events-on-shopify-how-to-find-and-fix-them-53d7</link>
      <guid>https://dev.to/owaisalam/meta-pixel-duplicate-purchase-events-on-shopify-how-to-find-and-fix-them-53d7</guid>
      <description>&lt;p&gt;&lt;strong&gt;Short answer&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If Events Manager shows more than about 5% more purchases than your Shopify online orders, Meta is counting some orders twice. The usual causes are a pixel installed twice, browser and server events with different event IDs, or two Conversions API sources. Keep one browser source and one server source per event, sharing one event ID.&lt;/p&gt;

&lt;p&gt;Shopify recorded 410 orders last week. Meta's Events Manager shows 690 purchases on the same pixel. Some of that gap can be attribution, but Events Manager counts purchase events, not attributed ones. When it shows far more purchases than your store took, Meta is counting some orders twice.&lt;/p&gt;

&lt;p&gt;Duplicates inflate reported ROAS, make campaigns look better than they are and feed Meta's delivery system purchases that never happened. This guide shows how to confirm the problem, find which of five usual causes it is, and fix it without losing real conversions.&lt;/p&gt;

&lt;h2&gt;
  
  
  The signs of duplicate purchases
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Events Manager purchases above Shopify orders.&lt;/strong&gt; More than about 5% above Shopify online orders for the same week is a red flag.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A "potential duplicate events" warning&lt;/strong&gt; in the Diagnostics tab of your dataset.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Average order value in Ads Manager well below Shopify's.&lt;/strong&gt; The same revenue spread across extra purchases lowers it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ROAS jumped after installing an app,&lt;/strong&gt; without any change in Shopify revenue.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Don't confuse this with the normal gap between Meta's attributed revenue and Shopify. That gap comes from attribution windows and view-through conversions, and it is covered in &lt;a href="https://goodnumbers.io/guides/meta-roas-vs-shopify-revenue/" rel="noopener noreferrer"&gt;why Meta revenue doesn't match Shopify&lt;/a&gt;. Duplicates are a tracking bug. Attribution is a measurement choice.&lt;/p&gt;

&lt;h2&gt;
  
  
  What duplicates cost you
&lt;/h2&gt;

&lt;p&gt;Duplicate purchases look harmless because the numbers go up. They cause three real problems:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Budget decisions on inflated ROAS.&lt;/strong&gt; A campaign at a reported 3.0 ROAS with a third of its purchases doubled is really closer to 2.0. Scaling it on the reported number can turn a profitable account into a losing one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Worse optimization.&lt;/strong&gt; Meta's delivery system learns from the purchases you send. Duplicates teach it that certain people buy twice as often as they do, which skews who it shows your ads to.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Wrong value bidding.&lt;/strong&gt; If you use value optimization or a minimum ROAS bid strategy, doubled purchase values push Meta toward the wrong customers and make the target meaningless.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The longer duplicates run, the more of your account history is built on them. That makes it worth fixing quickly, even though reported results will drop when you do.&lt;/p&gt;

&lt;h2&gt;
  
  
  Confirm it in 10 minutes
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;Compare counts.&lt;/strong&gt; In Events Manager, open your dataset, then Overview, and note total Purchase events for the last 7 days. Compare with Shopify online store orders for the same days.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Check the connection method.&lt;/strong&gt; Click the Purchase row. Browser and Server both sending is expected. Look at the deduplication section to see whether Meta is matching them.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;List every sender.&lt;/strong&gt; In Shopify, go to Settings, Customer events, and note every app pixel and custom pixel that sends to Meta. Then search your theme code for &lt;code&gt;fbq(&lt;/code&gt; and &lt;code&gt;connect.facebook.net&lt;/code&gt;, and check your GTM container for Meta tags.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Place a test order.&lt;/strong&gt; Open the Test events tab in Events Manager, place an order with a 100% discount code and watch what arrives. You want one browser Purchase and one server Purchase, marked as deduplicated. Anything more is your duplicate.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The 5 usual causes
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. The pixel is installed twice
&lt;/h3&gt;

&lt;p&gt;The most common case. The Facebook and Instagram app sends the pixel, and an older install in the theme, a GTM tag or a custom pixel sends it again. Each one fires its own Purchase with its own ID.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Browser and server use different event IDs
&lt;/h3&gt;

&lt;p&gt;The pixel comes from one tool and the Conversions API from another, for example the Facebook app in the browser and a tracking app on the server. Unless both use the same event ID for the same order, Meta can't tell they are the same purchase.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Two server-side sources
&lt;/h3&gt;

&lt;p&gt;The Facebook app is set to its highest data sharing level, which already sends purchases through the Conversions API, and a tracking app such as Elevar or Littledata sends them through the Conversions API too. That's two server purchases per order.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Purchases fired on page views
&lt;/h3&gt;

&lt;p&gt;Custom code that sends a Purchase whenever the order status page loads fires again every time the customer comes back to check their order. Purchases should fire on Shopify's &lt;code&gt;checkout_completed&lt;/code&gt; event, not on a page view.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Upsell apps resending the order
&lt;/h3&gt;

&lt;p&gt;Post-purchase upsell apps sometimes send their own Purchase. If it carries only the upsell amount, that's fine. If it resends the whole order, it's a duplicate.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to fix each one
&lt;/h2&gt;

&lt;p&gt;The rule is simple: &lt;strong&gt;one browser source and one server source per event, sharing one event ID.&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Cause&lt;/th&gt;
&lt;th&gt;Fix&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Pixel installed twice&lt;/td&gt;
&lt;td&gt;Keep one browser source. Remove theme code, old GTM tags and extra custom pixels.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Different event IDs&lt;/td&gt;
&lt;td&gt;Let one tool own both browser and server events, or configure both to use the same ID for each order.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Two server sources&lt;/td&gt;
&lt;td&gt;Pick one Conversions API source. If a tracking app owns it, turn the Facebook app's data sharing down as the app's setup guide describes.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Page view purchases&lt;/td&gt;
&lt;td&gt;Trigger purchases on &lt;code&gt;checkout_completed&lt;/code&gt; only.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Upsell resending&lt;/td&gt;
&lt;td&gt;Configure the upsell app to send only the upsell value, or switch off its Meta tracking.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;For most Shopify stores, the simplest clean setup is the Facebook and Instagram app alone, at its highest data sharing level, with nothing else sending to the same pixel. It handles both sides and deduplicates them. Stores that need more control use a tracking app or server-side GTM instead, and then the Facebook app should no longer send events. Our guide to &lt;a href="https://goodnumbers.io/guides/shopify-server-side-tracking/" rel="noopener noreferrer"&gt;server-side tracking on Shopify&lt;/a&gt; covers when that is worth it, and &lt;a href="https://goodnumbers.io/guides/elevar-vs-littledata-vs-stape/" rel="noopener noreferrer"&gt;Elevar vs Littledata vs Stape&lt;/a&gt; compares the tools. If browser and server purchases both arrive but aren't being matched, our guide to &lt;a href="https://goodnumbers.io/guides/meta-capi-deduplication-event-id/" rel="noopener noreferrer"&gt;fixing Meta event_id deduplication&lt;/a&gt; shows which ID to use on Shopify and how to test it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep it from coming back
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Check the ratio weekly.&lt;/strong&gt; Meta purchases divided by Shopify online orders. A sudden jump above 1.05 means something new is sending events.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Test after every app install.&lt;/strong&gt; Many apps add a Meta pixel by default. Place a test order and watch Test events after installing anything that touches checkout or marketing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Watch Event Match Quality too.&lt;/strong&gt; Fixing duplicates is half the job. The other half is sending enough customer data with each purchase so Meta can match it to the right ad. See &lt;a href="https://goodnumbers.io/guides/meta-event-match-quality-shopify/" rel="noopener noreferrer"&gt;how to improve Event Match Quality on Shopify&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you also see GA4 recording fewer purchases than Shopify, that is a separate problem with separate causes, covered in our &lt;a href="https://goodnumbers.io/guides/ga4-missing-purchases-shopify/" rel="noopener noreferrer"&gt;GA4 missing purchases guide&lt;/a&gt;. If GA4 or Google Ads show more purchases than Shopify instead, the same kind of double sending is usually behind it: see &lt;a href="https://goodnumbers.io/guides/ga4-duplicate-purchases-shopify/" rel="noopener noreferrer"&gt;GA4 duplicate purchases&lt;/a&gt; and &lt;a href="https://goodnumbers.io/guides/google-ads-double-counting-conversions-shopify/" rel="noopener noreferrer"&gt;Google Ads double counting&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  How does Meta deduplicate pixel and Conversions API purchases?
&lt;/h3&gt;

&lt;p&gt;Meta treats a browser event and a server event as the same purchase when both have the same event name and the same event ID. If the IDs differ, or one side sends no ID, Meta counts two purchases.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is "Browser + Server" in Events Manager a problem?
&lt;/h3&gt;

&lt;p&gt;No. It means purchases arrive from both the pixel and the Conversions API, which is the recommended setup. It only becomes a problem when the two are not deduplicated, which Events Manager shows in the event details and diagnostics.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can a post-purchase upsell cause duplicate purchases?
&lt;/h3&gt;

&lt;p&gt;It can. Some upsell apps send a second Purchase event for the upsell. That is correct if it carries only the upsell value, and a duplicate if it resends the full order. Test an order with an upsell and check what arrives.&lt;/p&gt;

&lt;h3&gt;
  
  
  Will fixing duplicates lower my ROAS in Ads Manager?
&lt;/h3&gt;

&lt;p&gt;Yes, reported ROAS usually drops, because the inflated purchases disappear. Your real results do not change. Meta also optimizes better on accurate data, so the drop in reported numbers is worth it.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://goodnumbers.io/guides/meta-pixel-duplicate-purchases-shopify/" rel="noopener noreferrer"&gt;Good Numbers&lt;/a&gt;. The original has the interactive version and stays up to date.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>shopify</category>
      <category>analytics</category>
      <category>ecommerce</category>
      <category>marketing</category>
    </item>
  </channel>
</rss>
