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. |
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 |
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 |
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. |
All times are GMT -8. The time now is 03:29 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.