我已经为我的网站设置了_setCustomVar,就像这样:
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXX']);
_gaq.push(['_setDomainName', '.blog4ever.com']);
_gaq.push(['_trackPageview']);
_gaq.push(['_setCustomVar', 1, 'B4E_Type_Pub', 'Silver_ou_Gold', 3]);
_gaq.push(['_setCustomVar', 2, 'B4E_Etat_Blog', 'normal', 3]);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
在我的仪表板中,当我进入“访问者-自定义变量”时,我看到我的两个变量,但数字非常奇怪(例如,尽管我有成千上万的页面浏览量,但有40页浏览量)。
我已经安装了2天了。
有人遇到过同样的问题吗?
_trackPageview
并且自定义变量会在第二天开始出现! - basZero