Hi
I’m using the Live module to try and get the number of visitors in the last 5 minutes.
The example for this on the modules page shows:
Live.getCounters (idSite, lastMinutes, segment = ‘’)
This is the API request i am passing in my index.php:
$request = new Piwik_API_Request
("
method=Live.getCounters
&idSite=4
&lastMinutes=5
&segment=
&token_auth=anonymous
&format=json
");
Despite this, my index page is still showing the site as having 9 visits and over 60 actions - despite no visits for the last 5 minutes. To check this i have also setup tracking on my localhost - and the same problem is occurring.
How can this be fixed? - I am working to a tight deadline…