Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Analytics 'Mobile Device Model' and Android's Build.MODEL

Is there any way to obtain 'Mobile Device Model' parameter on Android that is posted to Google Analytics? Build.MODEL constant mismatches 'Mobile Device Model', that is displayed on Google Analytics web page in certain cases. For example, for Huawei Nova, 'Mobile Device Model' is 'CAN-L11', and Build.MODEL equals 'Huawei CAN-L11'.

Thanks in advance!

like image 233
Orange Avatar asked Sep 13 '17 12:09

Orange


People also ask

How does Google Analytics compare to mobile and desktop?

Mobile Device Usage in Google Analytics To see what percentage of your users are on mobile devices open up the Audience tab, and select Mobile and Overview. On the overview page, you should see all your normal Google Analytics data segmented between Desktops, Mobile and Tablets.

What are the four scope types in Google Analytics?

There are four levels of scope: product, hit, session, and user: Product – value is applied to the product for which it has been set (Enhanced Ecommerce only). Hit – value is applied to the single hit for which it has been set.

Are there different versions of Google Analytics?

As you may know, there are currently two versions of Google Analytics that it is possible for you to have running on your website – Universal Analytics and Google Analytics 4. Universal Analytics is the older version that most people are more familiar with.

Does Google Analytics work on mobile?

Analytics surfaces data about user behavior in your iOS and Android apps, enabling you to make better decisions about your product and marketing optimization. View crash data, notification effectiveness, deep-link performance, in-app purchase data, and more.


2 Answers

This cool and small library returns the commercial name based on the Build.MODEL and Build.DEVICE. https://github.com/jaredrummler/AndroidDeviceNames

Internally it uses this Google's maintained list with over 10K devices (which probably uses GA as well): https://support.google.com/googleplay/answer/1727131?hl=en

In case there is no automatic way to get the build model string used by Google Analytics, you might create your own solution using these sources.

like image 82
rolgalan Avatar answered Nov 15 '22 11:11

rolgalan


Seems 'Mobile Device Model' is unusable in my case. The only way to get Google Analytics to work correctly is using events labels with Build.MODEL. You shoot two rabbits at once: reports become more detailed (earlier with 'Mobile Device Model' reports contained only 10% of overall collected data) and you get reusable data.

like image 36
Orange Avatar answered Nov 15 '22 09:11

Orange