Page MenuHomePhabricator

App requests classified as pageviews that probably should not be so
Closed, ResolvedPublic

Description

There are quite a few request from apps being classified as pageviews that *i think* are bot traffic. For example these are all requests fired by the same device in close succession:

8b5b8d8871            |2019-07-01T14:27:58Z|/api/rest_v1/page/mobile-sections-lead/United_States_Secretary_of_Homeland_Security|WikipediaApp/2.7.225-r-2018-02-06 (Android 9; Phone) Google Play|
|8b5b8d8871            |2019-07-01T14:28:04Z|/api/rest_v1/page/mobile-sections-lead/List_of_Roman_emperors                      |WikipediaApp/2.7.225-r-2018-02-06 (Android 9; Phone) Google Play|
|8b5b8d8871            |2019-07-01T14:28:06Z|/api/rest_v1/page/mobile-sections-lead/United_States_Navy_ships                    |WikipediaApp/2.7.225-r-2018-02-06 (Android 9; Phone) Google Play|
|8b5b8d8871            |2019-07-01T14:28:07Z|/api/rest_v1/page/mobile-sections-lead/John_Ripley_(USMC)                          |WikipediaApp/2.7.225-r-2018-02-06 (Android 9; Phone) Google Play|
|8b5b8d8871            |2019-07-01T14:28:09Z|/api/rest_v1/page/mobile-sections-lead/Montepulciano_(grape)                       |WikipediaApp/2.7.225-r-2018-02-06 (Android 9; Phone) Google Play|
|8b5b8d8871            |2019-07-01T14:28:10Z|/api/rest_v1/page/mobile-sections-lead/Barbaresco                                  |WikipediaApp/2.7.225-r-2018-02-06 (Android 9; Phone) Google Play|
|8b5b8d8871            |2019-07-01T14:28:11Z|/api/rest_v1/page/mobile-sections-lead/Paul_J._Zak                                 |WikipediaApp/2.7.225-r-2018-02-06 (Android 9; Phone) Google Play|
|8b5b8d8871            |2019-07-01T14:28:12Z|/api/rest_v1/page/mobile-sections-lead/Men's_major_golf_championships              |WikipediaApp/2.7.225-r-2018-02-06 (Android 9; Phone) Google Play|
|8b5b8d8871            |2019-07-01T14:28:13Z|/api/rest_v1/page/mobile-sections-lead/Alberto_Bettiol                             |WikipediaApp/2.7.225-r-2018-02-06 (Android 9; Phone) Google Play|
|8b5b8d8871            |2019-07-01T14:28:14Z|/api/rest_v1/page/mobile-sections-lead/George_N._Gillett_Jr.                       |WikipediaApp/2.7.225-r-2018-02-06 (Android 9; Phone) Google Play|
|8b5b8d8871            |2019-07-01T14:28:15Z|/api/rest_v1/page/mobile-sections-lead/William_Tecumseh_Sherman                    |WikipediaApp/2.7.225-r-2018-02-06 (Android 9; Phone) Google Play|
|8b5b8d8871            |2019-07-01T14:28:16Z|/api/rest_v1/page/mobile-sections-lead/Coefficient_of_variation                    |WikipediaApp/2.7.225-r-2018-02-06 (Android 9; Phone) Google Play|
|8b5b8d8871            |2019-07-01T14:28:17Z|/api/rest_v1/page/mobile-sections-lead/Michael_Douglas                             |WikipediaApp/2.7.225-r-2018-02-06 (Android 9; Phone) Google Play|
|8b5b8d8871            |2019-07-01T14:28:18Z|/api/rest_v1/page/mobile-sections-lead/Barbara_Bush                                |WikipediaApp/2.7.225-r-2018-02-06 (Android 9; Phone) Google Play|
|8b5b8d8871            |2019-07-01T14:28:18Z|/api/rest_v1/page/mobile-sections-lead/Brunello_di_Montalcino                      |WikipediaApp/2.7.225-r-2018-02-06 (Android 9; Phone) Google Play|
|8b5b8d8871            |2019-07-01T14:28:19Z|/api/rest_v1/page/mobile-sections-lead/Ron_Howard                                  |WikipediaApp/2.7.225-r-2018-02-06 (Android 9; Phone) Google Play|
|8b5b8d8871            |2019-07-01T14:28:20Z|/api/rest_v1/page/mobile-sections-lead/Beto_O'Rourke                               |WikipediaApp/2.7.225-r-2018-02-06 (Android 9; Phone) Google Play|
|8b5b8d8871            |2019-07-01T14:28:21Z|/api/rest_v1/page/mobile-sections-lead/Premier_of_the_People's_Republic_of_China   |WikipediaApp/2.7.225-r-2018-02-06 (Android 9; Phone) Google Play|
|8b5b8d8871            |2019-07-01T14:28:22Z|/api/rest_v1/page/mobile-sections-lead/FIS_Alpine_Ski_World_Cup                    |WikipediaApp/2.7.225-r-2018-02-06 (Android 9; Phone) Google Play|
|8b5b8d8871            |2019-07-01T14:28:23Z|/api/rest_v1/page/mobile-sections-lead/Lindsey_Vonn                                |WikipediaApp/2.7.225-r-2018-02-06 (Android 9; Phone) Google Play|

Can someone from apps (pinging @Dbrant) take a look at whether these requests might be intentional (app pre-building some kind of content or similar?) In the case of this being intentional traffic it should not be counted as pageviews either but it should not be counted to wards bot activity

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Thanks for asking @Nuria. @Dbrant is out on holiday, so @Sharvaniharan or @cooltey might be able to take a look for you.

Noticed that the logs were from a very old version 2.7.225-r-2018-02-06

I am guessing that they were because when the app syncs the reading lists and it will make requests to /api/rest_v1/page/mobile-section-lead and /api/rest_v1/page/mobile-sections-remaining for offline reading.

Do you see any recent date log that contains mobile-sections-lead or mobile-sections-remaining, and also do you have the schema of the logs? Thanks!

@cooltey let me make sure i understand your request, the app version might be old but these are recent logs from july 1st.

Also, there are a lot of requests that request the same content over and over which might indicate a problem, see three identical requests in close succession.

004568b0ef2019-07-01T15:00:58Z/api/rest_v1/page/mobile-sections-lead/Mercedes-Benz_CLKWikipediaApp/2.7.50282-r-2019-05-24 (Android 9; Phone) Google Play
004568b0ef2019-07-01T15:00:59Z/api/rest_v1/page/mobile-sections-lead/Mercedes-Benz_CLKWikipediaApp/2.7.50282-r-2019-05-24 (Android 9; Phone) Google Play
004568b0ef2019-07-01T15:01:02Z/api/rest_v1/page/mobile-sections-lead/Mercedes-Benz_CLKWikipediaApp/2.7.50282-r-2019-05-24 (Android 9; Phone) Google Play
004568b0ef2019-07-01T15:01:07Z/api/rest_v1/page/mobile-sections-lead/PumaWikipediaApp/2.7.50282-r-2019-05-24 (Android 9; Phone) Google Play
004568b0ef2019-07-01T15:01:13Z/api/rest_v1/page/mobile-sections-lead/Puma_(Sportartikelhersteller)WikipediaApp/2.7.50282-r-2019-05-24 (Android 9; Phone) Google Play

Thanks @Nuria for providing the requests logs from a newer version of the release. (2.7.50282-r-2019-05-24)

I believe someone was using an old version (>1 year ago) of the app and there’s not much we can do, but we can still keep our eyes on it to see if it is still happening in the latest release.

In the 2.7 app, yes, this continues to happen but i cannot see it happen on newer versions.
Also I can see similar pattern in iOS.

Since to calculate this I had to calculate other things i though I'd share that at the 50th percentile users are doing two pageviews on the app per day, the percentile 90 is about 9 pageviews per day.

Thanks @Nuria - the issues will be resolved once those on the older versions update the app (assuming they do; we don't force updates). Interesting view stats.