From a25a71ce630569c0ac61dc50c36dfeaf62a93598 Mon Sep 17 00:00:00 2001 From: Set Hallstrom Date: Tue, 24 Nov 2020 19:58:25 +0100 Subject: [PATCH] cookie longeivity --- _includes/cookie-consent.html | 4 ++-- cookies.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_includes/cookie-consent.html b/_includes/cookie-consent.html index a3a878a..c0d6db6 100644 --- a/_includes/cookie-consent.html +++ b/_includes/cookie-consent.html @@ -49,14 +49,14 @@ {% include matomo.js %} } document.getElementById('cookie-notice-accept').addEventListener("click", function () { - createCookie('cookie-notice-dismissed', 'wantCookies', 90); + createCookie('cookie-notice-dismissed', 'wantCookies', 365); document.getElementById('cookie-notice').style.display = 'none'; _paq.push(['trackEvent', 'Consent', 'wantCookie']); }); document.getElementById('cookie-notice-decline').addEventListener("click", function () { - createCookie('cookie-notice-dismissed', 'dontWantCookies', 90); + createCookie('cookie-notice-dismissed', 'dontWantCookies', 365); document.getElementById('cookie-notice').style.display = 'none'; _paq.push(['trackEvent', 'Consent', 'dontWantCookie']); diff --git a/cookies.md b/cookies.md index 814165d..76fb1c7 100644 --- a/cookies.md +++ b/cookies.md @@ -35,7 +35,7 @@ This one is set by us. It is only placed if you dismiss the cookie-banner by eit **Visitor preferences cookies** are: -**Name**\: cookie-notice-dissmissed
**Services**\: Cookie consent kit
**Purpose**\: Stores your cookie preferences (so you will not be asked again) This cookie is only placed if you accept or decline to help improve our marketing via the cookie-banner buttons.
**Cookie type and duration:** First-party session cookie deleted after 90 days +**Name**\: cookie-notice-dissmissed
**Services**\: Cookie consent kit
**Purpose**\: Stores your cookie preferences (so you will not be asked again) This cookie is only placed if you accept or decline to help improve our marketing via the cookie-banner buttons.
**Cookie type and duration:** First-party session cookie deleted after 12 months. ### 2\. Analytics cookies