PHPackages                             webexmachina/contao-matomo-analytics - 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. webexmachina/contao-matomo-analytics

ActiveContao-bundle[Utility &amp; Helpers](/categories/utility)

webexmachina/contao-matomo-analytics
====================================

Contao Matomo Analytics Bundle

1.0.0(11mo ago)024Apache-2.0CSSPHP ^8.2

Since Jun 9Pushed 11mo agoCompare

[ Source](https://github.com/Web-Ex-Machina/contao-matomo-analytics-bundle)[ Packagist](https://packagist.org/packages/webexmachina/contao-matomo-analytics)[ RSS](/packages/webexmachina-contao-matomo-analytics/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (7)Versions (2)Used By (0)

Contao Matomo Analytics Bundle
==============================

[](#contao-matomo-analytics-bundle)

The Contao Matomo Analytics Bundle integrates Matomo (formerly Piwik) analytics directly into your Contao CMS backend using an external instance.

Warning

This bundle is not compatible with Contao 4

Features
--------

[](#features)

- **Automatically add the tracking code**: No need to manually add the tracking code to your website.
- **Seamless Matomo Integration**: Connect your Contao website to your Matomo analytics instance
- **Backend Dashboard**: View key analytics metrics directly in your Contao backend
- **Support for Multiple Websites** : Each root page can be associated with a different Matomo instance and/or website.

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

[](#requirements)

- PHP 8.2 or higher
- Contao 5.x
- A running Matomo instance with API access
- Matomo API token with sufficient permissions

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

[](#installation)

### Via Composer (recommended)

[](#via-composer-recommended)

```
composer require webexmachina/contao-matomo-analytics
```

### Via Contao Manager

[](#via-contao-manager)

1. Search for "contao matomo analytics" in the Contao Manager
2. Click on "Add"
3. Apply the changes and update the database

### Via ZIP file

[](#via-zip-file)

1. Download the latest release from the [GitHub repository](https://github.com/Web-Ex-Machina/contao-matomo-analytics-bundle)
2. Extract the ZIP file
3. Copy the extracted files to the `vendor/webexmachina/contao-matomo-analytics` directory of your Contao installation
4. Update the composer.json file manually or run the Contao Install Tool

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

[](#configuration)

1. Log in to your Contao backend
2. Navigate to a root page in the page structure and click on the pen icon.
3. Configure the Matomo analytics settings for the page:
    - Matomo URL: The URL of your Matomo instance (e.g., )
    - Matomo API Key: Your Matomo API authentication token
4. Save the configuration, after the refresh, the list will propose all the available websites choose one and save.

Usage
-----

[](#usage)

Once configured, you can access the analytics dashboard for each root page by:

1. Navigating to the page structure in the Contao backend
2. Clicking on the "Analytics" icon next to the page

The dashboard provides:

- Overview of key metrics for the last 30 days
- Detailed breakdown of visitor information
- Device and language statistics
- Conversion and referrer data
- A link to the full Matomo dashboard for more detailed analysis

GDPR compliance
---------------

[](#gdpr-compliance)

This bundle is only compatible with Matomo, once set up. It will always activate audience tracking.

The bundle assumes that the Matomo instance is configured to respect the privacy of European users. When a Matomo instance is correctly configured, the use of a cookie banner is not an obligation.

[Matomo : Analytics without consent or cookie banner](https://matomo.org/faq/new-to-piwik/how-do-i-use-matomo-analytics-without-consent-or-cookie-banner/)

Known Issues
------------

[](#known-issues)

### I don't see the button in the list of root page actions.

[](#i-dont-see-the-button-in-the-list-of-root-page-actions)

Disable your ad blocker.

Support
-------

[](#support)

If you encounter any issues or have feature requests, please [create an issue](https://github.com/Web-Ex-Machina/contao-matomo-analytics-bundle/issues) on the GitHub repository.

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

[](#contributing)

Contributions are welcome! Please feel free to submit a Pull Request.

License
-------

[](#license)

This project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance52

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

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

Unknown

Total

1

Last Release

337d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f7629ded041973a2ef674c957eae3b16cc49d4f534ad799e1361ea16e7b8392?d=identicon)[webexmachina](/maintainers/webexmachina)

---

Top Contributors

[![NodokaMurmevent](https://avatars.githubusercontent.com/u/16167605?v=4)](https://github.com/NodokaMurmevent "NodokaMurmevent (15 commits)")

###  Code Quality

Static AnalysisPHPStan, Rector

Type Coverage Yes

### Embed Badge

![Health badge](/badges/webexmachina-contao-matomo-analytics/health.svg)

```
[![Health](https://phpackages.com/badges/webexmachina-contao-matomo-analytics/health.svg)](https://phpackages.com/packages/webexmachina-contao-matomo-analytics)
```

###  Alternatives

[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[madeyourday/contao-rocksolid-custom-elements

Create your own, nestable content elements using a modular system. End the WYSIWYG chaos with your own content elements.

50341.9k12](/packages/madeyourday-contao-rocksolid-custom-elements)[codefog/contao-news_categories

News Categories bundle for Contao Open Source CMS

3183.3k6](/packages/codefog-contao-news-categories)[terminal42/contao-folderpage

Provides a new page type for Contao that allows you to group pages into folders.

18147.9k9](/packages/terminal42-contao-folderpage)[inspiredminds/contao-wowjs

Integrates WOW.js for Contao content elements and form fields.

1813.0k](/packages/inspiredminds-contao-wowjs)[inspiredminds/contao-glightbox

Contao extension to integrate GLightbox.

1223.3k1](/packages/inspiredminds-contao-glightbox)

PHPackages © 2026

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