470,863 Members | 1,250 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,863 developers. It's quick & easy.

How to add Meta Pixel HTML code in Blogspot?

1
Hello everyone!
Need some help here...
I tried to add Meta Pixels Code in Blogspot just above the <head> tag, everytime it says,"Your theme couldn't be parsed, as it isn't well-formed. Please make sure that all XML elements are closed properly. <br/> XML error message: The reference to entity "ev" must end with the ';' delimiter.
Error 400

Please fix the problem.
This is the Pixels Code
Expand|Select|Wrap|Line Numbers
  1.  <!-- Meta Pixel Code -->
  2. <script>
  3. !function(f,b,e,v,n,t,s)
  4. {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
  5. n.callMethod.apply(n,arguments):n.queue.push(arguments)};
  6. if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
  7. n.queue=[];t=b.createElement(e);t.async=!0;
  8. t.src=v;s=b.getElementsByTagName(e)[0];
  9. s.parentNode.insertBefore(t,s)}(window, document,'script',
  10. 'https://connect.facebook.net/en_US/fbevents.js');
  11. fbq('init', '364816722296295');
  12. fbq('track', 'PageView');
  13. </script>
  14. <noscript><img height="1" width="1" style="display:none"
  15. src="https://www.facebook.com/tr?id=364816722296295&ev=PageView&noscript=1"
  16. /></noscript>
  17. <!-- End Meta Pixel Code -->
May 25 '22 #1
0 6932

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

10 posts views Thread by Howard Kelley | last post: by
1 post views Thread by Maziar Aflatoun | last post: by
3 posts views Thread by Craig Kenisston | last post: by
4 posts views Thread by Ganesh Muthuvelu | last post: by
7 posts views Thread by Bob | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.