Connecting Matomo
You can integrate a metrics collection service into your documentation portal. This will allow you to view detailed information, such as who accessed which article, from where, and whether they came via search or a link.
Matomo
Create a tracker in Matomo.
In Gramax’s docker-compose.yaml, add the following environment variables for this tracker:
MATOMO_SITE_ID— The site ID inMatomo. Optional ifMATOMO_CONTAINER_URLis specified.MATOMO_URL— The URL of theMatomoinstance. This parameter is mandatory ifMATOMO_SITE_IDis used. Example:https://matomo.gram.axorhttps://metrics.gram.ax/matomo.MATOMO_CONTAINER_URL— The URL of theMatomocontainer. Optional. Learn more.It can be absolute (if
MATOMO_URLis absent). Example:https://matomo.gram.axorhttps://metrics.gram.ax/matomo.It can be relative (if
MATOMO_URLis present). Example:/or/metrics/matomo.
Restart
docker-compose.yaml.