Dynamic Facebook DPA Ads in Prestashop

Good morning,
I need to implement View Content, Add to Cart and Purchase tracking pixels for Facebook Dynamic Ads (DPA) in a Prestashop store.
The problem is that I can’t find the prestashop variables “ID_PRODUCT”, “VALUE” to replace them in the facebook code, everything I’ve tried gives me an error in Pixel Helper

This is the code that they gave me for ViewContent:

!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=”https://www.webcompany.com/forum/questions-about-prestashop/v;s=b.getElementsByTagName(e);s.parentNode.insertBefore(t,s)}(window,
document,’script’,’https://connect.facebook.net/en_US/fbevents.js’);

fbq(‘init’, ‘193************’);
fbq(‘track’, “PageView”);

fbq(‘track’,’ViewContent’,{content_ids: , content_type: ‘product’});

Site URL: Content only visible to registered users

Quote

Answered : 08/11/2017 11:35 am

See also  Guidance on MEDIA SERVERS (USE ONLY WITH...
Loading Facebook Comments ...
Loading Disqus Comments ...