Free Cookie compliance code
Simple cut and paste code to comply with the EU Cookie law.
Instead of having to find multiple versions for Joomla, WordPress, Magento, Prestashop etc. etc. simply place this code into your header file and your away.
Hopefully this will help solve a few headaches for cross platform, multi CMS peeps ![]()
Open your header file
Copy the following code and place just below the < head > in your header file.
<script type="text/javascript" src="http://www.voodish.co.uk/voodish-cookie/assets/jquery-1.7.2.js"></script>
<link rel="stylesheet" type="text/css" href="http://www.voodish.co.uk/voodish-cookie/assets/style.min.css"/>
<script type="text/javascript" src="http://www.voodish.co.uk/voodish-cookie/assets/plugin.min.js"></script>
<script type="text/javascript">
// <![CDATA[
cc.initialise({
cookies: {
analytics: {}
}
});
// ]]>
</script>
Options
You can choose to display from the following options, by adding or removing them from the code:
social: {},
analytics: {},
advertising: {},
necessary: {}
Related Articles
- No related posts found.









Comments RSS Feed



Ace, this works a treat, thanks for supplying this
Go to Top of the page
Cheers, saved me a big headache.
Go to Top of the page
many thanks for making this script available. bookmarked and +1′d, stumbled and all that jazz!! tops
Go to Top of the page
Thanks man…
Awesome script.. no words…
keep up the work… kudos
Go to Top of the page