Skip to content

VisitorInterestModule

Documentation

https://developer.matomo.org/api-reference/reporting-api#VisitorInterest

Module Usage

All the below methods can be called in the following manner:

$visitorInterestModule = Piwik::getVisitorInterest();
$visitorInterestModule->getNumberOfVisitsPerVisitDuration($arguments, $format);

If you are using the format from configuration, it does not need to be specified

$visitorInterestModule = Piwik::getVisitorInterest();
$visitorInterestModule->getNumberOfVisitsPerVisitDuration($arguments);

If you are not specifying additional arguments or a format, neither parameters need to be passed in

$visitorInterestModule = Piwik::getVisitorInterest();
$visitorInterestModule->getNumberOfVisitsPerVisitDuration();

Methods

TBC