I am using Piwik API calls and getting huge difference in data. I am using VisitsSummary.get API call with eventCategory segment for an event category and Events.getCategory API call for nb_visits and nb_uniq_visitors. The difference in data between these two endpoints is quite large, it’s around 5-10 times. Is it supposed to be like this or is it a bug?
We are seeing similar issues. Our Piwik UI shows different numbers than the VisitsSummary.get endpoint is returning.
Anurag, how does your VisitsSummary.get compare to your UI numbers?
Here’s the API call we’re making:
And here are the results:
However, in the UI, we see very different numbers:
can you please comment in the similar bug report here: Visits are count differently between segmentation and visits - devices · Issue #10261 · matomo-org/piwik · GitHub
the more reports we get the more likely we are to find the issue and solve it