| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Google Conversion Tracking | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Google Conversion Tracking
Google recently released a conversion tracking tool. In order to use their tool you need to add the to your order confirmation/receipt page.
I edited the /customer/main/order_message.tpl template and added the following: Code:
I received the following error when I tried to place my order. Instead of the normal receipt page I received: Fatal error: Smarty: [in customer/main/order_message.tpl line 29]: syntax error: invalid attribute name - '=' in /home/xcart/public_html/store/Smarty-2.3.0/Smarty_Compiler.class.php on line 1398 Anybody have any idea what I'm doing wrong and how I can correct this issue ? Also, it would be nice to be able to use the order total without shipping charges included. Is this possible ?
__________________
Visit us at http://www.Successfulhosting.com We\'ll make your web site a success! Register your own domain name for only $14.99 at http://DiscountDomainRegistry.com |
|||||||
#2
|
|||||||
|
|||||||
Nobody ?
__________________
Visit us at http://www.Successfulhosting.com We\'ll make your web site a success! Register your own domain name for only $14.99 at http://DiscountDomainRegistry.com |
|||||||
#3
|
|||||||
|
|||||||
, Pardon me if this is a simplistic question,
You did wrap the javascript in {literal} {/literal} tags right? Regards, Glen
__________________
Never understimate stupidity. -------- X-Cart Version: 3.5.2 Hosting:mind-in-design.net Configuration: Virtual Dedicated Server || Intel Pentium 4 2.4 GHZ CPU || 1024MB PC2100 DDR RAM || Linux || PHP 4.3.2 || MySQL server 4.0.14 |
|||||||
#4
|
|||||||
|
|||||||
That would certainly do it...
__________________
Joshua Sowin ...taking things one TPL at a time. |
|||||||
#5
|
|||||||||
|
|||||||||
Yeah you need do do it as a {literal} include but make sure you generate the right code for your site, i.e google does it for both http: and https://
You'll also find it sticks a silly image on your site too.
__________________
Groovico Used by X-carters the world over: Marketing Manager Pro Bundle For X-cart Featured Product Manager for X-cart Feed manager pro for X-cart http://www.firetanksoftware.com Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X |
|||||||||
#6
|
|||||||
|
|||||||
Guys,
Sorry I'm not a programmer.....can you show me an example that would work for my site ? TIA!
__________________
Visit us at http://www.Successfulhosting.com We\'ll make your web site a success! Register your own domain name for only $14.99 at http://DiscountDomainRegistry.com |
|||||||
#7
|
|||||||
|
|||||||
Code:
__________________
Joshua Sowin ...taking things one TPL at a time. |
|||||||
#8
|
|||||||
|
|||||||
Thanks...that was wayyy to easy
__________________
Visit us at http://www.Successfulhosting.com We\'ll make your web site a success! Register your own domain name for only $14.99 at http://DiscountDomainRegistry.com |
|||||||
|
|||
X-Cart forums © 2001-2020
|