Firebase Mobile App Tracking - Which libraries to use? - android

may I ask you:
We would like to implement mobile app tracking in Google Analytics in both Android and iOS apps. We are using a standard guide with Firebase analytics and Google Tag Manager.
There is a list of libraries available at the Firebase website:
https://firebase.google.com/docs/android/setup
Which of them do we need to implement, if we want to track all standard things in Google Analytics, like screenviews, events.
com.google.firebase:firebase-core:10.2.1 Analytics
com.google.firebase:firebase-database:10.2.1 Realtime Database
com.google.firebase:firebase-storage:10.2.1 Storage
com.google.firebase:firebase-crash:10.2.1 Crash Reporting
com.google.firebase:firebase-auth:10.2.1 Authentication
com.google.firebase:firebase-messaging:10.2.1 Cloud Messaging and Notifications
com.google.firebase:firebase-config:10.2.1 Remote Config
com.google.firebase:firebase-invites:10.2.1 Invites and Dynamic Links
com.google.firebase:firebase-ads:10.2.1 AdMob
com.google.firebase:firebase-appindexing:10.2.1 App Indexing
Thank you

Firebase Analytics and Google Analytics are two difference services.
If you want to implement Firebase Analytics then you add:
com.google.firebase:firebase-core:10.x.x
If you want to implement Google Analytics then you have to add:
compile 'com.google.android.gms:play-services-analytics:10.x.x'
For complete installation guide and latest version follow official guidelines
https://developers.google.com/analytics/devguides/collection/android/v4/

Related

Google Analytics upgrade failure for Firebase Messaging project

I have an old project which I still find useful that was originally built with Google Cloud Messaging, that I then had to convert to use Firebase Cloud Messaging. I haven't worked on it for years but find it useful for my friends to track my phone's position via a web page on my always-on Raspberry Pi.
I received an e-mail from Google Analytics which said
You are receiving this email because you own one or more Firebase
projects using Google Analytics. With the release of Google Analytics
4 properties, to keep using your Firebase projects with Google
Analytics, you must take action to accept the Google Analytics Terms
of Service for the following projects:
I tried following the upgrade instructions via the console and get a failure due to an internal error
To the best of my knowledge I don't use any of the analytics stuff, so my question is quite simple:
"Will my existing messaging to my phone from my web page still work?"
firebaser here
Sorry to hear about the problem you have when upgrading your project to GA4. Our team is aware of the problem, and working on a fix, so I recommend trying again in a few hours. Meanwhile check this page for status updates.
Firebase Cloud Messaging relies on Google Analytics data to build its dynamic audiences, which you can target when sending notification from the Firebase console. If you don't use dynamic audiences, you don't need Google Analytics to use Firebase Cloud Messaging.

Integrating AppsFlyer to Google Analytics property migrated from Firebase

Our mobile app tracks app installs with AppsFlyer. We now need to track installs with Firebase. Our Firebase app links to Google Analytics. So, we are trying to integrate Appsflyer to GA and get AppsFlyer to send install events to GA automatically.
Following the link below, AppsFlyer requires GA's tracking_id as the Account_Id for the integration. As our GA property was linked from Firebase project, there isn't any tracking_id. Is there any other firebase id we can use for this?
https://support.appsflyer.com/hc/en-us/articles/207040616-Google-Analytics-integrations#intro
As you pointed out, Firebase for analytics doesn't included the GA ID that you need in order to integrate GA with AppsFlyer.
What you can do is integrate AppsFlyer with Firebase and GTM.
Note that this integration requires you to send installs to Firebase as in-app events. It doesn't really send installs to Firebase. The link I included takes you to a section in the article that explains how to do it.

Google Analytics for Firebase and Google Analytics v4

I’m currently working on an Android application that uses Google Analytics V4 for analysis. This has been working well for a couple of years now and the app reports are available in the dashboard in the Google Analytics interface.
I’m now migrating to Firebase SDK for analytics. I don’t want to lose the data I currently have in the Google Analytics interface.
As per the official documentation here https://developers.google.com/analytics/devguides/collection/firebase/android/, if I use Firebase SDK for analytics, once the data is captured, it's available in a dashboard in both the Google Analytics interface and the Firebase console.
But I’m confused because I also read in another post that we have to integrate with Google Tag Manager to make data available in both Google Analytics interface and the Firebase console.
Android - Google tag Manager with Google Analytics and Firebase Analytics
My questions are:
1) If I switch to Firebase SDK, will my app reports be automatically available on both Google Analytics interface and Firebase console?
2) Do I need to integrate with Google Tag Manager to make data available on both interfaces?
3) If I send custom events using Firebase SDK as follows,
Bundle params = new Bundle();
params.putString(CATEGORY_KEY, "test");
params.putString(ACTION_KEY, event);
params.putString(LABEL_KEY, label);
params.putLong(VALUE_KEY, duration);
mAnalytics.logEvent(EVENT_KEY, params);
will it appear in the Google Analytics interface?
Thanks in advance
Yes, the Google Analytics for Firebase dashboard is in both the Google Analytics interface and the Firebase console.
You need to use GTM if you are sending events to an existing GA property - e.g. you want to see a single report with web and mobile.
Google Analytics for Firebase dashboard, which is in both interfaces.

Firebase vs Google Analytics

I have installed Firebase to my Android and iOS apps, I can check the stats on computer, but can't check them on my iphone Google analytics app. Is there any way or app where can I check the stats or do I need to install also Google analytics to my apps as well?
When you use Google Analytics for Firebase (formerly known as Firebase Analytics) the analytics results show up in the Firebase console. They do not (currently) show up in the Google Analytics dashboard.
You can have a Firebase view in GA : it's just a webview of your firebase Console in GA (so the FiB and GA data are not mixed at all).
Another solution is to use a GTM container to send and convert your FiB event into GA data.
Here is the documentation for this process :
iOS
Android

How do I integrate Google Analytics if my project is linked to Firebase?

I'm developing an android app for, for which I want integrate Firebase Analytics.
But apparently logging custom events and viewing those custom events in a dashboard is not easy.
And the Google App Engine project is linked to Firebase now, but I want to integrate Google Analytics for the same project in my android app.
But while trying to set up Google Analytics, when I try to select project and click on CONTINUE TO Choose and configure services I'm getting redirected to Firebase Analytics page.
Please help. Thanks :)
If you're using Firebase, you already have Firebase Analytics on your app (out of the box). If you check your Firebase Console, you'll notice that some events have already been collected.
And logging Custom Events is not really hard. You can check how to do it on the Firebase Analytics Documentation.

Categories

Resources