ismaelhaider Posted May 14, 2015 Share Posted May 14, 2015 Hi, I want to add Conversion Tracking for Facebook in my prestashop, I am not sure in which file i need to add, Can someone tell me the filename so I can add these code Custom Audience Tag Conversion Tracking for Facebook Thanks Link to comment Share on other sites More sharing options...
sieunhommua Posted June 30, 2015 Share Posted June 30, 2015 I add to file "order-confirmation.tpl" but not active. hix Link to comment Share on other sites More sharing options...
vekia Posted June 30, 2015 Share Posted June 30, 2015 please note that some payment modules have got own order confirmation page this means that you have to alter these modules code too. Link to comment Share on other sites More sharing options...
sieunhommua Posted July 1, 2015 Share Posted July 1, 2015 This example. Method payment. Please help me! <!-- Facebook Conversion Code--> <script>(function() { var _fbq = window._fbq || (window._fbq = []); if (!_fbq.loaded) { var fbds = document.createElement('script'); fbds.async = true; fbds.src = '//connect.facebook.net/en_US/fbds.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(fbds, s); _fbq.loaded = true; } })(); window._fbq = window._fbq || []; window._fbq.push(['track', '123456789012', {'value':'0.00','currency':'VND'}]); </script> <noscript><img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/tr?ev=123456789012&cd[value]=0.00&cd[currency]=VND&noscript=1" /></noscript> Link to comment Share on other sites More sharing options...
Recommended Posts