Hi,
I just started on integrating Piwik with our application. I’m looking to call piwik to get the “Number of Views” for a certain idSite, then display that number on our site.
I’m looking at this page: Reporting API Reference: API Reference - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3
There are:
nb_visits - Number of Visits (30 min of inactivity considered a new visit)
and
nb_hits - Number of views on this page
Can someone please clarify the difference between the two?
Also - this is the call I’m making to get the “Number of Views” for a certain idSite - is this correct?
http://…/index.php?module=API&method=VisitsSummary.getVisits&idSite=5&period=range&date=2014-01-01,2020-12-31&format=JSON&token_auth=kjfklkdqwleqleellzkk"
Thanks,
SoftDev