Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
staskus opened this issue Sep 27, 2022 · 8 comments
Closed

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

staskus opened this issue Sep 27, 2022 · 8 comments
Assignees
Labels
Linked to App Review This issue was mentioned in at least one app store review. [Pri] Low Stats [Type] Bug

Comments

@staskus
Copy link
Contributor

staskus commented Sep 27, 2022

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 staskus changed the title [Android] Stats: This year stats don't match numbers on the Web [Android] Stats: This year's stats don't match numbers on the Web Sep 27, 2022
@thabotswana
Copy link

thabotswana commented Nov 15, 2022

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

@staskus
Copy link
Contributor Author

staskus commented Nov 15, 2022

@thabotswana , thanks for notifying us!

@guarani guarani added the Linked to App Review This issue was mentioned in at least one app store review. label Feb 13, 2024
@dangermattic
Copy link
Collaborator

Thanks for reporting! 👍

@guarani
Copy link
Contributor

guarani commented Feb 13, 2024

@ravishanker ravishanker self-assigned this Mar 27, 2024
@ravishanker
Copy link
Contributor

ravishanker commented Mar 28, 2024

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. 🙇

@staskus
Copy link
Contributor Author

staskus commented Mar 28, 2024

@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
Copy link
Contributor Author

staskus commented Mar 28, 2024

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

@guarani
Copy link
Contributor

guarani commented Apr 15, 2024

Automattic/jetpack#36660 is where this bug is being tracked (sharing here for better visibility).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Linked to App Review This issue was mentioned in at least one app store review. [Pri] Low Stats [Type] Bug
Projects
None yet
Development

No branches or pull requests

7 participants