Google Analytics(分析)在自定义报告中排除空的自定义变量 [英] Google Analytics exclude empty custom variable in a custom report

查看:89
本文介绍了Google Analytics(分析)在自定义报告中排除空的自定义变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为所有访客设置了一个自定义变量;对于我们的注册用户而言,它具有一定的价值,对于未注册的用户而言,它是空白.

I have a custom variable set for all visitors; for our registered users it's some value, for unregistered users, it's empty.

我可以使用Exclude Custom Variable (Value 02) Matching Regexp .+设置在高级细分市场中找到未注册的用户-表现出色.

I can find unregistered users in an advanced segment using the settings Exclude Custom Variable (Value 02) Matching Regexp .+ -- works brilliantly.

但是我需要仪表板未注册访客的报告,并尝试使用过滤器执行相同的操作.我有一个访问量度和一个所有访问者都会拥有的维度(例如浏览器).我的过滤器与高级细分市场的过滤器相同,但是...并不出色.我没有人去.我曾尝试使用正则表达式^$Include,但那里也没有爱情.

But I need a report of unregistered visitors for a dashboard, and tried to do the same thing with a filter. I have a metric of Visits and a dimension of something all vistors will have (e.g. Browser). My filter is identical to the one in the advanced segment, but ... not brilliant. I get no visits. I have tried to Include with a regex ^$ but no love there, either.

有任何想法我在做什么错吗?

Any ideas what I am doing wrong?

推荐答案

要亲自了解您的问题和解决方案,请让我说明一下数据记录在任何收集过程中如何工作(Google Anlaytics是用于数据收集的工具之一和分析):

To understand your problem and the solution yourself, let me illustrate how the data recording works in any collection process (Google Anlaytics is one of the tools used for data collection and analysis):

要记录和分析数据,首先要确定要记录的内容,然后再确定如何记录.也许方式就是您使用Google Analytics(分析)的地方.因此,您要查看的数据是 metric ,它可以有一个名称和一个(通常是数字)值,而每个维度是您要如何分离或深入研究数据的各种视图.举例来说,如果您想知道每天有多少访问者访问您的网站,并且想知道访问者来自哪个来源,则每日访问者计数是您的指标,而来源是您的尺寸.

To record and analyse data, you first decide what you want to record, and then how. Maybe this how is where Google Analytics comes in for you. So, the data that you want to see is the metric, it can have a name and a (usually numeric) value, and each dimension is how you want to separate or drill down into the various views of the data. As an example, if you want to know how many visitors visited your site everyday, and you want to be able to see through which source they came, Daily Visitor Count is your metric and Source is your dimension.

这里要了解的重要一点是,维度和指标不绑定在一起.我的意思是,只是因为您决定应该可以按来源"查看每日访问者计数",并不会在每日访问者计数"指标的每次更新中都添加源.为了按维度查看指标,每次记录指标时都需要更新维度的值.

The important thing to understand here is that Dimensions and Metrics are not bound together. What I mean here is that just because you decided that Daily Visitor Counts should be viewable by Source, doesn't add a source to every updation of the Daily Visitor Count metric. In order to view the metric by the dimenision, you need to update a value for the dimension every time you record the metric.

如果不记录度量的维度,则无法通过在维度上应用过滤器来获取未为其记录维度的度量的值.因为使用维度过滤器只允许您访问为该维度记录的值,而不是所有指标,因为维度不包含指标的值,因此只有指标可以选择包含维度的值.

If you don't record a dimension for a metric, then you cannot obtain the value of the metrics for which you didn't record a dimension by applying a filter on the dimension. Because, using a dimension filter only lets you access the values recorded for the dimension, and not all metrics, because, dimensions don't contain values of metrics, only metrics can optionally contain values for dimensions.

因此,当您查询维度等于正则表达式+*"时,它既可以包含也可以排除,但是您无法使用维度过滤器查询具有空维度的指标.最好的方法是每次记录度量时仅为维度添加一个标准值或默认值,以便您可以分开,例如(not set)unknown.

So when you query "dimension equals regex +*", it works, with both include and exclude, but you cannot query metrics with empty dimension using a dimensional filter. The best way would be to only add a standard or default value for the dimension every time you record the metric so that you can separate, something like (not set) or unknown.

希望有帮助. :)

我只是希望您了解您试图做的事情在概念上是错误的,尽管在技术上仍然可以做到这一点.

I just hope you understand what you were trying to do is conceptually wrong, though it could still have been made technically feasible.

这篇关于Google Analytics(分析)在自定义报告中排除空的自定义变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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