Questions/AnswersCategory: Facebook Pixel - PluginInstalled & activated the plugin & bough premium – it does not work
Gerald asked 7 years ago

I have no idea why, but your plugin does not seem to do what it is supposed to do. No pixels were found. Premium version does not seem to work. How do we fix this? http://www.fearlessdemocracy.org

11 Answers
NsThemes Staff answered 7 years ago

Hi Gerald,
thank you for contact us.
Can you send us a screenshot of the code that you put in the plugin option?
What version of WordPress are you using?
 
Best Regars

Gerald answered 7 years ago

Hi,
the WP version is 4.8.2.
The code is 

<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&#8217;);
fbq(‘init’, ‘1145451228852511’);
fbq(‘track’, ‘PageView’);
</script>
<noscript><img height=”1″ width=”1″ style=”display:none”
src=”https://www.facebook.com/tr?id=1145451228852511&ev=PageView&noscript=1&#8243;
/></noscript>

NsThemes Staff answered 7 years ago

Hi Gerald,
 
the problem seems to be in characters:
just replace ″ with ” and ’ with ‘
 
Best regards

Gerald answered 7 years ago

Well, this is the official FB code. Here in Germany we use ” instead of ‘. Why should FB present a wrong code by default?

Gerald answered 7 years ago

Hello?