Search by

konradmichalik / typo3-page-metrics

konradmichalik

Page-level metrics inside the TYPO3 backend, resolved from arbitrary URLs to page UIDs, from swappable data providers.

Package info

github.com/konradmichalik/typo3-page-metrics

Type:typo3-cms-extension

pkg:composer/konradmichalik/typo3-page-metrics

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-main 2026-11-06 12:48 UTC

This package is auto-updated.

Last update: 2026-11-06 12:48:54 UTC


README

Extension icon

TYPO3 extension typo3_page_metrics

CI Coverage License Supported TYPO3 versions

Page-level metrics inside the TYPO3 backend, from an analytics provider you already run.

No tracking code, no third-party service, no subscription. The extension reads your existing Matomo or GA4 data, or your web server's own access log without any analytics service at all. It resolves every URL it reports, through redirect chains and multilingual slugs, back to a TYPO3 page UID, then stores per-page daily aggregates so editors can see "how is this page doing" without leaving the backend.

Page metrics tiles below the page title, with the period switch above them

Warning

This extension is still in beta. Configuration, tile behaviour and APIs can change before a stable 1.0 release.

✨ Features

  • URL → page UID resolution at import time, through redirect chains, multilingual slugs and route enhancers, so every number hangs off a page in the tree rather than a URL string: a record detail URL such as /news/my-article counts for the page that renders it, tiles link straight into the page module, a section can roll its whole subtree up into one figure, and URLs that resolve to no page are reported as Not found pages
  • Metric tiles right in Web > Page, below the page title: page views, visits, avg. time on page, bounce rate, a period switch (7/30/90 days), and a sparkline popover per tile, see Page module tiles
  • Site-wide EXT:dashboard widgets plus a ready-made dashboard preset, see Dashboard widgets
  • Annotations, derived from TYPO3's own record history (a page edited, a redirect created), imported (e.g. Matomo release markers) or created by hand, categorised, optionally spanning days or scoped to one page, and marked on every sparkline, see Annotations
  • Goal conversions per page, from Matomo goals or GA4 key events, as a tile of their own beside the traffic ones, with optional revenue, see Goal tiles
  • Bot traffic per page from the access log, folded into one tile, with AI chatbots and AI crawlers as tiles of their own that name the bots behind the number, see Bot traffic
  • Matomo, GA4 and your own web server access log as pluggable providers, extensible with your own, see Registering custom tiles

🔥 Installation

Requirements

  • TYPO3 13.4 or 14.3
  • PHP 8.2 - 8.5
  • One of the supported providers: Matomo, GA4 or the access log

Composer

composer require konradmichalik/typo3-page-metrics

TER

TER version TER downloads

Download the zip file from TYPO3 extension repository (TER).

Then configure a provider for the site, see Configuration.

⚙️ Configuration

Add to a site's config/sites/<identifier>/config.yaml, under pageMetrics. Each provider has its own settings and setup notes:

Name a storage page under pageMetrics.annotations.storagePid and editors can add their own markers straight from the page module, see Adding a marker.

🚀 Quick start

Run the import (also schedulable via the TYPO3 Scheduler). The same command imports both metrics and any annotations from a registered provider (e.g. Matomo release markers, see Page module tiles):

vendor/bin/typo3 page-metrics:import
vendor/bin/typo3 page-metrics:import --force

Then open Web → Page and select a page in the page tree. The tiles appear directly below the page title. See Page module tiles for the period switch, the subpages toggle and the sparkline popover, or Dashboard widgets for the site-wide EXT:dashboard widgets.

📚 Documentation

Page What's inside
Matomo provider Site configuration, additionalHosts for Dev/Stage instances
GA4 provider Site configuration, the service-account key file, known GA4 caveats
Access log provider Site configuration, what it can and cannot measure, bot/asset filtering
Dashboard widgets The full EXT:dashboard widget catalog, their settings and the bundled preset
Page module tiles The period switch, the subpages toggle, sparkline popovers and annotations
Security Restricting tile visibility per backend user group
Registering custom tiles Contributing an additional tile via ModifyMetricTilesEvent, without implementing MetricProviderInterface
Related extensions How this compares to TYPO3 Analytics, matomo_widgets and analytics_matomo

🧑‍💻 Contributing

Please have a look at CONTRIBUTING.md.

💎 Credits

Tile icons are from Tabler Icons, MIT licensed.

⭐ License

GPL-2.0-or-later, see LICENSE.md.