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

Followers Total shows incorrect count #23110

Open
guarani opened this issue Apr 26, 2024 · 1 comment
Open

Followers Total shows incorrect count #23110

guarani opened this issue Apr 26, 2024 · 1 comment

Comments

@guarani
Copy link
Contributor

guarani commented Apr 26, 2024

Expected behavior

The Total Follower card in Stats Insights sometimes shows a number that excludes "email followers". For example, if the site has 10K followers in total (8K WP.com followers and 2K email followers), the Total Followers card should show 10K but sometimes shows 8K.

Actual behavior

A lower count is shown.

Steps to reproduce the behavior

  1. Open Stats on a high-traffic site for best results
  2. Add the Total Followers card if it's not already shown
  3. Notice that sometimes its value is not correct and that is because it sometimes excludes email followers
  4. Try again until you see the error
  5. Notice that pull-to-refresh may fixe the error

The app should use the v2/sites/{site_id}/subscribers endpoint according to pejTkB-1l5-p2#comment-1315, which includes a total:

{
  "total": 3,
  "pages": 1,
  "page": 1,
  "per_page": 100,
...
}

Note: there's a known issue with this endpoint on high-traffic sites: pejTkB-1l5-p2#comment-1318

Tested on iPad simulator, iOS 17.2, Jetpack iOS trunk
@dangermattic
Copy link
Collaborator

Thanks for reporting! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants