Add Analytics to cc, as I think they'll be interested as well :)
On Thu, Mar 27, 2014 at 3:20 AM, Yuvi Panda yuvipanda@gmail.com wrote:
Hello!
We are getting closer to a general release of the Wikipedia Android and iOS apps, and I think we should standardize on a User-Agent format. The old app just appended an identifier in front of the phone's default UA[1] but I think we can do better, to avoid privacy concerns[2].
How about:
WikipediaApp/<version> <OS>/<form-factor>/<version>
This gives us all the info we need (App version, OS, Form Factor (Tablet / Phone) and OS version) without giving away too much. It is also fairly simple to construct and parse.
For the latest alpha, my Nexus 4 would generate
WikipediaApp/32 Android/Phone/4.4
While an iOS device might generate
WkipediaApp/2.0 iOS/Phone/7.1
form-factor would just be Phone|Tablet for now, and can be expanded later if necessary.
Thoughts?
[2]: https://www.mediawiki.org/wiki/EventLogging/UserAgentSanitization
Yuvi Panda T http://yuvi.in/blog