Hi, I just added the following script the head, published the site and now no content is displayed. Could anyone take a look, please?
Here is the pixel:
Hi, I just added the following script the head, published the site and now no content is displayed. Could anyone take a look, please?
Here is the pixel:
Images cannot go in the page head.
Hi, I have another facebook pixel code in another page and it’s working perfectly. Any other suggestion?
I don’t know why when I paste the whole script, only the img code appears.
Here you go ![]()
<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', '449311941926383');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=449311941926383&ev=PageView&noscript=1"
/></noscript>
<!-- End Facebook Pixel Code ->
The script is broken. Please copy the script from Facebook exactly as it is without modifications.
Hi @samliew this works? let me know.
No, pixelgeek was just trying to format your code, which I mentioned is invalid. Go copy the code again from Facebook.
I already tried and when I paste it here, it shows only this:
Please provide a screenshot of where you are copying the code from.
You need to re-copy everything including the start and end comment from Facebook, paste into the footer code of the project, then republish.
DO NOT insert or modify anything!
