Ad

Using Google Analytics For Android, Redirected To Firebase?

I'm trying to add Google Analytics(GA) into my android project. But I couldn't find where to generate a google-services.json file. (I did generate it in another project before, but it seems that Google remove the link in guides.)

Ad

Answer

As per developer.android.com blog now google analytics service are deprecated and about to close around 11 April 2019. And as per their document If you have implemented google analytics then migrate to firebase.
And if you are fresh to implement then try firebase.
That document provide all information about your query.

Steps to implement firebase analytics to your app.

  1. simply implement firebase analytics just click on android studio's Tools menu.
  2. Then select firebase and it show one firebase assistant in your android studio window.
  3. Select firebase analytics option from them and it show the instruction how to implement it.
    That's it. It will tack around just 5 minutes.

Hope this will help you

Ad
source: stackoverflow.com
Ad