agoat/contao-matomo

Matomo statistics for Contao 4

Installs: 2 382

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 1

Open Issues: 4

Type:contao-bundle

1.3.1 2020-01-06 11:56 UTC

This package is not auto-updated.

Last update: 2024-11-19 11:28:00 UTC


README

Version License Downloads

Now compatible with Contao 4.4 lts and 4.8 (latest) !!

About

Add Matomo statistics easily to your contao website. Simply activate piwik tracking on the root page and set the required parameters.

For more information about Matomo visit their web page.

Attention

When refactoring the naming from piwik to matomo, the names of the database fields have changed as well. Therefore some settings may be lost when updating to 1.3.* !!

Requirements

Matomo (formerly piwik) is a 'Open Analytics Platform'. The tracking will be saved outside of contao.

A public available Matomo/Piwik installation is needed (Self-hosted or Cloud-hosted doesn't matter).

Install

Contao manager

Search for the package and install it

agoat/contao-matomo

Managed edition

Add the package

# Using the composer
composer require agoat/contao-matomo

Registration and configuration is done by the manager-plugin automatically.

Standard edition

Add the package

# Using the composer
composer require agoat/contao-matomo

Register the bundle in the AppKernel

# app/AppKernel.php
class AppKernel
{
    // ...
    public function registerBundles()
    {
        $bundles = [
            // ...
            // after Contao\CoreBundle\ContaoCoreBundle
            new Agoat\MatomoBundle\AgoatMatomoBundle(),
        ];
    }
}