From 1e676a84d791bc8982087e116c40cc6857ee5e18 Mon Sep 17 00:00:00 2001 From: Gigi Kenneth Date: Thu, 20 Jun 2024 09:38:11 +0100 Subject: [PATCH 1/2] added google analytics tag --- _quarto.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/_quarto.yml b/_quarto.yml index 98beb36b..096b5580 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -6,6 +6,7 @@ execute: theme: simplex website: + google-analytics: "G-6ZDR80SCKG" title: "pharmaverse blog" favicon: media/pharmaverseblog.png site-url: https://pharmaverse.github.io/blog From 990dfe37c6ac59dbef7dd67b8a17583847f378c0 Mon Sep 17 00:00:00 2001 From: Gigi Kenneth Date: Thu, 25 Jul 2024 13:21:57 +0100 Subject: [PATCH 2/2] Updated cookie consent in _quarto.yml - "express" consent so no tracking happens unless the blog visitors accept it. - simple and light banner at the bottom right - anonymizes IP addresses by default --- _quarto.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/_quarto.yml b/_quarto.yml index 096b5580..277b5c74 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -6,7 +6,6 @@ execute: theme: simplex website: - google-analytics: "G-6ZDR80SCKG" title: "pharmaverse blog" favicon: media/pharmaverseblog.png site-url: https://pharmaverse.github.io/blog @@ -20,6 +19,13 @@ website: href: https://github.com/pharmaverse/blog - text: "Session Info" href: session_info.html + cookie-consent: + type: express + style: simple + palette: light + google-analytics: + tracking-id: "G-6ZDR80SCKG" + anonymize-ip: true format: html: theme: