voodish logo
tweet rss book of faces Linked In

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[
cookies: {
analytics: {}
// ]]>


You can choose to display from the following options, by adding or removing them from the code:

social: {},
analytics: {},
advertising: {},
necessary: {}

Related Articles

Comments RSS Feed


  1. moomin July 31, 2012

    Ace, this works a treat, thanks for supplying this :)

  2. Go to Top of the page

  3. Peter Davies July 31, 2012

    Cheers, saved me a big headache.

  4. Go to Top of the page

  5. Paul October 24, 2012

    many thanks for making this script available. bookmarked and +1′d, stumbled and all that jazz!! tops :)

  6. Go to Top of the page

  7. shyam November 15, 2012

    Thanks man…
    Awesome script.. no words…
    keep up the work… kudos

  8. Go to Top of the page

Leave a comment