如何在一行中设置多个域名?
我正在一家博客工厂工作,我们让最终用户使用完全自定义的域名,例如 www.myawsomeblog.com
。使用此功能的人很多,因此我们无法针对具体情况进行处理。
我们如何以一种可以轻松跟踪每个域流量的方式标记我们的页面?即使流量统计有点乱也没什么大不了的,只要有办法查看哪个域有哪个流量。
谢谢 !
I am working on a blog factory and we let the final user to use a fully customized domain name like www.myawsomeblog.com
. There is a lot of people using this feature, so we cannot do a per case treatments.
How we can tag our pages in a way that we can track traffic for each domains without pain? Even if, the traffic statistics is a little mess is not a big deal as soon as there is a way to see which domain have which traffic.
Thanks !
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
理想情况下,您希望每个站点都有一个配置文件,但您必须手动设置每个新站点。但听起来你想避免这种情况...
最简单但最不灵活的方法是使用完整的 URL 弹出 _trackPageview,以便它在页面报告中显示子域而不仅仅是路径。但这会将您的所有网站放入一个配置文件中,并且没有简单的自动化方法来对它们进行分段(您可以,但它是手动的,特别是因为您会弹出任意域)。
或者,如果您不想更改现有代码,则可以设置 域名前缀过滤器为您的个人资料,重写页面名称以具有域名前缀..但这仍然给您带来与上面相同的问题。您可以过滤您的报告来查看
不同的域,但它们不会位于聚合桶中。您基本上必须导出到 Excel 并在那里进行一些手动分组/过滤,这将是最简单的。
Ideally you would want a profile for each site, but you would have to manually set each new one up. But it sounds like you want to avoid that...
The easiest but least flexible way to do it would be to pop your _trackPageview with the full URL so it shows the subdomain instead of just path, in pages reports. But that puts all of your sites into a single profile, and there's no easy automated way to segment them (you can, but it's manual, esp since you have arbitrary domains popping up).
Alternatively if you don't wanna mess with having to change existing code, you can setup a domain prefix filter for your profile, to rewrite the page name to have domain prefix.. but that still gives you same problem as above. You can filter your reports to see
the different domains, but they won't be in aggregated buckets. You will have to basically export to excel and do some manual grouping/filtering there, would be easiest.