Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1059267
    Jeremy P
    Participant

    I 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 more

    View Event Log

    Frame: IFrame
    Pixel Code: fbq(‘track’, “PageView”);
    Pixel ID: 482251681967209
    Pixel Location: http://smartnutrition.ca/iquitovereating

    #1059477
    Rad
    Moderator

    Hi 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 into n.version='2.0';

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-1059267 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>