PHPackages                             elliotsawyer/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. elliotsawyer/silverstripe-matomo

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

elliotsawyer/silverstripe-matomo
================================

Install Matomo analytics tracking on your SilverStripe website

0.0.2(2y ago)28043[4 PRs](https://github.com/elliot-sawyer/silverstripe-matomo/pulls)MITPHPCI failing

Since Oct 8Pushed 2y ago2 watchersCompare

[ Source](https://github.com/elliot-sawyer/silverstripe-matomo)[ Packagist](https://packagist.org/packages/elliotsawyer/silverstripe-matomo)[ Docs](http://silverstripe.org)[ RSS](/packages/elliotsawyer-silverstripe-matomo/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/68c29ab63e9104f02b8d07fc6373db0d27db576a54a3143c6eefcc0861c30a8c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f656c6c696f742d7361777965722f73696c7665727374726970652d6d61746f6d6f2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/elliot-sawyer/silverstripe-matomo/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/1796b5251ec3a772cf9b57c307385e00df2ea43050efda470ba5648ab5bb647e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f656c6c696f742d7361777965722f73696c7665727374726970652d6d61746f6d6f2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/elliot-sawyer/silverstripe-matomo/?branch=master)[![CircleCI](https://camo.githubusercontent.com/36a1782e9c10eac1ee60b579e43b6a1a8be17fe53f657331f1269dd94b5ec5af/68747470733a2f2f636972636c6563692e636f6d2f67682f656c6c696f742d7361777965722f73696c7665727374726970652d6d61746f6d6f2e7376673f7374796c653d737667)](https://circleci.com/gh/elliot-sawyer/silverstripe-matomo)[![codecov](https://camo.githubusercontent.com/22c14a09e76432929a3a259c0fd2944808665da075d69ea554fcd0d9014ccbec/68747470733a2f2f636f6465636f762e696f2f67682f656c6c696f742d7361777965722f73696c7665727374726970652d6d61746f6d6f2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/elliot-sawyer/silverstripe-matomo)

SilverStripe Matomo integration
===============================

[](#silverstripe-matomo-integration)

Adds Matomo analytics tracking to your SilverStripe website

- Apply via extension to any frontend ContentController object
- enable or disable using SiteConfig settings
- allow users to opt-out of Javascript tracking
- exclude specific pages from tracking using the CMS

Working with a content security policy
--------------------------------------

[](#working-with-a-content-security-policy)

Is your site working with a strict content security policy? Great! You'll need to whitelist your Matomo endpoint to avoid violating your CSP.

... img-src 'self'  blob: data:; ... script-src 'self'  'sha384-BaSE64ENC0D3D';...

The `img-src` rule is to allow a tracking pixel to be embedded on the website. `script-src` is used by Matomo to execute the script on the website. You may need to add a nonce value for the inline script for it to run correctly.

Contributing
------------

[](#contributing)

Contributions are more than welcome! Please raise some issues or create pull requests on the Github repo.

Support
-------

[](#support)

Need some extra help or just love my work? Consider shouting me a coffee or a small donation if this module helped you solve a problem. I accept cryptocurrency at the following addresses:

- Bitcoin: 12gSxkqVNr9QMLQMMJdWemBaRRNPghmS3p
- Bitcoin Cash: 1QETPtssFRM981TGjVg74uUX8kShcA44ni
- Litecoin: LbyhaTESx3uQvwwd9So4sGSpi4tTJLKBdz
- Ethereum: 0x0694E0704c70D8d178dd2e9522FC59EBBEe86748

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58.8% 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 ~1418 days

Total

2

Last Release

996d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ad627a2d8fe16725eb7c9cdde9f4e92e26bf3fbf4c5baf3b9eebca58c8168941?d=identicon)[0x0000](/maintainers/0x0000)

---

Top Contributors

[![elliot-sawyer](https://avatars.githubusercontent.com/u/354793?v=4)](https://github.com/elliot-sawyer "elliot-sawyer (10 commits)")[![Firesphere](https://avatars.githubusercontent.com/u/680570?v=4)](https://github.com/Firesphere "Firesphere (4 commits)")[![silverstripe-elliot](https://avatars.githubusercontent.com/u/5863816?v=4)](https://github.com/silverstripe-elliot "silverstripe-elliot (3 commits)")

---

Tags

analyticsmatomopiwiksilverstripesilverstripe-modulepiwiksilverstripematomoanalyticsnznew zealand

### Embed Badge

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

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

###  Alternatives

[fof/analytics

Tracks analytics using Google Analytics, Google Optimize/GTM and Matomo

3543.1k](/packages/fof-analytics)[axllent/silverstripe-analytics-js

Google Universal Analytics tracking code for Silverstripe

1721.3k](/packages/axllent-silverstripe-analytics-js)

PHPackages © 2026

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