How can I remove an extra Facebook pixel from my website?

Topic summary

Issue: Multiple Facebook pixels fire on Shopify stores, causing duplicate tracking and inaccurate analytics. Many can’t find pixel code in theme.liquid despite documentation.

Likely causes:

  • Pixel added via apps (e.g., Kit, Facebook Marketing) that inject their own pixel; removed only by uninstalling the app.
  • Google Tag Manager adding a pixel (confirmed by one user as the fix).
  • Customizations in earlier theme versions embedding a pixel.
  • Code in Settings > Checkout > Additional Scripts (e.g., fbq(‘track’,‘Purchase’)) double-counting purchases.

Key guidance from support:

  • Use Online store > Preferences to add a single Pixel ID; don’t add pixel code in theme or Additional Scripts.
  • Use Facebook Pixel Helper on the live storefront (not Theme Editor) to verify how many pixels fire.
  • Preview a fresh, unedited theme to isolate whether theme customizations contain a pixel.
  • Review installed apps (even if not obviously Facebook-related); uninstall to remove injected pixels.
  • If duplicates persist, contact Shopify Support to audit apps/scripts with internal tools.

Outcomes/updates:

  • Resolutions included removing GTM pixel and identifying pixels in customized theme versions.
  • Some cases escalated via email/live support; others still report extra pixels (including a report of three pixels) and await resolution.

Status: No single universal fix; resolution depends on source (apps, GTM, theme, or checkout scripts).

Summarized with AI on January 12. AI used: gpt-5.

Hey, @Asgeir .

Thanks for confirming that you’re using the Pixel Helper.

If the pixel is not in your theme’s code, then it really sounds like it’s related to one of these apps; this situation is quite common and oftentimes, merchants will still have these apps installed, even though they aren’t actively using them. Although you have not used Kit or Facebook Marketing, do you have either of these apps installed? You can confirm by heading into Apps in your Admin. Merely having the Facebook Marketing app installed, for example, will automatically add another pixel to your store. This can only be removed by completely uninstalling the app. You can learn more about how Facebook pixels are added through the Facebook Marketing app here.

Please let me know if either app is installed in your store!