PHPackages                             mhe/silverstripe-matomo - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mhe/silverstripe-matomo

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

mhe/silverstripe-matomo
=======================

Silverstripe module to include Matomo analytics tool

v2.0.0(5mo ago)09PHPPHP ^8.3CI passing

Since Oct 16Pushed 5mo agoCompare

[ Source](https://github.com/martinheise/silverstripe-matomo)[ Packagist](https://packagist.org/packages/mhe/silverstripe-matomo)[ RSS](/packages/mhe-silverstripe-matomo/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (5)Used By (0)

SilverStripe Matomo module
==========================

[](#silverstripe-matomo-module)

Add support for Matomo analytics tool to a Silverstripe installation.

- The specific setup is done via SiteConfig
- logged in backend users are excluded from tracking (configurable)
- insert opt-out code into template or simply into page content via shortcode
- opt-out supports inlined form/JavaScript (default) or Matomo-standard iframe

Requirements
------------

[](#requirements)

Requires Silverstripe 6.x – for a version compatible with Silverstripe 5 see respective branch `5`

Configuration
-------------

[](#configuration)

### Options in CMS Settings (SiteConfig, Tab *Matomo*):

[](#options-in-cms-settings-siteconfig-tab-matomo)

- Activate tracking
- Tracking URL (URL of Matomo installation)
- Site ID

### Developer configuration (YAML)

[](#developer-configuration-yaml)

- *Mhe\\Matomo\\Extensions\\MatomoConfig.track\_cms\_users*: Track CMS users (with permission CMS\_ACCESS\_CMSMain) (default: *false*)
- *Mhe\\Matomo\\Extensions\\MatomoConfig.auto\_add\_tracking\_head*: add the tracking code to HTML head part – no modifications of the page template(s) needed (default: *true*)
- *Mhe\\Matomo\\Extensions\\MatomoConfig.optout*: configuration of opt-out code, array with sub properties:
    - *method*, either 'script' (default) or 'iframe'

### Customizable templates

[](#customizable-templates)

- MatomoOptOutIframe
- MatomoOptOutScript
- MatomoTrackingCodeBody
- MatomoTrackingCodeHead

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance69

Regular maintenance activity

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~379 days

Total

3

Last Release

178d ago

Major Versions

v2.0.0 → 6.x-dev2025-11-12

PHP version history (2 changes)5.x-devPHP ^8.0

v2.0.0PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/bdc925a420ee741e57764c199a926d0edb8dbcfe1f4528b2f0519c465461720e?d=identicon)[martinheise](/maintainers/martinheise)

---

Top Contributors

[![martinheise](https://avatars.githubusercontent.com/u/16256376?v=4)](https://github.com/martinheise "martinheise (29 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/mhe-silverstripe-matomo/health.svg)

```
[![Health](https://phpackages.com/badges/mhe-silverstripe-matomo/health.svg)](https://phpackages.com/packages/mhe-silverstripe-matomo)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
