| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Need help installing Overture Conversion Counter code | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#11
|
|||||||||
|
|||||||||
![]() Are you sure you've got your tracking ID properly substituted? Is it just overture you are having problems with or is it Google? You definitely want the code only in your order_message.tpl. It should not be on any other page.
__________________
www.brettbrewer.com Getting back into x-cart dev after a long hiatus. Modded lots of x-carts from version 3.1.x to 4.1.x. Developer of ImageScaler mod, Pre-login per user coupon mod, Wordpress feed mod, DigitalSubscriptions mod, Phonetic bulk download keys addon for DownloadExpander mod, Serial Number Generator for ESD products, Custom CMS/LMS integrations, external products mod, and more. |
|||||||||
#12
|
|||||||
|
|||||||
![]() On the note of overture, i noticed that i got a lot of mysql errors for some reason after enabling the advanced tracking on the overture control panel (the admin email contained the string from overture tracking)
__________________
x-cart 4.0.5 (live and heavily modded) Server: freebsd |
|||||||
#13
|
|||||||
|
|||||||
![]() I've read many a post and still am not sure where to place the Overture tracking code in the order_message template for 4.0.XX.
Can someone please help?
__________________
X-Cart Gold 4.01 |
|||||||
#14
|
|||||||||
|
|||||||||
![]() You can really place the Overture and Google code anywhere in the order_message.tpl file. Just forget about the <head> tags and just use everything between the <script></script> tags. For example, I have the following code at the very top of my order_message.tpl file with conditional statements so that it is only loaded if we are not in test mode and we are not looking at the printable version. Keep in mind that I'm using the 3.x branch of x-cart, but this should be very similar if not identical to what you would need to do.
Code:
Then just before the closing {/capture} tag on my template, I put the Google Adwords conversion code, so the bottom of my template looks like this: Code:
Also, if you're using cartlab's Google Analytics mod, you could include that in the section that loops over the order items like so: Code:
Hope that helps.
__________________
www.brettbrewer.com Getting back into x-cart dev after a long hiatus. Modded lots of x-carts from version 3.1.x to 4.1.x. Developer of ImageScaler mod, Pre-login per user coupon mod, Wordpress feed mod, DigitalSubscriptions mod, Phonetic bulk download keys addon for DownloadExpander mod, Serial Number Generator for ESD products, Custom CMS/LMS integrations, external products mod, and more. |
|||||||||
#15
|
|||||||
|
|||||||
![]() Do you know if this would work with X-cart 4.1.x release?
Thanks -Tuan Quote:
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9 |
|||||||
#16
|
|||||||
|
|||||||
![]() I placed my Google conversion code, enclosed in literal tags - {literal} java code {/literal}, at the bottom of the customer/main/order_message.tpl and it works fine. I'm using version 4.1.5.
__________________
Thanks, Phil X-Cart Gold Version 4.4.5 |
|||||||
|
|||
X-Cart forums © 2001-2020
|