Filter Visitors data by URL pattern?

Is there a way to filter the results in the visitors tab by a URL or title pattern? I have a URL structure like:


I would like to see visitor reports for each department (unique visitors, page views, etc), is this possible to make in a plugin or through a filter_column argument?

Yes it is possible, see the example:
for example

but it could be made easier, this is a feature request: Api function Actions.getPageUrls should make it easy to search for a given URL or path · Issue #1363 · matomo-org/matomo · GitHub

Those examples filter the Actions tab, I’m looking to generate reports for sub-urls that have:


unique visitors

Avg actions per visit
Avg time per visit

page views

unique page views

Bounce rate