This project has moved and is read-only. For the latest updates, please go here.
1

Resolved

Supply Win10 Mobile user-agent

description

The new Win10/UWP version supplies a user agent consistent with Win10 desktop machines. However, Win10 Mobile apps will need a slightly different user agent for GA to properly detect the OS.

comments

timgreenfield wrote Aug 25, 2015 at 7:09 PM

Changing user agent to include "Windows NT" if desktop OS and "Windows Mobile" if phone.

Also changing user agent to:
  1. Include architecture (x86, x64, or ARM) to be consistent with Edge browser useragent.
  2. OS version number is now dynamic (should allow future versions of the OS to show up in GA without rebuilding app).
  3. Removing unused user agent info about compatible browsers.

JayTBennett wrote Nov 4, 2015 at 3:53 PM

Tim which version has this been resolved in? Was about to pull the source and submit a pull request as Windows 10 mobile events are still being categorised as "desktop" in 1.3

Thanks

ndc_pt wrote Nov 4, 2015 at 6:14 PM

I get it working by using "Windows Phone" instead of "Windows Mobile" in user agent.

Regards