Reporting visits & unique visitors for urls


#1

Hi,

I want to extract visits and unique visitors using the Reporting API Actions.getPageUrl for a given url in a date range but it only gives me the sum for the date range. How do I return a list for each date within the range? I want to use the results to plot a custom graph for my users.

My web app uses bootstrap, node and nodejs-piwik


(Matthieu Aubry) #2

To get daily breakdown, use period=day and date=DATE1,DATE2

eg.
http://demo.piwik.org/index.php?module=API&method=Actions.getPageUrl&pageUrl=http://forum.piwik.org/&idSite=1&period=day&date=2014-01-01,2014-01-09&format=xml&token_auth=


#3

Thank you Matt :slight_smile: