Questions/AnswersFacebook Pixel Pro
jerome asked 7 years ago

I just bought facebook pixel pro and not working on add to cart I was thinking this plug in will make my life easy but starting now i very anoying i have many add runnings on fb and can not check the result
I would like appreciate your help soon as possible
thank you

8 Answers
jerome answered 7 years ago

wordpress last updated with woccommerce

jerome answered 7 years ago

this is the code in general pixel

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

 
this is the code in product pixel
 

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

 
this is the code in purchase

<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’, ‘1969845839897199’);
  fbq(‘track’, ‘PageView’);
fbq(‘track’, ‘Purchase’, {
content_type: ‘product’,
content_ids: [‘ID’],
content_name: ‘[PRODUCT NAME]’,
value: [PRICE],
currency: ‘[CURRENCY]’
});
</script>
<noscript><img height=”1″ width=”1″ style=”display:none”
  src=”https://www.facebook.com/tr?id=1969845839897199&ev=PageView&noscript=1&#8243;
/></noscript>

jerome answered 7 years ago

this is the code in product pixel
 
<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’, ‘1969845839897199’);
  fbq(‘track’, ‘PageView’);
bq(‘track’, ‘ViewContent’, {
content_type: ‘product’,
content_ids: [‘ID’],
content_name: ‘[PRODUCT NAME]’,
value: [PRICE],
currency: ‘[CURRENCY]’
});
</script>
<noscript><img height=”1″ width=”1″ style=”display:none”
  src=”https://www.facebook.com/tr?id=1969845839897199&ev=PageView&noscript=1&#8243;
/></noscript>

NsThemes Staff answered 7 years ago

I jerome,

thank you for contact us, can you send us your admin access at info[at]nsthemes[dot]com ?

Regards

jerome answered 7 years ago

ok already sent you all the details 🙂