• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] trying to add cookie consent

Started by ampstar,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ampstarTopic starter

Hi im trying to add cookie consent to my site as its a requirement now for adsense and eu law.
the code ive got is
<script type="text/javascript">
    window.cookieconsent_options = {"message":"website uses cookies to ensure you get the best experience on our website. This allows us to personalize content and ads. By using using website you agree to these terms.","dismiss":"Got it!","learnMore":"More info","link":null,"theme":"dark-bottom"};
</script>

<script type="text/javascript" src="//s3.amazonaws.com/cc.silktide.com/cookieconsent.latest.min.js"></script>
<!-- End Cookie Consent plugin -->

i've added the code to the index.html in tpl main, before the head tag but it doesnt work.

any help is apreciated. thanks.
  •  

ampstarTopic starter

Ok ive done it.
If any one is looking to do the same.
use the wizard on https://silktide.com/tools/cookie-consent/download/
then add the generated code from <script> ... </script> in tpl.globals.php found in tpl/main.
It works very well in my opinion.
  •  

Similar topics (7)