如何计算重复事件? Google 分析

How to calculate duplicate events ? Google analytics

收集的数据:

我有一个名为 advertisingId 的自定义维度,带有 hit-scope ,它与事件操作一起发送,这里是收集数据的示例:

 #      action       |    advertisinId   

 1      install           30                
 2      install           10
 3      install           30
 4      install           10
 5      install           40
 6      install           50

请求的指标:

在 google 分析中我想建立两个指标:

  1. 返回事件:具有已关联到先前事件的广告 ID 的事件。

  2. 唯一事件:具有不与任何先前事件关联的 advertisingId 的事件。

处理数据示例:

所以根据上面收集的数据,这里是处理数据的方式:

 #      action       |    advertisinId   | returningEvent 

 1      install           30                 no. there is no previous event who has the same advertisingId
 2      install           10                 no. there is no previous event who has the same advertisinId
 3      install           30                 yes. because event #1 has the same advertisingId
 4      install           10                 yes. because event #2 has the same advertisingId
 5      install           40                 no. unique advertisingId
 6      install           50                 no. unique advertisinId

最终报告: 根据我需要构建以下报告的流程数据:

action     |   unique event   |  returningEvent
 install        4                     2

我如何构建它,我应该构建和配置哪些自定义指标?

谢谢

假设此处的 'Action' 字段实际上是 'Event Action',您应该已经能够从 Google Analytics 中提取此数据。我想不出一种方法来将其作为计算指标,但您当然可以自己获取数量。

使用指标 'Total Events' 和维度 'Event Action' 和 'advertisingID'.

创建平面 Table 自定义报告
  • 唯一事件数(如上定义)等于报告中的行数。
  • Returning Events(如上定义)等于报告中 'Total Events' 的总和减去 Unique Events 上面定义的数字。