Hello again =)
I’m trying to add Cookie Consent code from Insites, but it’s not showing up. I tried adding it as a Hook through Elements, under the wp_head section, and Applied it to the Entire site, but no luck. Am I putting it in the right place?
Here’s the code:
<link rel=”stylesheet” type=”text/css” href=”//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.css” />
<script src=”//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js”></script>
<script>
window.addEventListener(“load”, function(){
window.cookieconsent.initialise({
“palette”: {
“popup”: {
“background”: “#43464c”
},
“button”: {
“background”: “#a31a75”
}
},
“theme”: “classic”,
“position”: “bottom-left”,
“content”: {
“dismiss”: “GOT IT!”,
“href”: “https://astorybookchapel.com/policies/”
}
})});
</script>
Thanks in advance.