Security, performance, marketing, and design tools — Jetpack is made by WordPress experts to make WP sites safer and faster, and help you grow your traffic.
/stats/visits?unit=year and stats/insights endpoints return different data for the same data points. It results in differences in numbers shown on Insights or Traffic pages on the web:
5437 vs 5462 comments
11246 vs 11234 likes
Insights
Traffic
Steps to reproduce
Select a higher-traffic site
Go to Stats
Select the Traffic tab
Change the date range from Days to Years on the chart
Select a year
Make a note of "Likes" and "Comments" numbers
Select the Traffic tab
Select View all annual insights
Make a note of "Likes" and "Comments" numbers for the same year
Notice a difference
A clear and concise description of what you expected to happen.
The same data points should have the same values on different Stats pages (or endpoints).
What actually happened
The same data points have different values on different Stats pages (or endpoints).
Impacted plugin
Jetpack
Quick summary
/stats/visits?unit=year
andstats/insights
endpoints return different data for the same data points. It results in differences in numbers shown onInsights
orTraffic
pages on the web:Steps to reproduce
A clear and concise description of what you expected to happen.
The same data points should have the same values on different Stats pages (or endpoints).
What actually happened
The same data points have different values on different Stats pages (or endpoints).
Impact
Most (> 50%)
Available workarounds?
No but the platform is still usable
Platform (Simple and/or Atomic)
Simple, Atomic, Self-hosted
Logs or notes
No response