javascriptmobilegoogle-analytics

How 'google analytics web' know name of mobile device with JavaScript?


From Google Analytics page

Hi.

I'm tracking some mobile pages with Google Analytics. And I found an interesting thing that Google knows which devices visited the pages.

How Google Analytics detects specific device name (model name like Samsung SHV-E250S) with JavaScript not only device type (iPhone, Android or Windows)?


Solution

  • From browser's UserAgent, we can achieve model number(such as iPhone OS 3_0, LG-L160L) of the device.
    So from that data, google can assume what device is it.