将自定义的javascript分析代码添加到magento网站 [英] adding customed javascript analytics code to magento site

查看:57
本文介绍了将自定义的javascript分析代码添加到magento网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为客户创建了自定义的分析代码.它跟踪访问和转化.一个放置在谢谢"页面上,另一个放置在所有其他页面上.让我的magento家伙粘贴代码的最快方法是什么?magento中是否有头文件和谢谢"页面中的代码.我是否为此写扩展程序?任何帮助都可以.谢谢

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

推荐答案

您可以将全局代码添加到

You can add a global code to

/app/design/frontend/[your-interface]/[your-theme]/template/page/html/header.phtml

/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

这篇关于将自定义的javascript分析代码添加到magento网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆