Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
Updated 27 September 2023
In this blog, I have shown, How to track your android Application by a great and free analytics tool. There are many analytics tools which can be used the like Segment.io, MixPanel, Localytics, Amazon Mobile Analytics etc. But They are not totally free and easily understandable.
So, here I am showing how to implement Google Analytics v4 in your application with a lot of key features like create multiple views according to different countries times, real-time users, bug report, active users and many more. This is absolutely free of cost and easy to implement.
The Screen-shot of the real time users of Mobikul-OC-Demo App.
There are some easy steps to setup the google analytics to your app
Step 1: Add permission to your manifest.xml
Step 2: Add a plugin to your project in your top-level build.gradle and your app-level build.gradle files as follows:
build.gradle
Step 3: Get a configuration file by this link.
Step 4: Copy the google-services.json file into your app/ or mobile/ directory of your Android Studio project.
google-services.json
app/
mobile/
There is some block of code to track your application’s current activity
Sources:
developers.google.com/analytics/
Next Chapter
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
Name
Email
Subject
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.