在 Google Analytics 中单独跟踪子域
因此,我一直在尝试设置 Google Analytics 来跟踪网站 (Tumblr) 的博客,与网站的其他部分分开,但我一直没有运气。所有在线教程似乎都已经过时,而且 Google 自己的帮助中心也没有帮助。
有人可以帮忙吗?我尝试弄乱过滤器,但根本无法让它工作。
该网站是 sitename.com,博客是 blog.sitename.com。他们都共享一个跟踪代码。
谢谢!
So I've been trying to set up Google Analytics to track site's (Tumblr) blog separately from the rest of the site, but I've been having no luck. All of the tutorials online seem to be outdated, and Google's own help center isn't helping.
Can someone please help. I tried messing with filters, but simply can't get it to work.
The website is sitename.com and the blog is blog.sitename.com. They both share a tracking code.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在主机名上创建自定义包含过滤器:
在一份个人资料中,仅包含 ^www.domain.com$
在另一个配置文件中,仅包含 ^blog.domain.com$
请注意,电子商务交易不能按主机名过滤,而只能按交易 ID 过滤。
我鼓励您保留第三个不带过滤器的配置文件,以便能够检查您是否不这样做不要错过任何事情。
Create an a custom include filter on the hostname:
on one profile, include only ^www.domain.com$
on another profile, include only ^blog.domain.com$
Beware that e-Commerce transactions can't be filtered by hostname but only by transaction ID
I encourage you to keep a 3rd profile without filters, to be able to check that you don't miss anything.
创建两个 Analytics 配置文件,每个站点一个。然后在每个站点上放置各自的跟踪代码。
Create two Analytics profiles, one for each site. Then put their respective tracking codes on each site.