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.

Hello, thanks for the info on this thread.

If the code below sits in the “Additional Scripts” would this also mean that website purchases are double counted?

I’m seeing one unique purchase for every 2 website purchases in my reporting with the amounts initiated in checkout being accurate for the 2 sales.