Hi Amir,

Would it be crazy to ask for statistics of user agents per page or per namespace?
I'd hypothesize, for example, that IE is used much less outside of the article and portal namespaces. 
 
I don't think it's crazy. I +1 your hypothesis :]
But, yes, I see it difficult to implement:
  • The new user-agent breakdown reports (browser-reports.wmflabs.org) are derived from the pageview_hourly table which comes from the webrequest table, both in hadoop. None of them has structured information about the namespace. It should be parsed from the URL or other fields, but the namespaces have different names in different languages, so this would be very tricky.

  • Breaking down the user-agent statistics per article would be also very expensive computationally, given the high number of articles. The Pageview API shows pageviews per article, and to reach this we Analytics have had to solve storage and data loading and compression problems, that arose from the big size of that data. Having user-agent breakdown per article would mean multiplying the size of that by a lot.
Maybe I'm missing an easier way to do it, but it seems it would take a long time to solve this.

On Fri, Apr 29, 2016 at 1:04 PM, Amir E. Aharoni <amir.aharoni@mail.huji.ac.il> wrote:
Would it be crazy to ask for statistics of user agents per page or per namespace?

I'd hypothesize, for example, that IE is used much less outside of the article and portal namespaces.

In case you're wondering what is it useful for: When I have a patch that requires browser compatibility trickery, I may want to invest less time in IE compatibility in a page that is unlikely to be viewed in IE much.

--
Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
http://aharoni.wordpress.com
‪“We're living in pieces,
I want to live in peace.” – T. Moore‬

_______________________________________________
Analytics mailing list
Analytics@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/analytics




--
Marcel Ruiz Forns
Analytics Developer
Wikimedia Foundation