i have created customized analytic code for my clients. It tracks visits and conversions. One is to be placed on the "thank you" page and one on all other pages. What is the quickest way to get my magento guys to paste the codes? Is there a header file and "thank you" page in magento for the codes. Do I write an extension for that? Any help will do. Thanks
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You can add a global code to
/app/design/frontend/[your-interface]/[your-theme]/template/page/html/header.phtml
or
/app/design/frontend/[your-interface]/[your-theme]/template/page/html/footer.phtml
and the thank you page code can be placed at
/app/design/frontend/[your-interface]/[your-theme]/template/checkout/success.phtml