@feikede opened this Issue on December 20th 2019

I'd like to report how often a "contentName" has been visited over time. But there's no such function in the reporting API. The Contents.getContentName() should be very much like

Actions.getPageUrl (pageUrl, idSite, period, date, segment = '')

but with a contentName as parameter, i.e.

Contents.getContentName (contentName, idSite, period, date, segment = '')

Same would be fine for contentPiece.

@tsteur commented on December 20th 2019 Member

@feikede I reckon you want to use the existing getContentNames API with a label=$contentName parameter? Alternatively, filter_pattern should work as well see https://developer.matomo.org/api-reference/reporting-api

@tsteur commented on December 20th 2019 Member

AFAIK that's how Matomo does it as well in over time reports

Powered by GitHub Issue Mirror