Page MenuHomePhabricator

KPI - Identify maps traffic from Mobile App
Closed, DeclinedPublic

Description

We need to get data about Apps usage of maps.

Ideas:

  • Obtain per user interaction statistics:
    • number of unique users per day/week/month? who used nearby
    • number of map interaction per "nearby" feature use - how many tiles were loaded, time spent using it, how it was used - e.g. average number of articles a user previewed (per unique user/per nearby use?)
    • nearby feature use - should allow us to do A/B testing with different forms icons on the map, map styling, etc

Event Timeline

Yurik raised the priority of this task from to Needs Triage.
Yurik updated the task description. (Show Details)
Yurik added subscribers: Yurik, MaxSem, Tfinc, Ironholds.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Is this actually a KPI? That is, specifically that we're tracking App stuff? And, Tomasz, can you confirm the urgency and prioritise this with Dan? We've had discussions before about the need to avoid running into a "ah, just one more" situation with adding new dashboard tabs and metrics and I want to make sure everyone is on the same page with the importance of this task, relative to our support of Discovery as a whole.

The app absolutely produces a user agent - it also produces a UUID. This should be fairly simple, in the sense of not requiring us to invent new things, albeit fairly time consuming.

Oliver, the urgency is only with deciding if we need to urgently take an
action or not ) if all traffic is already marked with UA, we should be
good, and plan it without haste

So we have a phabricator task marked "urgent" not because solving it is urgent but because you didn't know if we'd be able to implement it trivially?

In the future emailing me may be easier ;p. I'm going to amend the task to remove urgency requirements.

Ironholds_backup set Security to None.

So my next comment would be; again, why Apps specifically? I.E. why does this need to be called out?

@Ironholds What's your preferred method for identifying traffic from the apps? By user agent, or by putting some data in the X-Analytics header?

@Yurik @Ironholds

  • We are able to determine the number of unique users of Nearby, via eventlogging from the app (i.e. when someone taps Nearby from the navigation menu): https://meta.wikimedia.org/wiki/Schema:MobileWikiAppNavMenu
  • As for user agent when requesting tiles, the Mapbox SDK (which the app uses to render the map) automatically sets the user agent to something of the form "Mapbox Android SDK/[version]"

Does it still pass through the UUID in the x_analytics field?

Unfortunately I don't believe so. We'd have to see about making that change.

So basically we've got a generic user agent and no UUID? Yeah, that change will be needed. At the moment we won't even be able to robustly identify app traffic full stop, unless nobody else uses Mapbox.

I've opened an issue in the Mapbox SDK to allow setting a custom userAgent.
https://github.com/mapbox/mapbox-gl-native/issues/3149

It looks like we still can't set a custom userAgent in Mapbox (the above issue is still open)...

Yurik edited projects, added Maps (Kartographer); removed Maps.
LGoto subscribed.

Closed as part of board grooming process.