BiegT
June 11, 2018, 2:58pm
1
Hi everyone,
I want to get data from the Matomo reporting API for specific date ranges. To do this, I would type:
https://example.example/?module=API&method=Live.getLastVisitsDetails&idSite=1&date=previous7&period=range&format=json&token_auth=example
But the API only returns data for today, in this case. I’ve tried other options as well without any satisfying results. Is my API request incorrect or is it some kind of bug?
Thank you very much for your help!
1 Like
peterbo
(Peterbo)
June 11, 2018, 3:04pm
2
Try to append the parameter &filter_limit=-1 if you have many visits. The result is probably limited to x results (without the parameter).
But careful: The resultset can be quite large.
1 Like
BiegT
June 11, 2018, 3:43pm
3
peterbo:
&filter_limit=-1
Thanks a lot! That solved my problem.
1 Like