汇总帐户 - 查看网页浏览的来源?

时间:2021-12-11 15:15:48

I've set up a rollup account for several off my other domains (Like; mydomain.com, mydomain.org, mydomain.net)

我为其他几个域设置了一个汇总帐户(例如:mydomain.com,mydomain.org,mydomain.net)

When I look at the rollup account I can see the reports but they all come from "/" instead of "mydomain.org" or "mydomain.net", is it possible to see this somehow? or track it?

当我查看汇总帐户时,我可以看到报告,但它们都来自“/”而不是“mydomain.org”或“mydomain.net”,是否有可能以某种方式看到它?还是跟踪它?

Code Im running on the subsites:

代码Im运行在子网站上:

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-xxxxxxxx-1', 'auto');

//roll up account
  ga('create', 'UA-xxxxxxxx-2', {'name':'rollupProperty'}); 
  ga('send', 'pageview');
  ga('rollupProperty.send','pageview');

</script>

1 个解决方案

#1


I had similar case for one of my clients, Google Analytics by default shows only page pathe (like /mypage.php instead of mydomain.com/mypage.php, mydomain.org/mypage.php, etc.).

对于我的一个客户,我有类似的情况,默认情况下,Google Analytics仅显示页面修补程序(例如/mypage.php而不是mydomain.com/mypage.php,mydomain.org / mypage.php等)。

If you want just temporary solution, go to "Behavior -> Site Content -> All Pages" in GA reports and choose "Hostname" as secondary dimension: 汇总帐户 - 查看网页浏览的来源?

如果您只想临时解决方案,请转到GA报告中的“行为 - >网站内容 - >所有页面”,然后选择“主机名”作为辅助维度:

If you want always see hostname in your GA reports, then you should create Advanced filter for rollup GA property:

如果您希望始终在GA报告中看到主机名,那么您应该为汇总GA属性创建高级过滤器:


汇总帐户 - 查看网页浏览的来源?


This filter may allow you to extract Hostname(mydomain.org) and Ruquest URI(/mypage.php) and rewrite Request URI by combination "mydomain.org/mypage.php" in GA reports.

此过滤器可能允许您通过GA报告中的“mydomain.org/mypage.php”组合提取主机名(mydomain.org)和Ruquest URI(/mypage.php)并重写请求URI。

Recommend you to test this approach.

建议您测试这种方法。

#1


I had similar case for one of my clients, Google Analytics by default shows only page pathe (like /mypage.php instead of mydomain.com/mypage.php, mydomain.org/mypage.php, etc.).

对于我的一个客户,我有类似的情况,默认情况下,Google Analytics仅显示页面修补程序(例如/mypage.php而不是mydomain.com/mypage.php,mydomain.org / mypage.php等)。

If you want just temporary solution, go to "Behavior -> Site Content -> All Pages" in GA reports and choose "Hostname" as secondary dimension: 汇总帐户 - 查看网页浏览的来源?

如果您只想临时解决方案,请转到GA报告中的“行为 - >网站内容 - >所有页面”,然后选择“主机名”作为辅助维度:

If you want always see hostname in your GA reports, then you should create Advanced filter for rollup GA property:

如果您希望始终在GA报告中看到主机名,那么您应该为汇总GA属性创建高级过滤器:


汇总帐户 - 查看网页浏览的来源?


This filter may allow you to extract Hostname(mydomain.org) and Ruquest URI(/mypage.php) and rewrite Request URI by combination "mydomain.org/mypage.php" in GA reports.

此过滤器可能允许您通过GA报告中的“mydomain.org/mypage.php”组合提取主机名(mydomain.org)和Ruquest URI(/mypage.php)并重写请求URI。

Recommend you to test this approach.

建议您测试这种方法。