大网数据广告活动
网站运营与故障问答

Filter to show complete URL (including subdomain) in Google Analytics reports

· 52CE 我爱测

I have a subdomain on my website and am unable to get some data individually for the main domain and subdomain. For example, both the homepages are counted as one with the "/". I have seen some suggestions of creating a filter to…

问题原文

原帖链接 · Ajit KS · CC BY-SA 4.0

I have a subdomain on my website and am unable to get some data individually for the main domain and subdomain. For example, both the homepages are counted as one with the "/".

I have seen some suggestions of creating a filter to show the complete URL. At the same time, there were users cautioning me about creating a filter as doing it wrong may mess up all my Analytics data. Can somebody point me in the right direction. What should I do?

已采纳解答

原帖链接 · nyuen · CC BY-SA 3.0

First of all, you should have BP (Best Practise) views:

  1. one for your master reports,
  2. one for testing out filters and configurations and goals, and
  3. one raw where there are no filters applied.

Second, to create a filter where you can see your hostname, you just need to create an advanced filter where you append the hostname to your request URI. This link tells you how to create that filter: https://support.google.com/analytics/answer/1012243?hl=en

You should always create filters and test them out in your Test view before applying them to your master view.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2016-03-22)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0 / CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。