谷歌分析-列出每个事件标签的事件值

时间:2022-05-16 15:20:22

My current situation:

我的现状:

I might have the complete wrong approach on this, so please tell me if I should do this differently.

在这个问题上我可能有完全错误的方法,所以请告诉我我是否应该做不同的事情。

I send an event from my Android app to track DB load times.

我从Android应用程序发送一个事件来跟踪DB加载时间。

  • Event Category: 'DB'
  • 事件类别:“数据库”
  • Event Label: 'DBLoadTime'
  • 事件标签:“DBLoadTime”
  • Event Value: 2356 (Or however long the DB took to load in milliseconds)
  • 事件值:2356(或DB以毫秒为单位加载的时间)

In Analytics I would like to get a table view of all the different load times, listed under each other. From the analytics documentation I could see that they seem to accumulate all the event values as they are received. This means I can only get the total value, or an average value. however, they also use a similar example to what I have, where they use the event value to store 'doanload time' for a video.

在分析中,我希望获得一个表视图,其中列出了所有不同的加载时间。从分析文档中我可以看到,它们似乎在接收到所有事件值时进行了累计。这意味着我只能得到总值,或者说平均值。不过,他们也使用了与我类似的示例,其中他们使用事件值为视频存储“doanload time”。

My question

我的问题

  1. Is this at all possible, or are values from similar event labels accumulated by default, and there is no way to get them listed as separate values.
  2. 这是完全可能的,还是来自默认积累的类似事件标签的值,而且无法将它们作为单独的值列出。
  3. If it is not possible, how can I get this info? Maybe by sending the load time as an event label?
  4. 如果不可能,我怎么能得到这个信息?可能通过作为事件标签发送加载时间?

Why I need to know:

为什么我需要知道:

Highest value does not really serve me any purpose, as there might be one guy with one really slow device experiencing long load times, where the 2nd longest load time is already half of that. Average value does not tell me much either, as there are many people trying the app out, with just one or two records in the DB, which will always load fast.

最高的价值并不真正为我提供任何目的,因为可能有一个人有一个非常慢的设备,经历了长时间的加载时间,在那里,第二长的加载时间已经是它的一半了。平均值也不会告诉我太多,因为很多人都在尝试这个应用,DB中只有一两条记录,加载速度很快。

1 个解决方案

#1


9  

It seems like what you want is a histogram to see the distribution of event values for that eventLabel and eventCategory. We've wanted to see the same sort of thing -- because seeing the actual distribution (or even quartiles) is much more helpful than just seeing a mean and a sum.

似乎您需要的是一个直方图来查看eventLabel和eventCategory事件值的分布。我们希望看到同样的东西,因为看到实际的分布(甚至四分位数)比看到平均值和和和要有用得多。

Unfortunately (d'oh!) GA currently does not support reporting histograms for eventValue. I've spoken with several of the GA developers about this and no one has said that this is going to happen sometime soon (d'oh!).

不幸的是(d,)GA目前不支持为eventValue报告直方图。我已经和几位GA开发人员谈过这个问题,但没有人说过这很快就会发生(哦!)

Thankfully, we've found a workaround that the GA developers have said is ok -- i.e. not in violation of a terms of service.

值得庆幸的是,我们找到了一个解决方案,GA开发人员说可以——即不违反服务条款。

Instead of reporting the number of milliseconds that the device took to load, you can include this number as a string in EITHER a custom-dimension, or--in this case-- as the string in eventAction. This will allow you to report how many hits there were of each ms number.

与报告设备加载所需的毫秒数不同,您可以将这个数字作为自定义维度中的字符串,或者(在本例中)作为eventAction中的字符串。这将允许您报告每个ms数字的点击量。

If you are using the GA reporting API -- or the very helpful explorer -- then you can re-bin as you like, from which you can generate histograms to see the distribution.

如果您正在使用GA报告API(或非常有用的explorer),那么您可以随心所欲地重新装入,从中生成直方图以查看分布。

#1


9  

It seems like what you want is a histogram to see the distribution of event values for that eventLabel and eventCategory. We've wanted to see the same sort of thing -- because seeing the actual distribution (or even quartiles) is much more helpful than just seeing a mean and a sum.

似乎您需要的是一个直方图来查看eventLabel和eventCategory事件值的分布。我们希望看到同样的东西,因为看到实际的分布(甚至四分位数)比看到平均值和和和要有用得多。

Unfortunately (d'oh!) GA currently does not support reporting histograms for eventValue. I've spoken with several of the GA developers about this and no one has said that this is going to happen sometime soon (d'oh!).

不幸的是(d,)GA目前不支持为eventValue报告直方图。我已经和几位GA开发人员谈过这个问题,但没有人说过这很快就会发生(哦!)

Thankfully, we've found a workaround that the GA developers have said is ok -- i.e. not in violation of a terms of service.

值得庆幸的是,我们找到了一个解决方案,GA开发人员说可以——即不违反服务条款。

Instead of reporting the number of milliseconds that the device took to load, you can include this number as a string in EITHER a custom-dimension, or--in this case-- as the string in eventAction. This will allow you to report how many hits there were of each ms number.

与报告设备加载所需的毫秒数不同,您可以将这个数字作为自定义维度中的字符串,或者(在本例中)作为eventAction中的字符串。这将允许您报告每个ms数字的点击量。

If you are using the GA reporting API -- or the very helpful explorer -- then you can re-bin as you like, from which you can generate histograms to see the distribution.

如果您正在使用GA报告API(或非常有用的explorer),那么您可以随心所欲地重新装入,从中生成直方图以查看分布。