Difference in visits: VisitsSummary.getVisits vs Actions.getPageUrls


Hi guys,

I having some trouble understanding the data from the methods using via API tracking.
My guess should be that the number from VisitsSummary.getVisits should be equal to the sum of nb_visits from Actions.getPageUrls, but this is not the case at all.

Can somebody explain this, please?


(Matthieu Aubry) #2

your assumption is not correct. see General - Analytics Platform - Matomo


Hi Matt,

Thanks you for your answer.
I am not sure, i understand why this is the case. An example:


  • 1259 vists


  • sum of nb_vists = 827

Can you please explain? Thanks in advance.

(Matthieu Aubry) #4

Add &filter_limit=-1 to get all the rows in the result


Hi Matt,

Thanks for your answer.

I have tried your solution and got this result:
VisitsSummary.getVisits = 1410
Actions.getPageUrls (without filter_limit=-1) = 1602
Actions.getPageUrls (with filter_limit=-1) = 2293

Which number is the correct one and why is it so different?

Thanks in advance for your answer!