Site logo

Archived topic

Cookie Consent

4 replies · Started by Levi on September 12, 2018

Viewing posts 1–5 of 5

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.

Disregard, I figured it out. I had to select All Users in the Users section as well. =)

Awesome - glad you got it resolved :)

Thanks for checking in David. Have an awesome day sir. =)

You too! :)

This archived topic is closed to new replies.