From 61bdca2db45179cd0d1b4b885a4c4864e3ffa3c1 Mon Sep 17 00:00:00 2001 From: Filippo Date: Tue, 9 Apr 2024 16:57:06 +0200 Subject: [PATCH] feat(analytics): add Umami and Matomo tracking codes (#1658) --- README.md | 2 +- _config.yml | 6 ++++++ _includes/analytics/matomo.html | 14 ++++++++++++++ _includes/analytics/umami.html | 6 ++++++ 4 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 _includes/analytics/matomo.html create mode 100644 _includes/analytics/umami.html diff --git a/README.md b/README.md index f084852..5bcfcb7 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ - Built-in Search - Atom Feeds - PWA -- Google Analytics / GoatCounter +- Web Analytics - SEO & Performance Optimization ## Documentation diff --git a/_config.yml b/_config.yml index 1076673..f64411d 100644 --- a/_config.yml +++ b/_config.yml @@ -62,6 +62,12 @@ analytics: id: # fill in your Google Analytics ID goatcounter: id: # fill in your GoatCounter ID + umami: + id: # fill in your Umami ID + domain: # fill in your Umami domain + matomo: + id: # fill in your Matomo ID + domain: # fill in your Matomo domain # Pageviews settings pageviews: diff --git a/_includes/analytics/matomo.html b/_includes/analytics/matomo.html new file mode 100644 index 0000000..72b2c46 --- /dev/null +++ b/_includes/analytics/matomo.html @@ -0,0 +1,14 @@ + + + diff --git a/_includes/analytics/umami.html b/_includes/analytics/umami.html new file mode 100644 index 0000000..bfcb1d0 --- /dev/null +++ b/_includes/analytics/umami.html @@ -0,0 +1,6 @@ + +