Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Creating a Google Analytics property for mobile analytics

Christian Brevik edited this page Jan 28, 2018 · 1 revision

Some people have reported issues tracking from mobile apps. This is NOT (normally) and error with this library. Read on..

When creating a new Google Analytics property, you're asked:

What would you like to track?

And you get two choices:

  • Website
  • Mobile app

And your first instinct here is probably to choose Mobile app, but do not choose that option.

Google is trying to push customers towards using Firebase these days, so a mobile app property in Google Anlytics will by default use Firebase.

However, these is a workaround. These are the steps:

  1. Instead choose Website as your choice under property. Fill in the rest. URL should preferably be one that you own.
  2. Under Admin-settings (cogwheel) for your GA account, choose the newly created property (the middle column). In the right column is your view-settings. There click the dropdown and choose Create new view.
  3. When creating the new View, now you can choose Mobile app as the thing you want to track. Give the View a sensible name like "App view".
  4. Under Admin-settings again for your GA account, choose Property Settings for the property.
  5. Under the Default View dropdown, select "App view" (or whatever name you gave it). Scroll down and click Save.

Now you should be able to track things in the property, and visitors in your mobile app should show up as normal.

Clone this wiki locally