如何在谷歌分析中应用多个过滤器 [英] How to apply multiple filters in google analytics

查看:101
本文介绍了如何在谷歌分析中应用多个过滤器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Google分析中过滤多个维度



下面的作品虚空:

  .setFilters(ga :userType == anonymous)。setFilters(ga:dimension3 == 1234)
.setFilters(ga:userType == anonymous,ga:dimension3 == 1234)

第二个出错。

解决方案

您需要将它们串起来。


组合过滤器可以使用OR和AND布尔
逻辑组合过滤器。这允许您有效地扩展过滤器表达式的128个字符限制

定义OR运算符使用逗号(,)。

  ga:country == United%20States,ga:country ==加拿大

AND运算符使用分号(;)。

  ga:country == United%20States; ga:browser == Firefox 



我不确定那是哪种语言,但它可能会更像

  setFilters(ga:userType == anonymous,ga:dimension3 == 1234)


How to filter multiple dimensions in Google analytics.

Nether of the following work:

 .setFilters("ga:userType==anonymous").setFilters( "ga:dimension3==1234")
 .setFilters("ga:userType==anonymous","ga:dimension3==1234") 

The second one gives an error.

解决方案

You need to string them together.

Combining Filters Filters can be combined using OR and AND boolean logic. This allows you to effectively extend the 128 character limit of a filter expression.

The OR operator is defined using a comma (,).

ga:country==United%20States,ga:country==Canada

The AND operator is defined using a semi-colon (;).

ga:country==United%20States;ga:browser==Firefox

I am not sure what language that is but its probably going to be more like

setFilters("ga:userType==anonymous,ga:dimension3==1234") 

这篇关于如何在谷歌分析中应用多个过滤器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆