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