Removing 1 facebook pixel

MirceaDanBiz
Tourist
7 0 1

I have accidentally added 2 facebook pixels to my website and wanted to remove one of them. I looked up the information for deleting the facebook pixel, but the documentation says to go into theme.liquid and search the code in the <head></head> tag, but there is no facebook pixel code there. I have added the code through Facebook, not manually and I am using the venture theme.

Replies 31 (31)
anna-s
Tourist
3 0 1

Hi Julie!

 

This was really helpful, thanks so much for getting back to me. The pixel that is firing is the pixel that is currently associated with our ads account. I previewed the original version of our theme and the pixel did not fire, however in the very first customized version we have it did. I'm not sure if this means when our customization was done it was added somewhere, or if this was around the same time that we added an app that uses our pixel. I will reach out to the live support team and see if we can rule out the apps!

 

Thanks again for your help!

- Anna 

eduard04
New Member
2 0 0

Hi Julie, I'm having the same issue. I saw 2 active pixel on my store and i don't know what is the effect of it when I run Ads. Please check my store ebarleymona.com

Julie
Shopify Staff
1103 105 299

Hey, @eduard04!

Thanks for sharing the link to your store. I'm also seeing two pixels firing on your website. To confirm, have you added your Facebook Pixel in Online store > Preferences, following these instructions?  Also, have you added a pixel in your theme's code?

As mentioned above, if you're seeing an extra Facebook pixel you don't recognize, and it is not in your theme's code, the pixel was likely added through an app on your shop. Do you have either the Kit and Facebook Marketing apps installed? Both of these apps will inject a pixel associated with your Ad Account and this pixel is only removed once the app is deleted from your store.

Have you tried previewing an unedited theme to see if the extra pixel still fires there? You can do this in Online store > Themes and scrolling down to your Theme Library, where you'll see your unpublished theme. Next to any theme there, please select Actions > Preview. When previewing your theme, you'll be able to use your Pixel Helper to see if there are any duplicate pixels there. 

If you do see the extra pixel still there, then this is likely related to an app. Let me know what you see in an unedited theme! It would also be helpful if you can let me know which apps you currently have installed so we can rule out any apps being the potential cause. 

Looking forward to your update!

Julie | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

eduard04
New Member
2 0 0
Thank you for your reply Julie, I cant remember that I added facebook
pixel, I might done it before but I couldn't remember?

I already remove Kit and check the unpublished theme Preview. I still saw
two Pixel.
Julie
Shopify Staff
1103 105 299

Thanks for confirming, @eduard04.

I'd like to take a deeper look into this on my end and dig into some of the apps you have installed. I've just gone ahead and sent an email to the email address associated with your Community Forums account. Let's connect there so we can run through some further troubleshooting steps.

Chat soon!

Julie | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Jimi1032
New Member
1 0 0

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.

<script>

  fbq('track', 'Purchase');

</script>

Screen Shot 2020-06-17 at 4.20.27 pm.png

 

Julie
Shopify Staff
1103 105 299

Hey, @Jimi1032.

The only place your pixel ID should be is in the Facebook Pixel account section in Online store > Preferences. The Additional Scripts field in Settings > Checkout is intended to be used for any customizations that you'd like to have appear on the order status page of the checkout. 

Adding your pixel ID in the intended field will automatically track the 6 standard events, including the Purchase event, which occurs when a customer completes a purchase and views the order status page in the checkout. Because the Additional Analytics field is meant for the order status page, this is very likely why you are seeing inaccurate data and why purchases are being counted twice. 

Is there a reason why you added the pixel ID in the Additional Scripts field as well?

Julie | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

aludream
Tourist
7 0 1

Hi, Julie,

I'm having the same issue. I saw 2 active pixel on my store.

I spend half hour to read all your conversation with those shopify friends about this issue

but I did not find solution

I do not mind if the pixel is from a app or not, whatever the second pixel is from, it does not matter 

I only need to delete the second pixel

can you simple tell me how to delete the second pixel from shopify.

I ready shopify help document in this link https://help.shopify.com/en/manual/promoting-marketing/analyze-marketing/facebook-pixel#remove-faceb...

but there is no Facebook pixel code between the <head> and </head> tags  

this is the problem that the first person who asked at beginning, 

but no solution so far

 

aludream
Tourist
7 0 1

by the way, my shop is a new shop, I did not install any app related to facebook, so I think my pixel is not from any app

aludream
Tourist
7 0 1

and the second pixel is manually added by myself at preferences

, definitely the pixel is not added by a app, so I no need to uninstall any app