事件价值?谷歌分析/测量协议 [英] Event Value ? Google analytics / measurement protocol

查看:16
本文介绍了事件价值?谷歌分析/测量协议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用带有测量协议的事件跟踪时如何使用事件值/查看它.目前在谷歌分析 UI 的事件选项卡中,我可以检查 category 、 action 但看不到我发送给 GA 的与其关联的值.

How to use event value / view it when I use event tracking with measurement protocol. Currently in events tab in google analytics UI, I can check category , action but cant see the value associated with it that I sent to GA.

谢谢

推荐答案

首先,确保您将正确的值传递给 value 参数.value 参数需要一个 整数 值(不是字符串),例如

First off, make sure you are passing a correct value to the value argument. The value argument expects an integer value (not string), e.g.

// bad
_gaq.push(['_trackEvent', 'Category', 'Action', 'Label', "some random string"]);

// bad
_gaq.push(['_trackEvent', 'Category', 'Action', 'Label', "123"]);

// good
_gaq.push(['_trackEvent', 'Category', 'Action', 'Label', 123]);

第二,类别、操作和标签是维度;您在给定报告左侧看到的内容.另一方面,价值是一个指标;您在报告的右侧看到的内容.当您转到事件报告并查看类别/操作/标签报告时,这就是您正在查看的实际数字的原因.维度是什么事件.维度值是每行的唯一值.度量是维度的量词,例如事件发生的次数,或平均值等.

2nd, Category, Action, and Label are dimensions; what you see on the left side of a given report. Value, on the other hand, is a metric; what you see on the right side of the report. This is what makes for the actual numbers you are looking at when you go to your events reports and look at category/action/label reports. A dimension is what the event was. dimension values are unique values per row. A metric is a quantifier for the dimension, e.g. how many times the event happened, or averages, etc..

例如:

Event Category      Total Events  Unique Events  Event Value  Avg. Value
------------------------------------------------------------------------
some category       20            8              0            0
another category    18            12             0            0

value 最后两列由您在 _trackEvent 调用中为 value 参数指定的内容填充.事件的默认值是 0.因此,如果您不设置它,您将看到的只是 事件值平均值中的 0.值列.

value Those last 2 columns are populated by what you specify for the value argument in the _trackEvent call. The default value for an event is 0. So if you don't set it, all you are going to see is 0's in the Event Value and Avg. Value columns.

假设您在网站上的某些链接和按钮上添加了事件跟踪.假设您连接了一些东西来触发某个按钮上的以下内容:

So let's say you have event tracking added on some links and buttons on your site. Let's say you have things wired up to trigger the following on a certain button:

_gaq.push(['_trackEvent', 'Links and Buttons', 'click', 'CTA', 'buy me!', 1]);

为了简化独特事件,我们假设所有 10 次点击都是由同一个人完成的.但请注意,Unique Events 是针对每个访问者进行重复数据删除的 Total Events 值.

For simplifying Unique Events we'll say all 10 clicks were done by the same person. But note that Unique Events is a per visitor deduped Total Events value.

在您的类别报告中,您应该看到如下内容:

In your category report you should see something like this:

Event Category      Total Events  Unique Events  Event Value  Avg. Value
------------------------------------------------------------------------
Links and Buttons   10            1              10           1 

Event ValueTotal Events * value 计算,其中 value 是您在 _trackEvent 调用中指定的值.由于您将该值指定为 1,并且有 10 次点击,因此 事件价值 列中的总点击次数为 10.

Event Value is calculated by Total Events * value where value is what you specified in the _trackEvent call. Since you specified the value as 1, and there were 10 clicks, that makes for a total of 10 in the Event Value column.

平均.价值事件价值/总事件计算.因此,在这种情况下,您有 10 个事件,总事件值为 10,因为每个事件值为 1,因此平均值为 1.

Avg. Value is calculated by Event Value / Total Events. So in this scenario you have 10 events and a total event value of 10 since they are 1 value each, so the average value is 1.

另一个例子,假设您有一个常规链接,您希望为每次点击提供 1 的值,并且您希望为 CTA 链接提供更高的值 2,因为它们更有价值

Another example, let's say you have a regular link that you want to give a value of 1 per click, and you want to give you CTA links a higher value of 2 since they are worth more

// on your header language link
_gaq.push(['_trackEvent', 'Links and Buttons', 'click', 'header links', 'language', 1]);

// on your CTA button
_gaq.push(['_trackEvent', 'Links and Buttons', 'click', 'CTA', 'buy me!', 2]);

现在假设标题语言链接被点击了 10 次,而 cta 按钮被点击了 5 次(同样,不要关注独特事件,因为这会因点击的人数而异什么).这是您应该看到的:

now let's say the header language link was clicked 10 times and the cta button was clicked 5 times (again, don't pay attention to Unique Events since this will vary depending on how many people click what). This is what you should expect to see:

Event Category      Total Events  Unique Events  Event Value  Avg. Value
------------------------------------------------------------------------
Links and Buttons   15            2              20           1.3

如果您将事件标签视为维度,您将看到如下内容:

If you look at the event label as the dimension instead, you will see something like this:

Event Label      Total Events  Unique Events  Event Value  Avg. Value
------------------------------------------------------------------------
language         10            1              10           1
buy me!          5             1              10           2

这篇关于事件价值?谷歌分析/测量协议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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