cookies for 90 days
This commit is contained in:
parent
ddc97807e5
commit
ee52867284
|
@ -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', 93);
|
||||||
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();
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue