过滤Google Analytics中的目录和所有子目录

Kev*_*don 9 google-analytics

我试图设置一个过滤器,只包含特定目录及其所有子目录的数据.

例如,我想包含dogs目录和子目录中的数据

http://www.mysite.com/dogs/
http://www.mysite.com/dogs/index.htm
http://www.mysite.com/dogs/breeds.htm
http://www.mysite.com/dogs/puppies/
http://www.mysite.com/dogs/puppies/index.htm
http://www.mysite.com/dogs/puppies/care/
http://www.mysite.com/dogs/puppies/care/feeding.htm
Run Code Online (Sandbox Code Playgroud)

在创建新过滤器时,我认为我应该选择a Pre-defined filterInclude only traffic to the subdirectories that begin with子目录/dogs/not case sensitive.

我对它是否应该是that begin with或者有点困惑that are equal to.我是否适合that begin with在我的情况下使用并且我的子目录值是否正确?

(我问,因为数据需要24小时才能更新,所以错误地花费了很多时间)

Kev*_*don 10

事实证明我是对的.要过滤目录和所有子目录,应该进行设置

  • 预定义,筛选
  • 仅包括
  • 到子目录的流量
  • 以...开头
  • /小狗/
  • 不区分大小写