Hi there,

I am trying to create a Facebook Javascript code to gather users for a dynamic targeting ad. I have implemented the code on our site however, when using the Facebook Pixel Helper Tool it returns a "View Content" Error. See screenshot here: -pic1-jpg

We have implemented the adjusted code but it looks as if there are still issues. I'm guessing the fix will be an easy one? The revised code is implemented on this page: https://store.generationucan.com/products/barboxmulti

I have attached the code below. Any thoughts as to what might still be causing the issue? Thanks so much!

CODE:

---------------------------
<head>
<!-- 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', '1566533330266268'); // Insert your pixel ID here.
fbq('track', 'PageView');

fbq('track', 'ViewContent', {
product_catalog_id: 324938401209154,
content_type: 'product',
content_ids: ['814302017006'],
value: 20.00,
currency: 'USD'
});

</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=1566533330266268&ev=PageView&noscript=1"
/></noscript>
<!-- DO NOT MODIFY -->
<!-- End Facebook Pixel Code -->
</head>