All guides
Duplicates

Meta pixel firing twice on Shopify: duplicate events and deduplication

Updated November 22, 2026

Meta Events Manager showing two purchases for one order, or a warning about deduplication, means Meta is receiving the same event from more than one place and can't tell they're the same.

There are two separate problems that look alike: the pixel itself being loaded twice, and browser plus server events that aren't deduplicated.

Problem 1: the same pixel is loaded twice

The same pixel ID runs from two sources on your storefront. Common examples on Shopify:

  • The Facebook & Instagram app plus fbq() code in theme.liquid.
  • The Facebook & Instagram app plus a Meta tag in Google Tag Manager.
  • A custom pixel in Customer events plus another app sending the same pixel.

Meta cannot deduplicate these, because neither copy knows about the other. Each page view and add-to-cart is counted twice. The fix is to keep one source and remove the rest.

Problem 2: pixel and Conversions API without deduplication

Sending the same event from the browser (pixel) and from a server (Conversions API) is what Meta recommends, because the server copy still arrives when the browser one is blocked. Meta merges the two when both have the same event name and the same event ID, and they arrive within 48 hours of each other.

If the event IDs don't match, or one side sends no ID at all, Meta keeps both and your purchases are doubled.

How to check in Events Manager

  1. Install the Meta Pixel Helper Chrome extension and open your store. If it shows the same pixel ID twice, or reports that the pixel fired more than once for one action, you have problem 1.
  2. In Events Manager, open your dataset (pixel), then Test events. Browse your store and add something to the cart. Each action should appear once per source (Browser and Server), marked as deduplicated.
  3. Open the Overview tab and click Purchase. Meta shows how many events were received from browser and server and whether deduplication worked.
  4. Check Diagnostics for warnings about missing or mismatched event IDs.

How to fix it

  • Keep one browser source for each pixel ID. Remove fbq() code from the theme and Meta tags from GTM if an app already sends the pixel.
  • Use one tool for both browser and server events, so it can give both copies the same event ID.
  • If you run the Facebook & Instagram app and a separate Conversions API tool for the same pixel, make sure they aren't both sending server purchases.
  • Remove old pixels you no longer advertise with.

How TrakIt handles it

TrakIt sends the browser pixel event and the Conversions API event with the same event ID, so Meta counts each one once. Purchases come from your Shopify order data, with customer details matched in Meta's required format to improve match quality.

Questions

Is it bad to send events from both the pixel and the Conversions API?

No, Meta recommends it. It only causes duplicates when the two copies don't share the same event name and event ID.

What does "deduplicated" mean in Events Manager?

Meta received the same event from browser and server and kept only one, because their event name and event ID matched.

Why does Pixel Helper show my pixel twice?

The same pixel ID is loaded by two pieces of code, often an app and theme code, or an app and Google Tag Manager. Remove one.