90 days cookies

This commit is contained in:
sakrecoer 2020-11-20 10:38:02 +01:00
parent 90e47112d9
commit f96a55266b
2 changed files with 3 additions and 3 deletions

View file

@ -49,14 +49,14 @@
{% include matomo.js %} {% include matomo.js %}
} }
document.getElementById('cookie-notice-accept').addEventListener("click", function () { document.getElementById('cookie-notice-accept').addEventListener("click", function () {
createCookie('cookie-notice-dismissed', 'wantCookies', 31); createCookie('cookie-notice-dismissed', 'wantCookies', 90);
document.getElementById('cookie-notice').style.display = 'none'; document.getElementById('cookie-notice').style.display = 'none';
_paq.push(['trackEvent', 'Consent', 'wantCookie']); _paq.push(['trackEvent', 'Consent', 'wantCookie']);
location.reload(); location.reload();
}); });
document.getElementById('cookie-notice-decline').addEventListener("click", function () { 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'; document.getElementById('cookie-notice').style.display = 'none';
_paq.push(['trackEvent', 'Consent', 'dontWantCookie']); _paq.push(['trackEvent', 'Consent', 'dontWantCookie']);
location.reload(); location.reload();

View file

@ -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: **Visitor preferences cookies** are:
**Name**\: cookie-notice-dissmissed<br>**Services**\: Cookie consent kit<br>**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.<br>**Cookie type and duration:** First-party session cookie deleted after 31 days **Name**\: cookie-notice-dissmissed<br>**Services**\: Cookie consent kit<br>**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.<br>**Cookie type and duration:** First-party session cookie deleted after 90 days
### 2\. Analytics cookies ### 2\. Analytics cookies