用 Google Analytics 跟踪二级域名(Subdomain)的访问状况设置

2008-02-15 22:06

在 Google Analytics 中可以在一个网站配置资料中统计所有的二级域名(subdomain) 的访问状况。要实现这个,需要在跟踪代码中加入一行。下面的代码结构中假设主域名为 zzvo.com. <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-anal... [阅读全文]