<script> in header.
<script> in header.
Hello,
I am trying to add the following script to my site to comply with the EU cookie law:
<!-- Begin Cookie Consent plugin by Silktide -
http://silktide.com/cookieconsent
-->
<link rel="stylesheet" type="text/css" href="
https://s3-eu-west-1.amazonaws.com/assets.cookieconsent.silktide.com/current/style.min.css"/>
<script type="text/javascript" src="
https://s3-eu-west-1.amazonaws.com/assets.cookieconsent.silktide.com/current/plugin.min.js"></script>
<script type="text/javascript">
// <![CDATA[
cc.initialise({
cookies: {
social: {},
analytics: {},
necessary: {}
},
settings: {
consenttype: "implicit",
style: "light",
useSSL: true
},
strings: {
notificationTitle: 'This site uses cookies.'
}
});
// ]]>
</script>
<!-- End Cookie Consent plugin -->
However, when this code is added to either the page or site header nothing is displayed. Is there something I'm missing?
Thanks
Jake