Help! Shopify Is Still Loading My Facebook Pixel Even Though I've Removed It From The Native App

Steps to troubleshoot when your Facebook Pixel is still cached in Shopify's Trekkie Load.

Scenario Overview

After integrating Facebook tracking via Google Tag Manager (GTM) and removing your Facebook Pixel from the native Facebook App, you may encounter an issue where duplicate events are being fired. This problem typically arises when Shopify’s internal cache still includes your Facebook Pixel tracking code, despite its removal from the app.

The Issue:

  • If you inspect the page source and search for "Facebook Pixel," and find your Pixel ID present, it indicates that Shopify has cached the Facebook Pixel in its Trekkie Load, causing duplicate event firing.
    • (See Figure 1)

Figure 1

Troubleshooting Steps

Below are some troubleshooting options if this is happening in your store:

Option A: Enable the Facebook Pixel Tracking in App and then Disable it again.

  • In your Facebook Sales Channel App, navigate to Settings.
  • Once in the settings locate and click on the "Data Sharing" settings. Toggle the switch next to Enable Tracking.
  • Select "Connect" button that is located next to your Facebook Pixel.
  • Now, to disable the tracking, start by selecting the "Disconnect" button next to your Facebook Pixel.
    • Toggle the switch next to Enable Tracking so that it's off.
  • View your website in an incognito window & see if you can find your Facebook Pixel in your source code.
  • If you can't, then you've successfully uncached your Facebook Pixel from Shopify! If you can, continue down to Option B.
    • (See Figure 2)

Figure 2

Option B: Remove the Facebook Shopping Channel, Re-install it, and then Disable the Facebook Pixel in App

  • In your Shopify Admin, navigate to Settings.
  • Once in the settings locate and click on the "Sales Channels" button.
    • Select the "Remove" button next to Facebook.
    • Next, to re-install the Facebook Sales Channel, select "Add Sales Channel".
    • Find Facebook and press the green plus button to install the Facebook Sales Channel.
    • Walk through the steps to re-setup the Facebook Sales Channel including connecting your Facebook Pixel.
  • Finally, to disable the Facebook Pixel in the Facebook Sales Channel, navigate to Settings and then the "Data Sharing" Settings.
    • Select the "Disconnect" button next to your Facebook Pixel.
    • Toggle the switch next to Enable Tracking so that it's off
  • View your website in an incognito window again & see if you can find your Facebook Pixel in your source code.
  • If you can't, then you've successfully uncached your Facebook Pixel from Shopify! If you can, continue down to Option C.
    • (See Figure 3)

Figure 3

Option C: Pause your GTM Facebook Tags and Contact Shopify Support.

  • In Google Tag Manager Account, navigate to Tags.
  • Search for Facebook > Select all your Pre-Built Facebook tags > Select the pause icon.
  • Publish these changes by selecting Submit > then Publish in GTM.
  • Contact Shopify's Support Team about your Facebook tracking still loading from the Shopify Trekkie.