【发布时间】:2012-03-02 21:34:54
【问题描述】:
所以我已将此添加到我的 GA 脚本中(在页脚中)
_gaq.push(['_trackPageview' , '<?php $thisurl="http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];echo $thisurl; ?>']);
我的问题是,当我们查看 src 代码时:我们看到 ..(对于我们的 about.php 页面)
_gaq.push(['_trackPageview' , 'http://www.ourdomain.com/about.php']);
现在是这个正确的协议,或者因为 setDomainName 已经在 GA 脚本中设置为 ourdomain.com ..
我们应该回应这个吗?
_gaq.push(['_trackPageview' , '/about.php']);
任何帮助表示赞赏
【问题讨论】:
标签: analytics