maloja/pico-matomo

This plugin will embed a Matomo web analytics tracking-code on all your Picocms pages .

v1.0 2020-02-06 20:47 UTC

This package is auto-updated.

Last update: 2024-04-12 22:57:35 UTC


README

This Plugin will let you enjoy the power of Matomo web analytics for all your Pico CMS pages.

Installation

Clone directly from Github

cd plugins
git clone https://github.com/maloja/pico-matomo

Or, if you installed Pico CMS with composer

composer require maloja/pico-matomo

Settings

This plugin needs to be configured in the Pico CMS main configuration in config/config.yml

matomo:
    id: [matomo-id]
    server: [matomo servername]
    lang: [language tag]

The matomo-id as well as the matomo servername can be looked up in the matomo configutarion from your web analytics server. For language tag you can use the standard tags like en, fr, de

Embedding an OPT-OUT iFrame

Your users should always have a way to decline web tracking. Therefore Matomo uses an OPT-OUT Code which can be embed into a webpage. With this pluging this you can be achieve this adding the keyword (% matomo %) in your content pages at the appropriate place.