From 51213507853362dfb2aee4d52537af5e8de1bbf4 Mon Sep 17 00:00:00 2001 From: Timothy Stewart Date: Sat, 19 Mar 2022 14:27:50 -0500 Subject: [PATCH] feat(matomo): Updated docs --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 444bad2..8f867ad 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,18 @@ Sample event for YouTube button. window.umami('youtube-button'); ``` +### Matomo + +See [Installing Matomo fo how to configure analytics](https://matomo.org/docs/installation/) and [how to find your site id](https://matomo.org/faq/general/faq_19212/) + +Use `MATOMO_URL` for your URL and `MATOMO_SITE_ID` for your site id + +Sample event for YouTube button. + +```javascript + window._paq.push(['trackEvent', 'youtube-button]]); +``` + ## 🩺 Health Check A health check endpoint exists on `/healthcheck`. If healthy, it will return with a `200` and the following response: