Business Magazine

How to Setup Adwords Conversion Tracking with Prestashop

Posted on the 23 March 2015 by Parbindkumar

To get adwords conversion tracking code.

Login to google.com/adwords

Click on Tools >> Conversions

adwords conversions tracking prestashop

Fill the above fields.

After that you come to the following page:

adwords conversions

Copy the Adwords Conversion tracking code.

Now Login to Prestashop Ftp

Find this path :

themes/YOUR_THEME/order-confirmation.tpl

Put code you get from adwords at the end of order-confirmation.tpl file.

<script type=”text/javascript”>

   /* <![CDATA[ */
{literal}
   var google_conversion_id = X;
   var google_conversion_language = "en";
   var google_conversion_format = "2";  
   var google_conversion_color = "ffffff";  
   var google_conversion_label = "AAAAAAAAAAAAAAAAAAA";  
   var google_conversion_value = 0;
{/literal}
   /* ]]> */
   </script>
   <script type="text/javascript" 
  src="//www.googleadservices.com/pagead/conversion.js">
   /script>
   <noscript>
   <div style="display:inline;">
   <img height="1" width="1" style="border-style:none;" alt="" 
  src="//www.googleadservices.com/pagead/conversion/123456789/
  ?label=AAAAAAAAAAAAAAAAAAA&guid=ON&script=0"/>
   </div>
   </noscript>

Remember to include {literal} just after 

<script type="text/javascript"> 

 /* <![CDATA[ */

and after

 var google_conversion_value = 0;  

include {/literal}

Thanks
Parbind

If you are still facing issue then please mail to [email protected]


Back to Featured Articles on Logo Paperblog