How Can I Determine the Source of a Mysterious Facebook Pixel Script on My E-Commerce Site?

0
8
Asked By CuriousCoder92 On

I'm new to this and recently encountered an unsettling situation with my webshop engine provider. I found a script in my website's HTML that looks like it's linked to Facebook: `<script src="https://connect.facebook.net/signals/config/....`.

To give you some background: I'm running an e-commerce webshop, and the code is locked for users, only developers can modify it. I've been using Google Tag Manager (GTM) for both server-side and client-side tracking, and I deleted my Facebook pixel in the admin section, but the script is still appearing in my site's head section right before the GTM inclusion.

I noticed that even after turning off GTM, the script persists. I tested another webshop with the same engine, and the same Facebook script also appears there. I have not used any additional plugins or custom scripts, only GTM and Cookiebot.

I reached out to my developers, but they denied that any of their backend services are responsible for this code. I'm concerned about the implications for my tracking accuracy and GDPR compliance. Can anyone help me figure out how such a script might be injected into my website's code?

1 Answer

Answered By EcommerceGuru1 On

It looks like that's the Facebook pixel configuration script. Many e-commerce platforms and cookie consent plugins automatically inject it when you enable Facebook or Instagram tracking. If you didn't add it yourselves, check to see if your theme or any marketing plugins are adding it in your settings. If you're running Facebook ads, you might want to keep it since it's part of the tracking code.

ShopperSage77 -

I run Facebook ads too, and I set up GTM specifically to manage that. I don't need the pixel config script since I'm using Facebook tags in GTM. But my other webshop with the same setup still has this script, and I didn't set up Cookiebot or GTM there. It seems odd, could it be a bug with my webshop code?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.