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!
Asked
Active
Viewed 255 times
1 Answers
1
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: Is there any api for dashboard analytics data?

BNazaruk
- 6,300
- 3
- 19
- 33
-
Hey, thanks a lot for the answer.could you tell me If I link fb directly to BQ how can I retrieve that data in the app? I can see there is BQ integration option available in the fb how that data can be retrieved with the app? If possible please share a link or something that I can refer. Thanks in advance! – Yus Mar 23 '23 at 04:50
-
It's usually odd and unsafe to query your analytics data in an app. BQ is a remote SQL DB. You connect and query it as any other remote SQL DB. If you're gonna go that route, then the difference between using the BQ versus GA4 reporting data is not significant, so you may as well just use GA's reporting API. GA basically took the API and the data model from Firebase, so now behind the scenes Firebase is the same as GA4. – BNazaruk Mar 23 '23 at 05:03