From b36cf63d49524504f81ebf1b11ae44f9e7e22bf5 Mon Sep 17 00:00:00 2001 From: loviuz Date: Thu, 29 Dec 2022 00:03:14 +0100 Subject: [PATCH] Aggiunta Matomo --- config.toml | 6 +++++- content/privacy-policy.md | 2 +- layouts/partials/head.html | 2 ++ layouts/partials/matomo.html | 17 +++++++++++++++++ 4 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 layouts/partials/matomo.html diff --git a/config.toml b/config.toml index 468cca4..8418302 100755 --- a/config.toml +++ b/config.toml @@ -35,6 +35,10 @@ pygmentscodefencesguesssyntax = true telegram_url = "https://t.me/openit_este" +[params.matomo] +siteurl = "//stats.linux.it/" +siteid = 5 + [params.donations] liberapay_username = "loviuz" stripe_donation_link = "https://donate.stripe.com/bIY14hdxefdxdoceUU" @@ -48,7 +52,7 @@ whatsapp = true email = true [params.goatCounter] - code = "openiteste" + code = "" [taxonomies] category = "categorie" diff --git a/content/privacy-policy.md b/content/privacy-policy.md index 965c233..21fd244 100644 --- a/content/privacy-policy.md +++ b/content/privacy-policy.md @@ -14,7 +14,7 @@ Dati Personali: #### 🗄️ Statistiche -**🇪🇺 🇩🇪 GoatCounter** +**🇪🇺 🇮🇹 Associazione Italian Linux Society** Dati Personali: - indirizzo IP temporaneamente, poi convertito in hash e rimosso diff --git a/layouts/partials/head.html b/layouts/partials/head.html index e511feb..eb44de5 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -20,5 +20,7 @@ {{ partialCached "head/hugo-generator.html" . }} {{ partial "head/extensions.html" . }} + + {{ partial "partials/matomo.html" . }} \ No newline at end of file diff --git a/layouts/partials/matomo.html b/layouts/partials/matomo.html new file mode 100644 index 0000000..996d8b0 --- /dev/null +++ b/layouts/partials/matomo.html @@ -0,0 +1,17 @@ + + + + \ No newline at end of file