This repository was archived by the owner on May 21, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 247
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:
- Instead choose
Websiteas your choice under property. Fill in the rest. URL should preferably be one that you own. - 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. - When creating the new View, now you can choose
Mobile appas the thing you want to track. Give the View a sensible name like "App view". - Under Admin-settings again for your GA account, choose
Property Settingsfor the property. - Under the
Default Viewdropdown, select "App view" (or whatever name you gave it). Scroll down and clickSave.
Now you should be able to track things in the property, and visitors in your mobile app should show up as normal.
Can we track Enhanced E commerce data from app using this flow?