Every site section gets its own reports.
Define sections by URL pattern once — get filtered Pages, Entry/Exit and Events reports for each, automatically.
Latest v2.0.2 · Matomo ≥ 5.0.0
Reports per section
Docs, shop, blog — each section gets its own Pages, Entry Pages, Exit Pages and Events reports, hierarchical and expandable.
One-time setup
Create a section with a URL prefix or regex — that's it. The filtered reports appear automatically.
Feels like core Matomo
Same hierarchical tables, subtables and exports you already know — just scoped to the section you care about.
Click to enlarge
Users with WRITE permission on the site manage sections; everyone with view access sees the filtered reports.
Both. Simple prefixes cover most cases; full regular expressions are there when you need precision.
No — it generates filtered views of the core reports. Nothing is tracked twice.
-
01
Download the Feinwerk connector and unzip it into your Matomo's
plugins/directory, then activate it. - 02 Open its settings and set the marketplace URL and your instance token.
- 03 Open the Feinwerk Plugins screen, find PageFilterReport, and click Install.
PageFilterReport - Matomo Plugin
A Matomo plugin that allows users to create filtered reports for specific website sections based on URL patterns.
Features
- Section Management: Users with WRITE permission can create "sections" with URL patterns (prefix or regex)
- Filtered Reports: Automatically generates filtered versions of core reports for each section:
- Pages (hierarchical)
- Entry Pages (hierarchical)
- Exit Pages (hierarchical)
- Events (with Category → Action hierarchy)
- URL Pattern Matching: Supports prefix matching or full regex patterns
- Hierarchical Display: Reports show hierarchical URL structure with expandable subtables
- Full Metrics: All standard Matomo metrics including goal metrics
- Flatten Option: Reports can be flattened for easier analysis
Installation
- Copy the
PageFilterReportfolder to your Matomoplugins/directory - Activate the plugin in Matomo's Administration → Plugins
- The plugin will create its database table automatically
Usage
Creating a Section
- Go to Administration → Sections (under "Section Reports" category)
- Click "Create New Section"
- Enter a name and URL patterns (one per line)
- Optionally enable regex mode
- Save
URL Pattern Examples
Prefix mode (default):
/products/- matches all URLs starting with /products//blog/2024/- matches all blog posts from 2024
Regex mode:
/^\/products\/[0-9]+\//- matches /products/123//\/(en|de)\/help\//- matches /en/help/ or /de/help/
Viewing Reports
Once sections are created, they appear in the main navigation under "Sections". Each section shows:
- Pages report with hierarchical URL structure
- Entry Pages report
- Exit Pages report
- Events report (filtered by eventUrl segment)
Architecture
Database
Table matomo_page_filter_sections:
idsection- Primary keyidsite- Site IDlogin- Owner's loginname- Section display nameurl_patterns- JSON array of patternsuse_regex- Boolean for regex modecreated_date- Creation timestampdeleted- Soft delete flag
Reports
Reports extend Base class which provides:
- Hierarchical DataTable filtering
- URL pattern matching (prefix or regex)
- Section data loading from request
API Methods
getSections($idSite)- List sectionsaddSection($idSite, $name, $urlPatterns, $useRegex)updateSection($idSite, $idSection, ...)deleteSection($idSite, $idSection)getPages($idSite, $period, $date, $idSection)getEntryPages($idSite, $period, $date, $idSection)getExitPages($idSite, $period, $date, $idSection)getEvents($idSite, $period, $date, $idSection)- Subtable methods for hierarchical navigation
Requirements
- Matomo 5.x
- PHP 8.0+
-
v2.0.2 Sep 26, 2026
-
v2.0.1 Sep 26, 2026
-
v2.0.0 Sep 26, 2026
-
v1.2.0 Jun 19, 2026
-
v1.1.0 Jun 19, 2026
-
v1.0.0 Jun 19, 2026