Guides
Meta pixel firing twice on Shopify: why it happens and how to fix it
If Ads Manager shows more add-to-carts or checkouts than your store had, your pixel is probably sending the same event twice. Meta counts both, so your results look better than they are and the ads learn from numbers that aren't real.
How to tell
- Meta's Pixel Helper extension shows the same event (for example
AddToCart) twice after one click.
- In Events Manager, the event count for add to cart or initiate checkout is far above what Shopify shows for the same days.
- A Pixelrun check shows the event with
×2 or ×3 in red.
Why it happens on Shopify
Meta only merges two copies of an event when they carry the same event ID. Two separate setups each make their own ID, so both are counted. The common pairs:
- The Facebook & Instagram app plus code in the theme. Someone pasted the pixel into
theme.liquid before the app was installed, and nobody removed it.
- The app plus a custom pixel. A pixel added under Settings → Customer events sends the same events the app already sends.
- The app plus Google Tag Manager. A Meta tag in GTM fires alongside the app.
- Two pixel IDs. An old agency's pixel is still installed next to yours. That isn't double counting in one account, but someone else is getting your data.
Find out in about two minutes
How to fix it
- Pick one source for Meta events. On Shopify that is usually the Facebook & Instagram app.
- Search your theme code (Online Store → Themes → Edit code) for
fbq( and connect.facebook.net, and remove the old snippet.
- Open Settings → Customer events and remove any custom pixel that sends Meta events the app already sends.
- If you use Google Tag Manager, pause the Meta tags there.
- Check again, and confirm each event arrives once.
Make one change at a time and check after each. That way you know which setup was the extra one.