Facebook pixel error break my website 😑

tofayelamin

Active member
Jul 1, 2020
285
68
28
Hello expert, I have make an ecommerce website using active ecommerce cms. Today when I was insert Facebook pixel JavaScript code then my website was break. The site don't show any content. Please help me 😥😥
 

alexmisaila

Legend member
Trusted Uploader
May 9, 2020
1,137
919
133
⭐⭐⭐⭐⭐
Hello expert, I have make an ecommerce website using active ecommerce cms. Today when I was insert Facebook pixel JavaScript code then my website was break. The site don't show any content. Please help me 😥😥
Just use FTP to go on the edited file, delete that code and refresh the file.
If you don't know what's the edited file, just download (using FTP) all the content on your PC, then use Notepad++ to search the facebook pixel code, something like:
Code:
<!-- Facebook Pixel Code -->
Code:
src="https://www.facebook.com/tr?id=
And when you find something like this, just delete it and reupload the file on your server
Code:
<!-- Facebook Pixel Code -->
<script>
  !function(f,b,e,v,n,t,s)
  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
  n.callMethod.apply(n,arguments):n.queue.push(arguments)};
  if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
  n.queue=[];t=b.createElement(e);t.async=!0;
  t.src=v;s=b.getElementsByTagName(e)[0];
  s.parentNode.insertBefore(t,s)}(window, document,'script',
  'https://connect.facebook.net/en_US/fbevents.js');
  fbq('init', '{your-pixel-id-goes-here}');
  fbq('track', 'PageView');
</script>
<noscript>
  <img height="1" width="1" style="display:none"
       src="https://www.facebook.com/tr?id={your-pixel-id-goes-here}&ev=PageView&noscript=1"/>
</noscript>
<!-- End Facebook Pixel Code -->
 
  • Like
Reactions: tofayelamin

tofayelamin

Active member
Jul 1, 2020
285
68
28
Bro, i'm tired to find the facebook pixel file But don't find. please can you help me?
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu