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.

Thanks for the update, @ericcoh .

Is the pixel in the Preferences section of your admin, or is it in your theme’s code? Also, which theme are you using? It looks like you are using a third-party theme and this could very well be a theme-related issue.

Lastly, have you made sure that the pixel ID in your events manager matches the pixel ID that you’ve added in Shopify?