Google无法在Github Pages上找到Google Analytics代码段

时间:2013-01-18 14:47:51

标签: github google-analytics github-pages

一段时间以来,我一直无法让Google Analytics在我生成的Github页面上正常运行。我使用了Google提供的默认代码段,但我认为正在寻找代码段的抓取工具在url victorbjelkholm.github.com而不是victorbjelkholm.github.com/2012-I-Bilder/中查找。但是,我在Google Analytics配置文件中的默认网址是http://victorbjelkholm.github.com/2012-I-Bilder/,因此应该没问题。

有没有人有类似的经验,可以将Google Analytics添加到Github网页上的网站?

有没有人建议什么可以解决这个问题所以我可以从我的网站上获得一些统计数据?

网址为http://victorbjelkholm.github.com/2012-I-Bilder/

2 个答案:

答案 0 :(得分:11)

我进入了有效个人资料的Profile Settings,并将Default page更改为index.html。现在我的跟踪代码可以正确找到。

答案 1 :(得分:0)

您是否在UA-20806824-11 Google Analytics配置文件中有任何过滤器可能会过滤掉Github中的数据?

我查看了您的网站:GA代码看起来不错,我看到了将网页视图发送到分析服务器的跟踪数据。