Tagged: x
-
AuthorPosts
-
June 25, 2016 at 9:04 am #1059267
Jeremy PParticipantI have tried to place a facebook tracking pixel on a page, but have had little success. I currently get this message:
1 pixel found on smartnutrition.ca
1 error
Facebook Pixel did not load.
Event ID: PageView
The Facebook pixel code on this page didn’t load, so no information was sent to Facebook.Learn moreView Event Log
Frame: IFrame
Pixel Code: fbq(‘track’, “PageView”);
Pixel ID: 482251681967209
Pixel Location: http://smartnutrition.ca/iquitovereatingJune 25, 2016 at 4:21 pm #1059477
RadModeratorHi there,
Thanks for writing in.
Your embed code has a wrong single quote.
<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', '482251681967209'); fbq('track', "PageView");</script> <noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=482251681967209&ev=PageView&noscript=1"/></noscript>This one
n.version='2.0′;is the culprit, please change it inton.version='2.0';Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1059267 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
