How to track devices in Google Universal Analytics from Air mobile application?
Hello,
I'm using Google Measurement Protocol to collect analytics data from mobile Air application
https://developers.google.com/analytics/devguides/collection/protocol/v1/
I found that Air application running on iPad 3 not detecting device model in google analytics reports.
I guess it's because Air environment sending incomplete user-agent string.
This is what it sending:
Mozilla/5.0 (iOS; U; ru) AppleWebKit/533.19.4 (KHTML, like Gecko) AdobeAIR/3.1
And this user-agent string sending by Safari on ipad (for comparison😞
Mozilla/5.0 (iPad; CPU OS 6_1_3 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B329 Safari/8536.25
So Air application knows much less than Safari.
My question is: How to create custom user-agent string in Air application so it contains enough data for google analytics to detect device model?
Is there any solution that will work on most ios and android devices?
