Android Implemeting Firebase Analytics For Recording User Engagement with Application

Updated 14 December 2016

Save

Firebase Analytics is a free app measurement solution that provides insight on app usage and user engagement.

You can log the event firebase sdk default event and also custom event.

How Does it work?

1) CAPTURE LOG EVENTS
The Firebase SDK automatically captures a number of events and user properties and also allows you to define your own custom events to measure the things that uniquely matter to your business. Once the data is captured, it’s available in a dashboard through the Firebase console.

2) DISPLAY ON FIREBASE CONSOLE/DASHBOARD

This dashboard provides detailed insights about your data — from summary data such as active users and demographics, to more detailed data such as identifying your most purchased items.

How to integrate Firebase Analytics?

1)  Add Analytics to your app

Add the dependency for Firebase Analytics to your app-level build.gradle file:

2) LOG events

First of all, we have created to separate class for logging Analytics event:

We can call the static method to perform logging events.

 

Finally you can check the log event (However you have to wait for a day for first new log event to start displaying data) in the Analytics events dashboard.

screenshot-from-2016-11-04-222929

 

That’s all folks!!

Stay Updated !!

 

REFERENCES:

https://github.com/firebase/quickstart-android/tree/master/analytics

https://firebase.google.com/docs/analytics/

https://firebase.google.com/docs/analytics/android/start/

author
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Start a Project


    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home