Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Order Total for google ad conversion script  (Read 4459 times)

Offline jesus_automatic

  • Jr. Member
  • **
  • Posts: 75
  • Karma: +5/-0
    • View Profile
Order Total for google ad conversion script
« 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)?

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: Order Total for google ad conversion script
« Reply #1 on: January 09, 2014, 11:35:26 AM »
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

Offline jesus_automatic

  • Jr. Member
  • **
  • Posts: 75
  • Karma: +5/-0
    • View Profile
Re: Order Total for google ad conversion script
« Reply #2 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!

 

Powered by SMFPacks Social Login Mod