X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Google code (https://forum.x-cart.com/showthread.php?t=42653)

TradeStuff 09-28-2008 09:17 PM

Re: Template Editing Guide
 
I want to put Google Adwords code into customer/main/order_message.tpl

I managed to put the code but what should be the variable I should assign for the conversion value?

I tried "{$order.order.total}" , {$order.order.total} and $order.order.total.

Seems there is no value coming through am I using the right variable?

thanks

balinor 09-29-2008 04:11 AM

Re: Google code
 
Moving this to its own thread. It isn't as simple as plugging in the code I'm afraid, read this thread:

http://www.websitecm.com/news/x-cart-google-adwords-conversion-tracking/

markcrobinson 12-20-2008 04:57 AM

Re: Google code
 
This thread has been down for some time.
I would very much appreciate some complete (one-stop) guidance on this:

A) In Which file to put the conversion tracking code in?
I believe it is skin1/customer/main/order_message.tpl.
Where, in the file should it be placed?

B) Is it correct that it needs to be surrounded by {literal} {/literal} tags to keep the smarty system from compiling it?

C) When working correctly, should there be a message from google on the Invoice page?

D) Use of http:// and https://?

E) To get the value of the conversion code, what variable should we use?

When the Answer is complete, could it be made sticky?

Thank you!
Mark

Squeeze Juice Marketing 12-20-2008 08:11 AM

Re: Google code
 
I have a free app in progess that will address this, will keep you posted.

markcrobinson 12-29-2008 04:08 AM

Re: Google code
 
Quote:

Originally Posted by Squeeze Juice Marketing
I have a free app in progess that will address this, will keep you posted.


Thank you for this response. Is this something you plan to make available in the next few days? If not, could you please point me in the right direction?
I believe that all I need is the name of the variable that holds the total -- or am I in error here?

Squeeze Juice Marketing 12-29-2008 04:58 AM

Re: Google code
 
Mark,

Please shoot me an e-mail: ryan@squeezejuicemarketing.com and I'll get you taken care of.

Thanks.

Ryan


All times are GMT -8. The time now is 09:10 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.