Add cookie banner
This commit is contained in:
parent
ef769053ad
commit
180a483861
1 changed files with 23 additions and 0 deletions
|
@ -147,4 +147,27 @@
|
||||||
</script>
|
</script>
|
||||||
<noscript><p><img src="//analytics.depau.eu/piwik.php?idsite=3&rec=1" style="border:0;" alt="" /></p></noscript>
|
<noscript><p><img src="//analytics.depau.eu/piwik.php?idsite=3&rec=1" style="border:0;" alt="" /></p></noscript>
|
||||||
<!-- End Matomo Code -->
|
<!-- End Matomo Code -->
|
||||||
|
|
||||||
|
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.css" />
|
||||||
|
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js"></script>
|
||||||
|
<script>
|
||||||
|
window.addEventListener("load", function(){
|
||||||
|
window.cookieconsent.initialise({
|
||||||
|
"palette": {
|
||||||
|
"popup": {
|
||||||
|
"background": "#2d643e",
|
||||||
|
"text": "#ffffff"
|
||||||
|
},
|
||||||
|
"button": {
|
||||||
|
"background": "#a3c439",
|
||||||
|
"text": "#ffffff"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"theme": "edgeless",
|
||||||
|
"position": "bottom-right",
|
||||||
|
"content": {
|
||||||
|
"message": "This website uses cookies for anonymized traffic analytics.\nTo opt-out, enable the \"Do Not Track\" option in your browser's settings."
|
||||||
|
}
|
||||||
|
})});
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Reference in a new issue