通过客户 uid 查询 firebase api

Querying firebase api by customer uid

我正在尝试为我的客户创建自定义分析仪表板。有没有办法通过按客户 uid 等过滤的 REST API 从 google / firebase 获取分析数据?还是我必须自己跟踪所有数据才能为我的客户创建统计数据。

为了更好地理解我的问题 - 我创建了一个平台,人们可以在其中宣传他们的餐厅,我想向他们展示一些关于他们的观点、互动等的统计数据。

听起来 exporting the Analytics events to BigQuery 最适合您,并据此建立客户报告。这不是您可以从您的应用程序调用的直接 API,但它为您提供了最大的灵活性

或者,您可以使用 Reporting API v4。用它自己的话来说:

The Google Analytics Reporting API v4 provides programmatic methods to access report data in Google Analytics (Universal Analytics properties only). With the Google Analytics Reporting API, you can:

  • Build custom dashboards to display Google Analytics data.
  • Automate complex reporting tasks to save time.
  • Integrate your Google Analytics data with other business applications.