Firebase + GTM Tracking - firebase

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.

Related

Google Tag Manager: No tag for GA4 configuration or GA4 event

I currently have two Google Tag Manager containers, one for Android and one for iOS. The problem is that there is no tag for GA4 configuration or GA4 event.
Is there some information or documentation somewhere that clarifies the process of migrating from UA to GA4 for Mobile and also setting up custom events in the GTM? There is no measurement ID for Android and iOS to link GTM to Analytics.
Firebase analytics events are itself is GA4 events. There are no requirements to integrate GTM for GA4 migration from GA3.
One just need to integrate firebase analytics in mobile app to pass events data in GA4. We can implement GTM to use add/modify/delete firebase event feature
Firebase Analytics: https://firebase.google.com/docs/analytics

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.

Firebase Data from Google Analytics API

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

Firebase Analytics to Google Analytics, how to retrieve the Client ID?

we are planning to move from the GA SDK to the Firebase SDK. Within the GA SDK there were options to retrieve the google analytics client ID (https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters#cid). This was fundamental since we transferred this value to the WebView (within the app), so that the customers tracking across native/webview was possible.
Does anybody know how to retrieve this client ID within firebase analytics SDK (iOS & Android)?
Thanks!
The short answer is no - the client ID equivalent (app instance ID) is not currently accessible through an SDK API.
The longer answer :
Firebase Analytics currently only supports logging events from native code. And so, the js code in your webview would call native code to log events and you don't need access to the app instance ID.

Is there any REST API to send data to firebase analytics

Firebase console gives good analytics data in one dashboard.
Is there any API by which I can push my analytics data from my own portal to Firebase analytics and see that analytics data in firebase analytics dashboard?
No, this is not possible at the moment. You need one of the mobile SDKs (iOS or Android) to compose the data.

Resources