no more matomo
This commit is contained in:
parent
2790c5d5b1
commit
8afd1d452f
|
@ -42,18 +42,18 @@
|
|||
}
|
||||
|
||||
if (readCookie('cookie-notice-dismissed') == 'wantCookies') {
|
||||
{% include analytics.js %}
|
||||
|
||||
{% include mautic-tracker.js %}
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'flex';
|
||||
|
||||
{% include matomo.js %}
|
||||
|
||||
|
||||
}
|
||||
if (readCookie('cookie-notice-dismissed') == 'dontWantCookies') {
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
|
||||
{% include matomo.js %}
|
||||
|
||||
}
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click", function () {
|
||||
createCookie('cookie-notice-dismissed', 'wantCookies', 365);
|
||||
|
@ -69,11 +69,4 @@
|
|||
|
||||
});
|
||||
|
||||
// document.getElementById('cookie-notice-gimme').addEventListener("click", function () {
|
||||
// createCookie('cookie-notice-dismissed', 'wantCookies', 31);
|
||||
// document.getElementById('cookie-notice').style.display = 'none';
|
||||
//
|
||||
// });
|
||||
|
||||
|
||||
</script>
|
Loading…
Reference in a new issue