From 8afd1d452fb6660645385ecb6293bca8935b5331 Mon Sep 17 00:00:00 2001 From: Set Sakrecoer Date: Tue, 12 Oct 2021 13:40:00 +0200 Subject: [PATCH] no more matomo --- _includes/cookie-consent.html | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/_includes/cookie-consent.html b/_includes/cookie-consent.html index ad5c10c..ceef6b7 100644 --- a/_includes/cookie-consent.html +++ b/_includes/cookie-consent.html @@ -42,18 +42,18 @@ } if (readCookie('cookie-notice-dismissed') == 'wantCookies') { - {% include analytics.js %} + {% include mautic-tracker.js %} } else { document.getElementById('cookie-notice').style.display = 'flex'; - {% include matomo.js %} + } if (readCookie('cookie-notice-dismissed') == 'dontWantCookies') { document.getElementById('cookie-notice').style.display = 'none'; - {% include matomo.js %} + } document.getElementById('cookie-notice-accept').addEventListener("click", function () { createCookie('cookie-notice-dismissed', 'wantCookies', 365); @@ -69,11 +69,4 @@ }); - // document.getElementById('cookie-notice-gimme').addEventListener("click", function () { - // createCookie('cookie-notice-dismissed', 'wantCookies', 31); - // document.getElementById('cookie-notice').style.display = 'none'; - // - // }); - - \ No newline at end of file