| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Google Conversion Tracking Codes | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Google Conversion Tracking Codes
Where do I place my Google Conversion Tracking Code to track a Adwords Campaign? I am seeing in the help menu that I need to place it here:
customer/main/order_message.tpl - the confirmation screen for checkout. Where you would place tracking conversion codes (Google AdWords, Yahoo, etc) BUT, I am not seeing the <body> </body> tags to place it in. Also, the "customer/main/order_message.tpl" file isn't placed in the "Ideal Comfort" template that we are using for our store. Please advise. Thank you.
__________________
X-cart V.4 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Google Conversion Tracking Codes
First of all, you should not edit X-Cart 5 files directly. Use Theme Tweaker module instead or create a custom module that overrides the template that you need.
Also, what is your X-Cart version? Is it 5.2.x? If so, there is an article on adding the code there: http://devs.x-cart.com/en/how-to_articles/how_to_add_google_adwords_conversion_tracking_code _to_thank_yo...rder_page.html
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#3
|
|||||||
|
|||||||
Re: Google Conversion Tracking Codes
can you update the instructions for version 5.3
these are outdated: http://devs.x-cart.com/en/how-to_articles/how_to_add_google_adwords_conversion_tracking_code _to_thank_yo...rder_page.html
__________________
-scadmin |
|||||||
#4
|
|||||||||
|
|||||||||
Re: Google Conversion Tracking Codes
You can use this online tool to convert the .tpl template into the new Twig format:
http://xcart.github.io/flexy-to-twig/ Also, the template should have a different extension and must placed into a different location: skins/theme_tweaker/customer/body/js/google_ads_coversion_tracking.twig This should help.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|