2
这里是我的代码:谷歌分析自定义变量不报告
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'x']);
_gaq.push(['_setCustomVar', 1, 'business_id', 5, 3]);
_gaq.push(['_trackPageview']);
(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>
我真的不知道为什么他们没有在GA跨越未来。有任何想法吗?
这是真的,它需要2天的数据显示在异步模式?我也没有使用引号,但似乎并没有解决问题。 –