Skip to content

thiagoarrais/grafana-matomo-tracking-panel

Repository files navigation

Matomo Tracking Panel

CircleCI David Dependency Status David Dev Dependency Status Known Vulnerabilities Maintainability Test Coverage

Like a tracking pixel, but it is a Grafana Panel. Sponsored by Serpro

This panel allows Grafana dashboard usage to be tracked using Matomo. It does only tracking and has no visible presence.

This is independently developed. It is not an official Matomo product, and is not affiliated with, or sponsored by, Matomo.

Requirements

Compatible with Grafana 7.x

Usage

Include only one panel per dashboard that should be tracked. Use the configuration editor to set your Matomo URL and Site ID.

The panel does not have any visible UI. We suggest that it should be resized to a minimal.

Developing

First, install dependencies:

yarn install

To work with this plugin run:

yarn dev

or

yarn watch

This will run linting tools and apply prettier fix.

To build the plugin run:

yarn build

General info on Grafana Plugin building can be found at the Grafana Plugin Developer Guide