cookie longeivity
This commit is contained in:
parent
0e60afb224
commit
a25a71ce63
|
@ -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', 90);
|
createCookie('cookie-notice-dismissed', 'wantCookies', 365);
|
||||||
document.getElementById('cookie-notice').style.display = 'none';
|
document.getElementById('cookie-notice').style.display = 'none';
|
||||||
_paq.push(['trackEvent', 'Consent', 'wantCookie']);
|
_paq.push(['trackEvent', 'Consent', 'wantCookie']);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
document.getElementById('cookie-notice-decline').addEventListener("click", function () {
|
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';
|
document.getElementById('cookie-notice').style.display = 'none';
|
||||||
_paq.push(['trackEvent', 'Consent', 'dontWantCookie']);
|
_paq.push(['trackEvent', 'Consent', 'dontWantCookie']);
|
||||||
|
|
||||||
|
|
|
@ -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 90 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 12 months.
|
||||||
|
|
||||||
### 2\. Analytics cookies
|
### 2\. Analytics cookies
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue