WordPress-Android icon indicating copy to clipboard operation
WordPress-Android copied to clipboard

[Android] Stats: This year's stats don't match numbers on the Web

Open staskus opened this issue 2 years ago • 4 comments

Yearly statistics of views, visitors, likes, and comments match iOS but don't match the Web.

image

Expected behavior

All the platforms have the same numbers.

Steps to reproduce the behavior

  1. Open Jetpack app with Stats enabled
  2. Open Stats tab
  3. Make sure "This year" card is added
  4. Compare year statistic with the Web

staskus avatar Sep 27 '22 08:09 staskus

Another report in 5690254-zen

I have been writing to you about the difference between the number of views reported by the WordPress application in the Trends category and the number of views in the Years category.

Web view

Stats on WP.com Stats on the app

WordPress - 21.0 - Version code: 1285 Android device name: Samsung SM-A137F

thabotswana avatar Nov 15 '22 09:11 thabotswana

@thabotswana , thanks for notifying us!

staskus avatar Nov 15 '22 09:11 staskus

Thanks for reporting! 👍

dangermattic avatar Feb 13 '24 14:02 dangermattic

The visitor counter does not work

This issue was mentioned in this beta app review: https://play.google.com/console/developers/7957760354032996428/app/4974498245291407393/user-feedback/review-details?reviewId=6b83fda3-da1c-4b55-a437-dbf343755dc7&corpus=BETA_FEEDBACK

guarani avatar Feb 13 '24 14:02 guarani

This seems to working alright now. There's no data transformation happening in the code either! See images below using Automattic Kudos site across mobile, and web!

Android Web
Image Image Image Image

👋 @staskus - Could you please check this again? If it's no longer an issue we can close this. 🙇

ravishanker avatar Mar 28 '24 06:03 ravishanker

@ravishanker

It looks like the issue is on the API side since it's reproducible both on the app and the web.

Insights vs Years tab on the app:

  • 2281 vs 2415 likes
  • 1007 vs 1056 comments
Insights Years
Screenshot_20240328_112652_Jetpack Screenshot_20240328_112642_Jetpack

Insights vs Traffic tab on the web:

  • 5437 vs 5462 comments
  • 11246 vs 11234 likes
Insights Traffic
Different numbers 2022

staskus avatar Mar 28 '24 09:03 staskus

I investigated this before pc8eDl-BI-p2. This is API inconsistency and we can close Android and iOS (https://github.com/wordpress-mobile/WordPress-iOS/issues/19356) issues.

staskus avatar Mar 28 '24 11:03 staskus

https://github.com/Automattic/jetpack/issues/36660 is where this bug is being tracked (sharing here for better visibility).

guarani avatar Apr 15 '24 21:04 guarani