嗨,我已經加入了谷歌分析賬號號在管理,我是否還需要在文件中添加谷歌的跟蹤代碼進行跟蹤,在谷歌它仍然顯示安裝谷歌分析的Magento
您的 網站的主頁上沒有檢測到Google分析跟蹤代碼
請告訴我如何設置Google分析到我的網站。
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'xxxxxxxx']);//fake
_gaq.push(['_setDomainName', 'fake.com']);//fake
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
我是否需要在文件
你查看瀏覽器源代碼並搜索'var _gaq = _gaq'?如果有緩存,你有清除嗎? – 2013-02-12 23:47:29