ienabellamy Posted November 5, 2012 Share Posted November 5, 2012 Hello ! i'll attach an image: i'm using this URLs, for 5 languages different /fr/index.php?controller=order-confirmation /en/index.php?controller=order-confirmation /it/index.php?controller=order-confirmation /es/index.php?controller=order-confirmation /de/index.php?controller=order-confirmation but it doesn't works. Because i'm using these urls for 1 month and i didn't record any conversion in my stats (i did 4-5 true purchases using another computer). Please someone can help ? Thanks ! Link to comment Share on other sites More sharing options...
ienabellamy Posted November 6, 2012 Author Share Posted November 6, 2012 nobody use conversion ??' come on guys, it's simply unbelievable..... i cannot believe..... Link to comment Share on other sites More sharing options...
kikbo Posted November 19, 2012 Share Posted November 19, 2012 (edited) To get google adwords conversions to work paste the following code into this url: your_prestashop_folder/themes/prestashop/order-confirmation.tpl <!-- Google Code for prestapurchase Conversion Page --> <script type="text/javascript"> /* <![CDATA[ */ var google_conversion_id = THIS INFO COMES FROM YOUR GOOGLE ADWORDS ACCOUNT. TOOLS->CONVERSIONS-CODE; var google_conversion_language = THIS INFO COMES FROM YOUR GOOGLE ADWORDS ACCOUNT. TOOLS->CONVERSIONS-CODE; var google_conversion_format = THIS INFO COMES FROM YOUR GOOGLE ADWORDS ACCOUNT. TOOLS->CONVERSIONS-CODE; var google_conversion_color = THIS INFO COMES FROM YOUR GOOGLE ADWORDS ACCOUNT. TOOLS->CONVERSIONS-CODE; var google_conversion_label = THIS INFO COMES FROM YOUR GOOGLE ADWORDS ACCOUNT. TOOLS->CONVERSIONS-CODE; var google_conversion_value = THIS INFO COMES FROM YOUR GOOGLE ADWORDS ACCOUNT. TOOLS->CONVERSIONS-CODE; /* ]]> */ </script> <script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js"> </script> <noscript> <div style="display:inline;"> <img height="1" width="1" style="border-style:none;" alt="" src="THIS INFO COMES FROM YOUR GOOGLE ADWORDS ACCOUNT. TOOLS->CONVERSIONS-CODE"/> </div> </noscript> If you get fancy with "var google_conversion_value" your shop may not work. At least for me, using paypal external credit card processing, trying to use a prestashop variable for the total purchase value just stopped the conversion from working. The reason for this was, after the credit card had been processed and the customer had returned from Paypal to my website, Prestashop had emptied the customers cart. Prestashop "did not remember" what the customer had purchase, so the variable was null, and it broke my google conversion code. Also please note that this works for prestashop 1.47 I don't know about other versions, however IT SHOULD! Edited November 19, 2012 by kikbo (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts