Fai una cosa, nelle parti rosse metti i tuoi dati e metti questo codice nell'header prima del tag </head>
Codice:
<script>
var _iub = _iub || [];
_iub.csConfiguration = {
consentOnContinuedBrowsing: false,
invalidateConsentWithoutLog: true,
perPurposeConsent: true,
siteId: xxxxx,
whitelabel: false,
cookiePolicyId: xxxxx,
lang: "it",
localConsentDomain: "slossel.altervista.org",
banner: {
acceptButtonCaptionColor: "#fff",
acceptButtonColor: "#1cc916",
acceptButtonDisplay: true,
backgroundColor: "#fff",
backgroundOverlay: true,
brandBackgroundColor: "#f4f7f7",
brandTextColor: "#000",
closeButtonDisplay: false,
customizeButtonCaptionColor: "#fff",
customizeButtonColor: "#8799a7",
customizeButtonDisplay: true,
explicitWithdrawal: true,
fontSizeBody: "15px",
listPurposes: true,
logo:"logo-del-tuo-sito",
position: "float-top-center",
rejectButtonCaptionColor: "#fff",
rejectButtonColor: "#1cc916",
rejectButtonDisplay: true,
textColor: "#000",
cookiePolicyLinkCaption: "Cookie Policy",
customizeButtonCaption: "Personalizza le tue preferenze",
rejectButtonCaption: "Prosegui senza accettare"
}};
</script>
<script type="text/javascript" src="//cdn.iubenda.com/cs/iubenda_cs.js" charset="UTF-8" async></script>
Nel footer metti questo:
Codice:
<script type="text/javascript">(function (w,d) {var loader = function () {var s = d.createElement("script"), tag = d.getElementsByTagName("script")[0]; s.src="https://cdn.iubenda.com/iubenda.js"; tag.parentNode.insertBefore(s,tag);}; if(w.addEventListener){w.addEventListener("load", loader, false);}else if(w.attachEvent){w.attachEvent("onload", loader);}else{w.onload = loader;}})(window, document);</script>
<a href="https://www.iubenda.com/privacy-policy/xxxxx" class="iubenda-white no-brand iubenda-noiframe iubenda-embed">Privacy Policy</a>
- <a href="https://www.iubenda.com/privacy-policy/xxxxx/cookie-policy" class="iubenda-white no-brand iubenda-noiframe iubenda-embed">Cookie Policy</a>
- <a class="iubenda-embed no-brand iubenda-noiframe iubenda-embed iubenda-cs-preferences-link">Aggiorna le tue preferenze</a>