[英]Best way to set up Google Analytics for domain, subdomain and subdirectories
I have a website with following domain and folder structure: 我有一个具有以下域和文件夹结构的网站:
I have just started setting up Google Analytics for this and I am totally confused as to what are the best practices that should be followed? 我刚刚开始为此设置Google Analytics(分析),但对于应该遵循的最佳做法我完全感到困惑。 Should I consider them as individual properties or just 1 property.
我应该将它们视为单个属性还是仅一个属性。 Should I be setting up a different GA code for each one of these?
我是否应该为其中每个设置不同的GA代码?
Ideally, I would like to track all of it at one place but at the same time, using some filters be able to see the traffic on any one of the subdomains/subdirectories. 理想情况下,我想在一个地方但同时跟踪所有内容,使用一些过滤器可以查看任何子域/子目录上的流量。
I started reading up about Universal Analytics but got totally confused and some of the posts were outdated as GA and UA seems to have changed significantly in the recent times. 我开始阅读有关Universal Analytics的文章,但感到非常困惑,并且由于最近GA和UA发生了显着变化,一些帖子已经过时了。
Please advise me about how to set this up or point me to any good blogs or urls that are a rich resource. 请告诉我有关如何进行设置的建议,或将我指向任何具有丰富资源的优质博客或网址。
This is one of the most complete answers I've found for this question. 这是我为这个问题找到的最完整的答案之一。 http://moz.com/blog/cross-domain-subdomain-tracking-in-google-analytics
http://moz.com/blog/cross-domain-subdomain-tracking-in-google-analytics
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.