forked from unitoo/website
Now consent works!
This commit is contained in:
parent
3c0497a10d
commit
19a2ffd6ef
52 changed files with 2306 additions and 49 deletions
47
_includes/cookie-consent.html
Normal file
47
_includes/cookie-consent.html
Normal file
|
@ -0,0 +1,47 @@
|
|||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
|
@ -33,7 +33,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
|
||||
{% include footer.html %}
|
||||
|
||||
{% include cookie-consent.html %}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
{% include footer.html %}
|
||||
|
||||
{% include cookie-consent.html %}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -201,6 +200,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -195,6 +194,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -195,6 +194,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.8.6">Jekyll</generator><link href="https://www.unitoo.it/feed.xml" rel="self" type="application/atom+xml" /><link href="https://www.unitoo.it/" rel="alternate" type="text/html" /><updated>2020-02-15T21:26:46+01:00</updated><id>https://www.unitoo.it/feed.xml</id><title type="html">Unitoo</title><subtitle>Azienda dedicata allo sviluppo software, alla formazione dei team e alla consulenza informatica</subtitle></feed>
|
||||
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.8.6">Jekyll</generator><link href="https://www.unitoo.it/feed.xml" rel="self" type="application/atom+xml" /><link href="https://www.unitoo.it/" rel="alternate" type="text/html" /><updated>2020-02-15T21:45:16+01:00</updated><id>https://www.unitoo.it/feed.xml</id><title type="html">Unitoo</title><subtitle>Azienda dedicata allo sviluppo software, alla formazione dei team e alla consulenza informatica</subtitle></feed>
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -331,6 +330,54 @@ La scelta mirata al progresso.</p>
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -455,6 +454,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -230,6 +229,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -214,6 +213,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -204,6 +203,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -200,6 +199,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -286,6 +285,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -239,6 +238,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
var _paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['requireConsent']);
|
||||
_paq.push(['rememberConsentGiven'])
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -189,6 +188,54 @@
|
|||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#cookie-notice {padding: 0.5rem 1rem; display: none; text-align: center; position: fixed; bottom: 0; width: calc(100% - 2rem); background: #222; color: rgba(255,255,255,0.8);}
|
||||
#cookie-notice a {display: inline-block; cursor: pointer; margin-left: 0.5rem;}
|
||||
@media (max-width: 767px) {
|
||||
#cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
|
||||
#cookie-notice a {position: relative; bottom: 4px;}
|
||||
}
|
||||
</style>
|
||||
<div id="cookie-notice"><span>Utilizziamo Matomo (una tecnologia libera) per analizzare e migliorare il servizio che offriamo.</span><a id="cookie-notice-accept" class="btn btn-primary btn-sm">Approva</a><a href="https://matomo.org/gdpr/" rel="nofollow" class="btn btn-primary btn-sm">Scopri di più</a></div>
|
||||
<script>
|
||||
function createCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + value + expires + "; path=/";
|
||||
}
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function eraseCookie(name) {
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
if(readCookie('cookie-notice-dismissed')=='true') {
|
||||
console.log("GDPR Consent");
|
||||
} else {
|
||||
document.getElementById('cookie-notice').style.display = 'block';
|
||||
}
|
||||
|
||||
document.getElementById('cookie-notice-accept').addEventListener("click",function() {
|
||||
createCookie('cookie-notice-dismissed','true',31);
|
||||
_paq.push(['rememberConsentGiven']);
|
||||
document.getElementById('cookie-notice').style.display = 'none';
|
||||
location.reload();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue