[英]How to remove URL parameters from Google Analytics reports
My Google Analytics record pages with dynamic parameters.我的 Google Analytics 记录页面带有动态参数。 URL looks like:网址看起来像:
/iframe/dashboard/214301/customercare/cc /iframe/dashboard/842904/customercare/serviska-fb /module/customercare/serviska-fb/842904 /iframe/dashboard/214301/customercare/cc /iframe/dashboard/842904/customercare/serviska-fb /module/customercare/serviska-fb/842904
The problem is that site content report cannot merge these URLs as an access to the same page /customercare
.问题是站点内容报告无法将这些 URL 合并为对同一页面/customercare
的访问。
How can I solve it?我该如何解决?
I know that I can add a custom filter in the account settings, but how to setup regular expression?我知道我可以在帐户设置中添加自定义过滤器,但是如何设置正则表达式?
Search and Replace Filters supports regular expressions so you might have a filter like:搜索和替换过滤器支持正则表达式,因此您可能有这样的过滤器:
Search string: /customercare(\/.*)
Replace string: /customercare
where (\\/.*)
is a part of a regular expression matching all the characters following /customercare
其中(\\/.*)
是匹配/customercare
后面所有字符的正则表达式的一部分
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.