AbanteCart Community

Shopping Cart Operations => Support => Topic started by: jesus_automatic on January 08, 2014, 12:18:25 PM

Title: Order Total for google ad conversion script
Post by: jesus_automatic on January 08, 2014, 12:18:25 PM
I am setting up Google Ad conversion tracking, by inserting code in
/storefront/controller/pages/checkout/success.php
Firstly is that the correct place.
Secondly I want to return the total value. My guesswork has led me to the expression <? echo $order_total ?>
Am I getting close? If not, what do I need)?
Title: Re: Order Total for google ad conversion script
Post by: eCommerce Core on January 09, 2014, 11:35:26 AM
Check this file in 1.1.8 branch
https://github.com/abantecart/abantecart-src/blob/169f4e69c709bbc0547952686e5716cb7884901d/public_html/storefront/controller/pages/checkout/success.php

There is analytic that does tracking. Hope this will help
Title: Re: Order Total for google ad conversion script
Post by: jesus_automatic on January 09, 2014, 02:40:05 PM
Thanks, that is what I needed. I think I have it working in spite of Googles automatically generated js being wrong.
Anyone else struggling with this, I suggest speaking to google adword technical support. They were surprisingly helpful!