Shopify Trekkie loading extra tracking Pixels

Topic summary

Shopify’s Trekkie (built‑in analytics loader) is injecting duplicate trackers (Facebook Pixel, Google Analytics UA, Google Ads) even after removing hardcoded tags and consolidating tracking via Google Tag Manager. Two Facebook Pixel IDs often appear in Trekkie; removing the ID in Online Store > Preferences removes only one, while the second persists. Duplicates are confirmed via DevTools, Google Tag Assistant, and Facebook Pixel Helper.

Likely causes:

  • Third‑party apps and sales channels injecting pixels via content_for_header (e.g., Facebook app/Sales Channel, Instagram, Shopify Kit, leftover app code).
  • Pixels may remain after disconnecting; full app removal is sometimes required.

Reported fixes/workarounds:

  • Uninstall Facebook app/Sales Channel; uninstall Shopify Kit; delete stale apps. Several users report this removes the extra Facebook pixel.
  • Google Sales Channel: disconnect Google Ads to stop extra Trekkie events (while keeping product feed to Merchant Center).
  • Remove the GA code in Online Store > Preferences to stop Trekkie from loading UA.
  • Inspect content_for_header and use FB Pixel Helper to trace sources.
  • Older hack (filtering content_for_header to replace specific pixel IDs) worked briefly but multiple users report it no longer works, and Thank You page pixels can persist.

Status: No official Shopify control; resolution depends on removing/integrating apps correctly. Discussion remains partially unresolved.

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

as of this writing. I resolved this by going to the Google Sales Channel, disconnecting the google ads account. I guess the connected google merchant center should have the google ads conntected to it already. I’m just using the Google Sales Channel to provide data feed to Google Merchant Center and nothing else so disconnecting the Google Ads wont hurt at all but will resolved the added events on trekkie.load.