我有以下领域结构:
Idomain.com
www.Idomain.com
site1.Idomain.com
site2.Idomain.com
我需要的是:
- a profile to report all the traffic for all these domains together as one
- a profile to report only the traffic for Idomain.com and www.Idomain.com as one (they actually are the same server alias, just a user preference whether use or not use the www, so I would like to merge both together)
- a profile to report only the traffic for site1.Idomain.com
- a profile to report only the traffic for site2.Idomain.com
这些网站基本上是一个网络应用程序的一部分,因此,我只想使用一个单一的跟踪代码。
我对大会来说很陌生,因此,我对网上的一些辅导进行了研究,但大多数都是过时的,从旧的GA用户界面抽取。 甚至谷歌 帮助文件似乎已经过时,因此,我对如何以干净的方式确定一切感到困惑。
What I have so far: I created an account for Idomain.com. I selected the radio option that this tracking code is for "One domain with multiple subdomains" and Google gave me the following tracking code:
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push([ _setAccount , UA-12345678-1 ]);
_gaq.push([ _setDomainName , Idomain.com ]);
_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>
NOTICE: there is no dot before Idomain.com. Some web tutorials say, it should be there and some tutorials say that it is ok to leave it without the dot.
Google has created a profile: Idomain.com [DEFAULT] for me.
Now I am able to see the traffic separately by Hostname (Technology -> Network, and click Hostname in the table below the chart), but I would like to have a easier access to the Hostname filter, so they are already applied when I click on the profile name.
I tried to create a new profile site1.Idomain.com and added a filter: Predefined filter Include only -> traffic from the domains -> that are equal to -> site1.Idomain.com The filter appeared at the filters list for that profile, but still when I open the report, I see all the traffic together, including Idomain.com and site1.Idomain.com.
利用新的谷歌分析用户界面,为我的需求制定概况的最直接途径是什么?