Piwik/Matomo plugin lets you embed the tracking to the Grav website.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 299e145 May 28, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CHANGELOG.md Added new Piwik embed code due to http/https protocol compatibility r… Feb 13, 2017
LICENSE Initial commit Nov 12, 2015
README.md Update README.md May 28, 2018
blueprints.yaml Update blueprints.yaml May 28, 2018
piwik.php Merge pull request #5 from geschke/master Mar 22, 2017
piwik.yaml Update piwik.yaml May 28, 2018

README.md

grav-piwik-plugin

Piwik/Matomo plugin lets you embed the tracking to the Grav website.

This is Grav CMS plugin that helps you implement Piwik/Matomo.

Installation

Installing the Piwik/Matomo plugin can be done in one of two ways.

GPM Installation (Preferred)

The simplest way to install this plugin is via the Grav Package Manager (GPM) through your system's Terminal (also called the command line). From the root of your Grav install type:

bin/gpm install piwik

This will install the piwik plugin into your /user/plugins directory within Grav. Its files can be found under /your/site/grav/user/plugins/piwik.

Manual Installation

To install this plugin, just download the zip version of this repository and unzip it under /your/site/grav/user/plugins. Then, rename the folder to piwik.

You should now have all the plugin files under

/your/site/grav/user/plugins/piwik

Config Defaults

enabled: true
siteId: 0
sitePiWikURL: ''

If you need to change any value, then the best process is to copy the piwik.yaml file into your users/config/plugins/ folder (create it if it doesn't exist), and then modify there. This will override the default settings.

Usage

  1. Copy the ID URL and insert it to the configuration of this plugin.