Get stats for multiple urls


#1

is there away to get stats for multiple pages?

i tried this and it don’t work. any ideas? Sorry pretty new to this

http://mysite.com/?module=API&method=Actions.getPageUrls&pageUrl[0]=/page1.html&pageUrl[0]=/page2.html&idSite=1&period=day&date=last30&format=xml&token_auth=blablabla

or is there is a way to get total unique views, views for both pages combined.


(Matthieu Aubry) #2

You can filter the Piwik API response to a selection of Rows Labels by adding to the request the following URL parameter:


&filter_pattern=photos|index

Will restrict the API output to Labels / page names containing “photos” OR “index”