Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add Google Analytics to Android app without Firebase

Has anyone actually tried adding Google Analytics to Android app without using Firebase recently? I can't seem to find the way to get the GA Tracking ID. I actually managed to do it last year by creating the project in Google Developer Console first before adding GA.

Now GA doesn't even give the option of importing mobile app project without using Firebase. Anyone with similar experience?

The reason I am asking for this is because adding GA with or without Firebase shows different console interface. And the app with GA via Firebase doesn't show up on the GA Android App.

like image 561
Noel Chew Avatar asked Aug 24 '17 04:08

Noel Chew


People also ask

Do I need Firebase with GA4?

1) You don't need a firebase project as you don't own a mobile app. 2) Create new GA4 property from within the GA user interface. 3) Add a new web data stream to your GA4 property.

Should I use Firebase Analytics or Google Analytics?

Generally, if you are solely focused on creating and developing apps, Firebase is the best option for your business. It is mobile-forward and focused on the development of mobile apps. This will work better for an app-focused company. If you only have a website, Google Analytics is the best option.


1 Answers

Found a workaround to use Google Analytics for Mobile Apps without using Firebase.

Steps:

  1. Create a new Google Analytics Property.
  2. You will be asked "What would you like to track?"

If you choose Website: Website Option


If you choose Mobile App: Mobile App Option


You will notice that there is no option to create a tracking ID for Mobile Apps.

  1. Select Website and simply fill in the Website Name and URL.

A tracking ID will be generated for you.

An "All Web Site Data" view will be created for you.

  1. Open Administration of your account by selecting the Settings icon.

  2. Choose the newly created Property

  3. Click on the View dropdown and select "Create new view" Select "Create new view"

  4. Select "Mobile app" and fill in the view name Fill in the view name

  5. Done! Now, you can delete the web site data view.

like image 156
Noel Chew Avatar answered Oct 05 '22 23:10

Noel Chew