<?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: CRP Digital</title>
    <description>The latest articles on DEV Community by CRP Digital (@crpdigital).</description>
    <link>https://dev.to/crpdigital</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%2F4272497%2F661723e2-241d-456c-b98f-daa0a4aba628.png</url>
      <title>DEV Community: CRP Digital</title>
      <link>https://dev.to/crpdigital</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/crpdigital"/>
    <language>en</language>
    <item>
      <title>Meta Pixel + Conversions API on Shopify: A De-duplication Checklist</title>
      <dc:creator>CRP Digital</dc:creator>
      <pubDate>Mon, 30 Nov 2026 19:45:31 +0000</pubDate>
      <link>https://dev.to/crpdigital/meta-pixel-conversions-api-on-shopify-a-de-duplication-checklist-38fg</link>
      <guid>https://dev.to/crpdigital/meta-pixel-conversions-api-on-shopify-a-de-duplication-checklist-38fg</guid>
      <description>&lt;p&gt;If you run Facebook and Instagram ads for a Shopify store, purchase tracking has probably caused you at least one headache. Ads Manager shows more purchases than Shopify recorded. Or fewer. Or the numbers drift apart for weeks before anyone notices.&lt;/p&gt;

&lt;p&gt;Most of the time the cause is one of a handful of set-up problems with how the browser Pixel and the server-side Conversions API (CAPI) work together. This is the checklist we use when auditing a store's Meta tracking. It's platform-specific but not app-specific, so it should apply whichever integration you use.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why you need both, and why that creates a problem
&lt;/h2&gt;

&lt;p&gt;The &lt;strong&gt;Meta Pixel&lt;/strong&gt; runs in the shopper's browser. It's easy to set up, but ad blockers, browser privacy features, consent choices and closed tabs can stop events from being sent.&lt;/p&gt;

&lt;p&gt;The &lt;strong&gt;Conversions API&lt;/strong&gt; sends events from a server. It isn't affected by the browser in the same way, so it fills many of those gaps.&lt;/p&gt;

&lt;p&gt;Running both is the recommended approach. The catch is that one purchase can now be reported twice: once from the browser and once from the server. Meta can merge them, but only if the two events can be matched.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Meta de-duplicates
&lt;/h2&gt;

&lt;p&gt;Meta treats a browser event and a server event as the same event when:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;They have the &lt;strong&gt;same event name&lt;/strong&gt; (for example &lt;code&gt;Purchase&lt;/code&gt;), and&lt;/li&gt;
&lt;li&gt;They carry the &lt;strong&gt;same event ID&lt;/strong&gt; (&lt;code&gt;eventID&lt;/code&gt; on the Pixel, &lt;code&gt;event_id&lt;/code&gt; in CAPI), and&lt;/li&gt;
&lt;li&gt;They arrive within Meta's de-duplication window.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If the event IDs don't match, or one side doesn't send an ID at all, you get double counting. If the names differ (&lt;code&gt;Purchase&lt;/code&gt; vs &lt;code&gt;purchase&lt;/code&gt;, or a custom name), the events won't merge.&lt;/p&gt;

&lt;h2&gt;
  
  
  The checklist
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Count your pixels
&lt;/h3&gt;

&lt;p&gt;Before anything else, find out how many things are firing Meta events on the store. Common culprits:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The official Facebook &amp;amp; Instagram sales channel app&lt;/li&gt;
&lt;li&gt;A pixel snippet hard-coded into &lt;code&gt;theme.liquid&lt;/code&gt; by a previous developer&lt;/li&gt;
&lt;li&gt;A custom pixel added under &lt;strong&gt;Settings â†’ Customer events&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;A third-party tracking or reviews app that also "helps" with Meta&lt;/li&gt;
&lt;li&gt;Google Tag Manager containers with a Meta tag&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Use the Meta Pixel Helper browser extension on a product page and on the thank-you page. If you see the same pixel ID firing the same event twice from the browser, fix that first. CAPI de-duplication won't save you from two browser events.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Rule of thumb:&lt;/strong&gt; one source for browser events, one source for server events, and ideally both coming from the same integration so event IDs are generated consistently.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Check the data-sharing level
&lt;/h3&gt;

&lt;p&gt;Shopify's Meta integration offers data-sharing levels. The higher levels add server-side events through the Conversions API. Confirm which level is active and that it matches what you think is running. If server events come from a separate tool, make sure the Shopify integration isn't &lt;em&gt;also&lt;/em&gt; sending them.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Verify event IDs match
&lt;/h3&gt;

&lt;p&gt;In &lt;strong&gt;Events Manager â†’ Test events&lt;/strong&gt;, place a test order and watch the &lt;code&gt;Purchase&lt;/code&gt; event arrive. You want to see it received from both the browser and the server, then shown as de-duplicated. In the event details, check that both carry the same event ID.&lt;/p&gt;

&lt;p&gt;If only one source appears, your set-up is missing either the Pixel or CAPI. If both appear and aren't merged, the IDs differ.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Check value and currency
&lt;/h3&gt;

&lt;p&gt;Every &lt;code&gt;Purchase&lt;/code&gt; should send:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;value&lt;/code&gt;: the order value you want to optimise towards (decide whether that includes shipping and tax, and be consistent)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;currency&lt;/code&gt;: a valid ISO code that matches your store (&lt;code&gt;INR&lt;/code&gt;, &lt;code&gt;GBP&lt;/code&gt;, &lt;code&gt;AED&lt;/code&gt;â€¦)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Multi-currency stores deserve extra care. A store selling in GBP and AED must not report everything in one currency at the wrong value.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Look at Event Match Quality
&lt;/h3&gt;

&lt;p&gt;Server events are only useful if Meta can match them to people. Events Manager shows an Event Match Quality score per event. Improving it usually means passing properly hashed customer information (email, phone) where your privacy policy and consent set-up allow, plus the browser identifiers &lt;code&gt;fbp&lt;/code&gt; and &lt;code&gt;fbc&lt;/code&gt; so server events can be tied back to the ad click.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Respect consent
&lt;/h3&gt;

&lt;p&gt;In the UK and other regions with cookie and consent rules, your consent banner decides what may be collected. Whether the Pixel loads before consent, and what server events may include, are decisions for the merchant and their advisers, not for the ads team. What the ads team should do is understand the effect: fewer observed conversions means reported results understate reality, so targets and reports should account for it.&lt;/p&gt;

&lt;h3&gt;
  
  
  7. Reconcile weekly against Shopify
&lt;/h3&gt;

&lt;p&gt;Tracking that was correct last month can break after a theme update, a new app or a checkout change. Once a week, compare:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Shopify orders (excluding test and cancelled orders) for the period&lt;/li&gt;
&lt;li&gt;Meta-reported purchases for the same period and attribution setting&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;They'll never match exactly, because Meta attributes by click and view windows and Shopify counts every order. What you're watching for is a &lt;em&gt;sudden change&lt;/em&gt; in the ratio. That's usually a tracking problem, not a performance problem.&lt;/p&gt;

&lt;h3&gt;
  
  
  8. Test after every change
&lt;/h3&gt;

&lt;p&gt;Any theme publish, checkout customisation or new tracking app gets a test order and a check in Test events. It takes five minutes and saves weeks of optimising on bad data.&lt;/p&gt;

&lt;h2&gt;
  
  
  Market notes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;India:&lt;/strong&gt; COD orders count as purchases when they're placed, but many never become revenue. Consider tracking delivered orders separately in your reporting. More on how we handle this in &lt;a href="https://www.crponline.in/pages/facebook-ads-agency-india" rel="noopener noreferrer"&gt;Facebook and Instagram ads for Indian ecommerce brands&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;UK:&lt;/strong&gt; expect consent to reduce observed conversions, and plan targets with that gap in mind. See our notes on &lt;a href="https://www.crponline.in/pages/paid-social-agency-uk" rel="noopener noreferrer"&gt;paid social for UK ecommerce&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;UAE:&lt;/strong&gt; check currency carefully on stores that sell in AED alongside other currencies, and remember that some shoppers who see your ad will buy on a marketplace instead. More in &lt;a href="https://www.crponline.in/pages/meta-ads-agency-dubai-uae" rel="noopener noreferrer"&gt;Meta ads for Dubai and UAE ecommerce&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Quick reference
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[ ] Exactly one browser source of Meta events
[ ] Exactly one server (CAPI) source
[ ] Purchase event name identical on both
[ ] Same event ID on browser + server events
[ ] Test events shows Purchase de-duplicated
[ ] value + ISO currency correct (multi-currency checked)
[ ] Event Match Quality reviewed; fbp/fbc passed
[ ] Consent behaviour confirmed with the merchant
[ ] Weekly Meta vs Shopify ratio check
[ ] Test order after every theme/app/checkout change
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Clean tracking won't make a bad ad good. But it does mean that when you decide which ads, products and audiences deserve more budget, you're deciding on real data.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Written by the team at CRP Digital, an ecommerce growth agency in Jalandhar, India, working with brands in India, the UK and the UAE.&lt;/em&gt;&lt;/p&gt;

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