This will return simple counters, for a given website ID, for visits over the last N minutes
public getCounters ( integer $idSite, integer $lastMinutes, boolean | string $segment = false, array $showColumns = [], array $hideColumns = [] ) : array( | ||
$idSite | integer | Id Site |
$lastMinutes | integer | Number of minutes to look back at |
$segment | boolean | string | |
$showColumns | array | The columns to show / not to request. Eg 'visits', 'actions', ... |
$hideColumns | array | The columns to hide / not to request. Eg 'visits', 'actions', ... |
return | array( |