如何在一行中设置多个域名?

发布于 2024-11-07 07:52:53 字数 186 浏览 1 评论 0原文

我正在一家博客工厂工作,我们让最终用户使用完全自定义的域名,例如 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ㄟ。诗瑗 2024-11-14 07:52:53

理想情况下,您希望每个站点都有一个配置文件,但您必须手动设置每个新站点。但听起来你想避免这种情况...

最简单但最不灵活的方法是使用完整的 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文