Options

Facebook Pixel

psenior1psenior1 Registered Users Posts: 125 Major grins
edited January 28, 2021 in SmugMug Customization

Not sure if I'm missing something, but I've been asked by our marketing guy to add the code for a Facebook Pixel to my SM site. I've seen a through a search that this previously wasn't allowed, is this still the case or is there another way of doing it?

the FB 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', 'nnnnnnnnnnnnnnn');
  fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
  src="https://www.facebook.com/tr?id=nnnnnnnnnnnnnnnn&ev=PageView&noscript=1"
/></noscript>
<!-- End Facebook Pixel Code -->
website - http://www.snrmac.com
facebook - my facebook page please LIKE me!

Comments

Sign In or Register to comment.