jetpack icon indicating copy to clipboard operation
jetpack copied to clipboard

[Bug]: Annual Site Stats Insights Reporting Wrong Posts Number

Open muffinpeace opened this issue 4 years ago • 5 comments

Quick summary

Annual insights are reporting a wrong number of published posts per year on a user's site.

Steps to reproduce

  1. Check 4929036-zen
  2. Go to https://wordpress.com/stats/day/annualstats/ for the specific site
  3. Notice the difference and small number shown there.

What you expected to happen

Show an accurate number of posts published each year.

What actually happened

Annual site stats are showing a very small number of published posts per year, compared to the real number.

muffinpeace avatar Apr 12 '22 17:04 muffinpeace

Hey! Making a friendly reminder here if anybody can have a look at this. 🙌

alinclamba avatar Apr 14 '22 11:04 alinclamba

The user's issue has resurrected (5311458-zen) - now they report that it's both the annual stats and the relevant posts that are impacted.

I have posted some more debugging info to the ticket mentioned above to hopefully make it easier for a developer to help us debug this issue.

pypt avatar Jun 20 '22 17:06 pypt

Encountered similar issue in 5624531-zd-woothemes

edwinho89 avatar Oct 12 '22 09:10 edwinho89

Support References

This comment is automatically generated. Please do not edit it.

  • [ ] 4929036-zen
  • [ ] 5311458-zen
  • [ ] 5624531-zen

github-actions[bot] avatar Oct 12 '22 09:10 github-actions[bot]

📌 SCRUBBING : RESULT

  • No steps to replicate provided.

📌 FINDINGS/SCREENSHOTS/VIDEO The site noted in 5311458-zen (the original reporter) is self-hosted, and it now shows the same number of posts for 2022 in /stats/insights/ and /stats/day/annualstats/ - it's possible the issue is not consistent.

The site noted in 5624531-zd-woothemes is hosted with us. They report that the Word Count in the /stats/day/annualstats/ page is far too low for the year 2014

  • They have a third-party plugin https://wordpress.org/plugins/codepress-admin-columns/ installed on their site that shows Word Counts for all of their posts in the /wp-admin/edit.php pages, as shown below.
    • they appear to have one post a month in 2014 at or above 1500 Word Count (according to the third party plugin), so quick math implies that their total word count for 2014 of over 18,000 (according to the third party plugin).
    • their total word count for 2014 in https://wordpress.com/stats/day/annualstats/ is 7,876, and the Avg words per post is 656.

Markup on 2022-11-03 at 19:28:14

📌 ACTIONS

  • Marked as Triaged for Quality Squad review
  • Transferred to /jetpack repo instead of /wp-calypso:
  • Added to 'HE Cross-repo Watchlist' project board

📌 MESSAGE TO QUALITY SQUAD

  • not sure we have enough evidence of a bug here, but there's quite a bit of debugging info on both tickets, if someone within Jetpack wants to take a look.

cuemarie avatar Nov 04 '22 02:11 cuemarie