Firebase Data from Google Analytics API - firebase

How can we get firebase data via Google Analytics API?
Normally, APP data was on Google Analytics property, and it was possible to get data via Google Analytics View ID.
Unfortunately, Google supposes app tracking on Firebase now. How we can get firebase data via Google Analytics API (core api) on Google sheets?

This isn't exactly what you're asking for, but if you have the "Blaze" Firebase plan it's possible to export Firebase Analytics and other data to BigQuery to allow querying the raw data.
Sign in to Firebase.
Click the Settings icon and select Project Settings.
On the Project Settings page, click the Integrations tab.
On the BigQuery card, click Link.
If billing has not already been enabled for your project, click
Upgrade & link.
Further reading:
https://support.google.com/firebase/answer/6318765?hl=en
https://cloud.google.com/solutions/mobile/mobile-firebase-analytics-bigquery

Related

Google analytics with firebase not showing

I have firebase analytics for my app, works perfectly on the firebase site.
But when I clicked on View more in Google Analytics, it is giving me an error.
You do not have access to the account, property, or view. Contact an Analytics administrator who has the Manage Users permission.
And I checked the integration in firebase project settings it says it is linked.
I see the Property ID there, but I can't find this Property ID in Google analytics...
I tried giving permission to Google Analytics property to the firebase-service-account and firebase-admin-SDK, I gave them an Analyst Role, but yet to be working.
when I create a new project for the same account it's linked easily.
What can I do??
You need to have at least an Editor role to the Google Analytics account/property, since your Analytics data now resides in the Google Analytics property, and not within the Firebase project. That's why you need to have matching user permissions in both Firebase and Google Analytics. You can use this troubleshooter to reach out to Google Analytics team and check how you can get access to the connected GA account in your Firebase project. You can check the GA account and GA property connected to your Firebase project in the Firebase Project Settings > Integrations tab> Google Analytics card.

Unable to enable google analytics for bigquery linking in firebase

I have an android app which has firebase analytics enabled. I am able to see events in firebase console. Now I want to connect it with big query. As I am using a team account for firebase, asked admin to give me owner access in firebase and editor access in connected google analytics account. After getting both access I tried to connect big query in firebase but it was not allowing me to select Google Analytics option while creating link. When I hover over that option it is showing message as "You need to be an Editor on the Google Analytics account linked to your project to modify BigQuery export". I am not sure what changes am I supposed to do to enable this and create a big query connection. Please help.
While you have the permissions in firebase you need to have Editor access to the Google Analytics Account as well in order to perform the connection. It is important that permission is given on the Account Level and not on the data view level.

Integrating Branch.io with Google Analytics when app is connected using Firebase

I want to integrate Branch.io with the Google Analytics property for my app.
I have succesfully linked my app to Google Analytics using Firebase, but since I used Firebase as the tracking method, I don't have any Tracking ID, that I can enter in Branch.io's data integrations.
Has anyone found a solution to this?
Unfortunately, we do not have direct integration with Firebase. You can switch to Google Analytics to obtain your tracking ID. You can find more info on our documentation.

How to get report from Firebase analytics using Firebase admin API

I am using node js Firebase SDK.
How can I access analytics data from Firebase, with the help of Firebase admin API.
Update: there is now an API to get the Analytics reports data. See my answer here: Is there any api for dashboard analytics data?
You can also:
download the analytics report data from the Firebase console by clicking the Download CSV option from the ⠇ overflow menu. Also see my answer here: Is it possible to embed Firebase Analytics data from my apps into a webpage?
connect Firebase Analytics to BigQuery to export the raw events, and query them in BigQuery, or visualize them with Data Studio.

Firebase + GTM Tracking

My goal is to have App Data in Firebase Analytics, and other custom data plus app data in Google Universal Analytics.
My question is if I install Firebase SDK and GTM SDK on my App.
Does GTM handle all the data push to analytics. So with Firebase and GTM installed, will the firebase analytics automatically pick up the event tracking without going through GTM. Or when GTM is installed, everythign has to go through GTM.
For example, if I configure GTM to push data into Firebase Analytics, then will the data in Firebase Analytics be doubled up? Since GTM is pushing data and Firebase is automatically pushing data into Firebase Analytics.
Same App Event -> Firebase SDK -> Firebase Analytics (automatic)
Same App Event -> Firebase SDK -> GTM SDK -> Firebase Analytics (gtm container configured)
Same App Event ->Firebase SDK -> GTM SDK -> Google Analytics (gtm container configured)
First two will be doubled up? Is that right? Does that mean I dont need the gtm container configuration for Firebase analytics?
Through my experience, if you only want Firebase Analytics, you only need to install the Firebase SDK but if you want to then send that data to Google Analytics, you need GTM to send that data via a configured container.
Same App Event ->Firebase SDK -> GTM SDK -> Google Analytics (gtm container configured)
As an example, we have implemented Google Analytics extensively on our site to collect web data but we are utilizing Firebase (essentially as a data layer) to collect mobile app data and GTM to then send that data to Google Analytics.
Hope that helps.
If you are not using Google Analytics, you don't need to use GTM. You can track events in Firebase Analytics itself using Firebase SDK as well as you can track customized events.
If I configure GTM to push data into Firebase Analytics, then will the data in Firebase Analytics be doubled up?
Answer: Yes, if you trigger the same event from GTM as well. You will see the events twice in Firebase Analytics as one would be triggered from GTM always with the events which happen. If this issue is what you come through, try not triggering the events from GTM.

Resources