From ee5286728498d738b6a4c9b8649195f619063a5c Mon Sep 17 00:00:00 2001 From: Set Hallstrom Date: Fri, 20 Nov 2020 10:33:03 +0100 Subject: [PATCH] cookies for 90 days --- _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 dc267d9..e7590ff 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', 31); + createCookie('cookie-notice-dismissed', 'wantCookies', 93); document.getElementById('cookie-notice').style.display = 'none'; _paq.push(['trackEvent', 'Consent', 'wantCookie']); location.reload(); }); document.getElementById('cookie-notice-decline').addEventListener("click", function () { - createCookie('cookie-notice-dismissed', 'dontWantCookies', 31); + createCookie('cookie-notice-dismissed', 'dontWantCookies', 90); document.getElementById('cookie-notice').style.display = 'none'; _paq.push(['trackEvent', 'Consent', 'dontWantCookie']); location.reload(); diff --git a/cookies.md b/cookies.md index 57ba183..814165d 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 31 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 90 days ### 2\. Analytics cookies