I’m using the pixel checker, I can’t actually post an image on here I don’t think otherwise I would show you what it’s saying.
This is the code for page view that I have added to the script part of the plugin. I copied it directly from Facebook so i don’t see a reason why I shouldn’t work.
<!– Facebook Pixel Code –>
!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’, ‘pixelcodehere’);
fbq(‘track’, ‘PageView’);
![]()
<!– End Facebook Pixel Code –>
This is the script that im using to track the button press conversions. I have used this code previously on mulitiple websites and it has worked no problem.
<script type=”text/javascript”>
jQuery( ‘.giveasap_button’ ).click(function() {
fbq(‘track’, ‘AddToCart’);
});
</script>
The code changes to the scrip underneath when saved.
jQuery( ‘.giveasap_button’ ).click(function() {
fbq(‘track’, ‘Giveaway Entered’);
});
If you have the pixel checker installed maybe you can check the errors for yourself. I have made a test giveaway here:
If necessary i can give you some login details so you can look at the back end ??