WordPress和Google Analytics
今天才突然想起来,要给See7设置Google Analytics。
之前我有一个Analytics帐号,所以就先申请了代码。就是那个UA-XXX。
然后我才突然发现,Wordpress.com上没有修改Html的地方,也就是说,那一大段代码没有</body>标记来填了。
于是,我请教了Google。结果搜索了半天,突然想起来……此Wordpress非彼Wordpress!Wordpress.com是BSP,Wordpress.org则是另外一回事了。
于是,在Google中添上了“.com”,结果第一个页面直接把我OUT。
页面来自faq.wordpress.com,里面说道:
“Can I use Google Analytics?
No.
We already use Google Analytics code to monitor the domain in ways that provide us with useful information to benefit the service we offer. It is not possible to use two instances of Google Analytics on one page.”
NO得真是轻松。看看下面的原因,我翻译一下:
“我们已经使用Google Analytics代码来显示域,(它)向我们提供有用的信息来使我们提供的服务受益。在同一个页面上使用两个Google Analytics实例是不可能的。”
然后我想,如果这样,那么在See7的主页Html代码中,一定能找到Google的代码。于是“审查元素”,倒是没有找到常见的google代码,只找到了:

不过既然这样,为什么不光明正大地把统计结果拿出来呢?
标签: google analytics, wordpress
You can comment below, or link to this permanent URL from your own site.