Articles on: Omnitrack (Pixel Tracking)
This article is also available in:

How to disable or remove a pixel from your Shopify store

When you setup your Facebook account in Facebook channel on Shopify, a Facebook pixel can be added, then you need to remove this pixel code on Shopify if you have added the same pixel ID in OmniTrack app. If you don't remove the pixel code, then your store will have more than one pixel on it, which can result in duplicate or incorrect data in your reports.

There are 3 possibilities you added the pixel ID on Shopify, please check your case and remove it:

Scenario 1: You have added the same pixel ID in the Shopify Facebook Channel.

In this case, you need to disconnect the pixel connection. Here are the specific steps:

Step 1: Go to your Shopify admin > Sales channels > Facebook & Instagram.

Step 2: Click on the "Change" button as shown in the screenshot below.

Step 3: Turn off data sharing as shown in the screenshot below, and then click the "Save" button in the lower right corner of the pop-up window.

Scenario 2: You have added same pixel ID in Shopify preference

Please go to Shopify Preference and check whether you are putting the same pixel ID there, if yes, please delete it.

Note: Turning off data sharing simply means that event data will no longer be sent to that Pixel. It will not affect your existing Facebook catalog. Please proceed with confidence.

Scenario 3: Code snippets containing the Pixel ID are added in your store's template code. If so, please locate and remove them.

Here's how to search for them:

In the Shopify Admin, click on "Online Store" >> "Themes."
Click the "Edit Code" button as shown in the screenshot below.
In the Theme.liquid file, check if there are any code snippets that include the Pixel ID. If you find any, please delete them.
If you're unsure whether a piece of code can be deleted, you can also contact us for assistance.

The code snippet example as provided below with the content highlighted in red, should be deleted as follows:

Apart from the three mentioned scenarios, there might be other instances where tracking codes were added. While we won't provide specific examples for each case, we've outlined the most common scenarios. If you've addressed the three mentioned scenarios and still face Pixel tracking issues, please contact us.

Updated on: 19/10/2023

Was this article helpful?

Share your feedback


Thank you!