Google Analytics(分析)正则表达式排除词组 [英] Google Analytics regex exclude a phrase
本文介绍了Google Analytics(分析)正则表达式排除词组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用以下URL创建内容分组:
I'm creating a content grouping with the following URLs:
/my-category/something
/my-category/somethingelse
/my-category/product1-brand-color
/my-category/product2-brand-color
如何创建RegEx来对/my-category/页面进行分组,但排除具有品牌"的所有内容?
How to create a RegEx to group /my-category/ pages but exclude everything that has "brand"?
推荐答案
Google Analytics(分析)不支持否定的超前表达.而是创建2个(或更多)过滤器:
Google Analytics doesn't support negative lookahead expressions. Instead, create 2 (or more) filters:
- 第一个使用仅显示"下拉列表包含您的正则表达式的过滤器
- 使用不显示"下拉列表的第二个过滤器,其中包含您的排除规则
这篇关于Google Analytics(分析)正则表达式排除词组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文