PHPackages                             jeroenpeters1986/statamic-matomo-widget - 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. jeroenpeters1986/statamic-matomo-widget

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jeroenpeters1986/statamic-matomo-widget
=======================================

Matomo stats by the dashboard light (widget)

1.0.2(1y ago)01991MITPHP

Since May 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/jeroenpeters1986/statamic-matomo-widget)[ Packagist](https://packagist.org/packages/jeroenpeters1986/statamic-matomo-widget)[ Docs](https://jeroenpeters.dev/english/software-projects)[ RSS](/packages/jeroenpeters1986-statamic-matomo-widget/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (5)Used By (0)

[![statamic-matomo-widget](https://camo.githubusercontent.com/d192b7f168ab7d928d8b8ac80adca8449e593661a1fa4134c798bd0bf6086537/68747470733a2f2f6c61726176656c2d6f672e6265796f6e64636f2e64652f4d61746f6d6f253230776964676574253230666f7225323053746174616d69632e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d6a65726f656e7065746572733139383625324673746174616d69632d6d61746f6d6f2d776964676574267061747465726e3d706c7573267374796c653d7374796c655f32266465736372697074696f6e3d4d61746f6d6f2b73746174732b62792b7468652b64617368626f6172642b6c69676874266d643d312673686f7757617465726d61726b3d3026666f6e7453697a653d313030707826696d616765733d63686172742d7371756172652d62617226686569676874733d313530)](https://camo.githubusercontent.com/d192b7f168ab7d928d8b8ac80adca8449e593661a1fa4134c798bd0bf6086537/68747470733a2f2f6c61726176656c2d6f672e6265796f6e64636f2e64652f4d61746f6d6f253230776964676574253230666f7225323053746174616d69632e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d6a65726f656e7065746572733139383625324673746174616d69632d6d61746f6d6f2d776964676574267061747465726e3d706c7573267374796c653d7374796c655f32266465736372697074696f6e3d4d61746f6d6f2b73746174732b62792b7468652b64617368626f6172642b6c69676874266d643d312673686f7757617465726d61726b3d3026666f6e7453697a653d313030707826696d616765733d63686172742d7371756172652d62617226686569676874733d313530)

Matomo Widget for Statamic
==========================

[](#matomo-widget-for-statamic)

[![Statamic 3.3+](https://camo.githubusercontent.com/8939423a06e08de1c6706fe6e10bed08567fc3759af1b03e6aac2aeb551b66dd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53746174616d69632d332e332b2d4646323639453f7374796c653d666f722d7468652d6261646765266c696e6b3d68747470733a2f2f73746174616d69632e636f6d)](https://camo.githubusercontent.com/8939423a06e08de1c6706fe6e10bed08567fc3759af1b03e6aac2aeb551b66dd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53746174616d69632d332e332b2d4646323639453f7374796c653d666f722d7468652d6261646765266c696e6b3d68747470733a2f2f73746174616d69632e636f6d)[![Latest Version on Packagist](https://camo.githubusercontent.com/44ba96fc5965d9e46e1721f12e171c917237ca5bef49143b19ec8a3633160ab6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a65726f656e706574657273313938362f73746174616d69632d6d61746f6d6f2d7769646765742e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/jeroenpeters1986/statamic-matomo-widget)[![Number of downloads](https://camo.githubusercontent.com/2c9c93617c4e67b8290c643137f740233cd42c44d0f2e5b32cbaeddff8aa3a74/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a65726f656e706574657273313938362f73746174616d69632d6d61746f6d6f2d7769646765742e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/jeroenpeters1986/statamic-matomo-widget)

Installation
------------

[](#installation)

Install via the Control Panel or via composer

```
composer require jeroenpeters1986/statamic-matomo-widget
```

Add environment variables
-------------------------

[](#add-environment-variables)

Add the following to your `.env` file:

```
MATOMO_URL=https://your-matomo-url
MATOMO_SITE_ID=1
MATOMO_API_TOKEN=your-token-auth
```

Enable Widget
-------------

[](#enable-widget)

Add widget to control panel configuration `config/statamic/cp.php` file.

e.g:

```
[
	'type' => 'matomo',
	'width' => 50,
],
```

Do your own customizations
--------------------------

[](#do-your-own-customizations)

You can publish the config file with the following command:

```
php artisan vendor:publish --tag=statamic-matomo-widget
```

This will create a `config/statamic-matomo-widget.php` file where you can customize the widget.

Support
-------

[](#support)

I love to share with the community. Nevertheless, coding/learning/updating takes a lot of work, time and effort. You can contact me through my personal site , or if you have any issues with this package, please create an issue on GitHub.

If you like my software, feel free to [buy me a coffee or two with Ko-Fi](https://ko-fi.com/jeroenpeters)

Changelog
---------

[](#changelog)

### 1.0.2

[](#102)

Updated docs, reverted the viewNamespace, merged config

### 1.0.1

[](#101)

Added loading-stuff

### 1.0.0

[](#100)

First version

License
-------

[](#license)

This plugin is published under the MIT license.

Other..
-------

[](#other)

### Disclaimer

[](#disclaimer)

This add-on is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Matomo / Piwiki, or any of its subsidiaries or its affiliates. This add-on merely enables users to easily access their stats.

### Requirements

[](#requirements)

- PHP 7.4 or 8.0
- Laravel 7 or 8
- Statamic 3.3+ (also includes Statamic v4 and v5)

I chose not to enforce these requirements in the composer.json, as it will probably stay compatible with newer versions of Statamic.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance46

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 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 ~0 days

Total

3

Last Release

417d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6163ceb51702f02eb3f6b1921c2fe81d28a0a784dd4f0c1cafea30f50175dc25?d=identicon)[jeroenpeters1986](/maintainers/jeroenpeters1986)

---

Top Contributors

[![jeroenpeters1986](https://avatars.githubusercontent.com/u/6328938?v=4)](https://github.com/jeroenpeters1986 "jeroenpeters1986 (7 commits)")

---

Tags

piwikmatomowidgetanalyticsstatamic

### Embed Badge

![Health badge](/badges/jeroenpeters1986-statamic-matomo-widget/health.svg)

```
[![Health](https://phpackages.com/badges/jeroenpeters1986-statamic-matomo-widget/health.svg)](https://phpackages.com/packages/jeroenpeters1986-statamic-matomo-widget)
```

###  Alternatives

[fof/analytics

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

3545.1k](/packages/fof-analytics)[mediawiki/matomo

The Matomo (ex-Piwik) extension inserts your Matomo tracking code to the bottom of every page.

174.5k](/packages/mediawiki-matomo)

PHPackages © 2026

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