Remove Old Facebook Pixel ID

New Member
2 0 1

I converted my shop to a new niche, so I needed a new Facebook Pixel. But now that I created a new one, non of them work. I believe the problem lies in the code. How can I remove the code of my old Facebook Pixel. Please I need help.

 

0 Likes
Shopify Expert
328 10 46

You can usually go to Online Store > Preferences and find it there.

If it was hard-coded into the theme, it should be in your theme.liquid file. In that case open that up and search "fb" to locate the script and remove. (Or comment it out first if you're not sure)

Founder of Speed Boostr - we make Shopify sites faster.
Analyze your site at analyze.speedboostr.com.
I also build custom apps, systems, and automated solutions.
Enjoy the adventure!
1 Like
New Member
2 0 1

Thank you for your response. But I already checked the "theme.liquid" file and I didnt find any fb scripts. It is very frustrating, because of the old fb-pixel I cant avertise, my new fb- pixel doesnt collect no data.

1 Like
New Member
2 0 0

Any update on this? I'm having the same issue

0 Likes
Highlighted

What is your store? When you view the source code, where is it inserted? It's probably in another file other than theme.liquid.

Run Google Shopping ads? Get the free definitive guide to Google Shopping for Shopify (no optin required): https://www.digitaldarts.com.au/google-shopping
0 Likes
New Member
2 0 0
Hi Josh, mi store is happy-heimat.myshopify.com. I haven’t found any of the pixels in any other file. If you could help me I would really appreciate it.

Thanks
0 Likes
New Member
1 0 0

Hi Josh,

 

I'm having the same problem (proflacasse-boutique.com or https://prof-lacasse-shop.myshopify.com). I have inserted by mistake an additional Facebook pixel and can't delete it. I've searched it in every code page. How can I remove the extra one (27089xxxxxxxxxx).

Thanks!

Serge

0 Likes