如何在React Native应用中从Firebase分析中检索数据?

huangapple go评论62阅读模式
英文:

How to retrieve data from firebase analytics in react native app?

问题

我想使用 react-native-firebase 包在我的 React Native 应用中包含 Firebase 和 Firebase 分析功能。文档中提到了如何发送数据,但我想要获取在我的移动应用中发送到 Firebase 分析的数据。有人知道如何实现吗?任何帮助将不胜感激!

英文:

I want to use react-native-firebase package to include firebase and firebase analytics in my react native app. It's mentioned in the document how data can be sent but I want to retrieve the sent data that will be sent in the firebase analytics in my mobile app. Does anybody know how this can be achieved? Any help would be appreciated!

答案1

得分: 1

是的,当然。简单。两个步骤:

首先,你需要将一个 GA4 资产链接到 FB

然后,你可以选择将 GA4 数据导出到 BQ,然后按需处理,或者通过GA4 的报告(数据)API进行更痛苦但更便宜的导出路径。

你也可以直接将 FB 链接到 BQ,但通过 GA4 进行操作可以获得更多潜在功能,而不必调整 ETL(太多)。

最后,这个问题可能是另一个问题的重复,但我注意到得太晚了:https://stackoverflow.com/questions/35095707/is-there-any-api-for-dashboard-analytics-data

英文:

Yes, definitely. Easy. Two steps:

First, you link a GA4 property to FB.

Then you either export the GA4 data to BQ and then do with it what you will OR you go through a more painful (but cheaper) path of exporting it through the GA4's reporting (data) api.

You can also just link the FB to BQ directly, but you get a bit more potential capabilities when you do it via GA4. Capabs like including more sources in the project without having to adjust the ETL (too much).

Finally, this question is probably a duplicate of another, but I noticed it too late: https://stackoverflow.com/questions/35095707/is-there-any-api-for-dashboard-analytics-data

huangapple
  • 本文由 发表于 2023年3月23日 10:15:15
  • 转载请务必保留本文链接:https://go.coder-hub.com/75818746.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定