无法通过自定义分析标签聚合 Firebase 通知事件?

Cannot aggregate Firebase notification events by custom analytics label?

我正在使用 FireBase 的云消息传递功能,我需要分析存储在 BigQuery 中的通知数据。

我在 BigQuery 中有两个 table:

从第一个 table 开始,我可以根据 event_name 按结果分组,这让我可以很好地了解不同的通知

event_name event_count
notification_receive 50000
notification_dismiss 30000
notification_open 3000
notification_foreground 600

从第二个table我能够得到以下详细信息:

event_timestamp 时间戳可空
project_number 整数可空
message_id 字符串可以为空
instance_id 字符串可以为空
message_type 字符串可以为空
sdk_platform 字符串可以为空
app_name 字符串可以为空
collapse_key 字符串可以为空
优先级整数 NULLABLE
ttl 整数可空
主题 STRING NULLABLE
bulk_id 整数可空
device_recently_active 布尔值可空
事件字符串可空
analytics_label

我想要的是根据第二个 table 的自定义 analytics_label 向下钻取每个不同的 event_name 例如 notification_closed,但我做不到加入这两个关系。我认为第一个 table event_params 中包含的 message_id 可能与第二个 table 中的 message_id 相同,但它们不是。

有没有办法分析具有不同 notification_event 类别(notification_closed、notification_open 等)的通知的自定义分析标签?

因此,分析标签也出现在事件 table 中,作为 event_params 列中的标签 属性,因此没有必要加入这两个 table排在首位。