从与 firebase 分析相关的 bigquery 获取人口统计信息

Get demographic information from bigquery connected with firebase analytics

我将 Firebase Analytics 数据导出到 BigQuery,但我在人口统计查询方面遇到了一些问题。

我想查询有关性别或年龄的信息,但在 BigQuery Export schema or Event and parameter details.

有人知道我该怎么做吗?

提前致谢!

用户属性是您定义的用于描述用户群细分的属性,例如语言偏好或地理位置。

Analytics 会自动记录一些 user properties; you don't need to add any code to enable them. If your app needs to collect additional data, you can set up to 25 different Analytics User Properties in your app. See more details here

注意:只有当您的应用程序链接到广告支持框架时,才会自动收集年龄、性别和兴趣属性。链接到此框架还会自动收集广告标识符 (IDFA)。

Firebase Analytics 中的人口统计和兴趣数据:

Firebase Analytics collects demographics and interests data from the following sources:

  • The Android Advertising ID. Applies to app activity only. When you use the Firebase Analytics tracking code in an Android app, Firebase Analytics generates an identifier based on the ID that includes demographic and interest information associated with users’ app activity.
  • The iOS Identifier for Advertisers (IDFA). Applies to app activity only. When you use the Firebase Analytics tracking code in an iOS app to collect the IDFA, Firebase Analytics generates an identifier based on the IDFA that includes demographic and interest information associated with users’ app activity.

When the Device Advertising ID is not present, Firebase Analytics cannot collect demographics and interests information. Consequently, demographics and interests data may only be available for a subset of your users, and may not represent the overall composition of your traffic.

此外,出于隐私原因,Firebase Analytics 人口统计报告似乎已设置阈值。一旦您有足够的数据——每个 age/gender 组至少 10 个用户——该组的数据就会显示。

Update

年龄、性别和兴趣是 Google 拥有的专有数据,不会导出到 BigQuery。

出于用户隐私原因,Firebase Analytics 不会将人口统计信息导出到 BigQuery。 Mikhail Berlyant 的回答正确地列出了在 Firebase 报告中报告人口统计数据的要求,但即使您有正确的设置并且超过 10 个用户,数据也不会导出到错误查询。您可以 select 报告中的 Firebase Analytics 图表和 copy/paste 它以获得关于聚合的 csv 报告。您无法在 BigQuery 中获取个人用户报告。