Alternative Implementation

When we created this script, we were not able to find any alternative implementations. In recent months there have been a number of other implementations that have surfaced, both paid and free. A particularly good free one is published by silk tide at

We encourage people to check it out. If we get time, we plan to produce a wordpress plugin to simplify integration on wordpress sites.

ICC issues Cookie Guidance

The UK ICC has issued a guide on compliance with the EU Cookie regulations. The guide lays out 4 categories of cookies.

  1. Strictly necessary Cookies
  2. Performance Cookies
  3. Functionality Cookies
  4. Targeting Cookies or Tracking Cookies
Interestingly Web Analytics Cookies fall into Category 2 and the guide suggests that one way consent for these cookies can be gained is through a notice in the terms and conditions of the site.
Further Details are available here:

The guide can be downloaded here:

Open Tracking Outside Scope of Cookie Regulations?

The Email Marketing Council has stated that they do not believe that open tracking is covered by the new Cookie Regulations.

Open tracking involves the use of transparent GIF images to allow services to track visitors on other sites


ICO Issues warning on compliance

According to an article on the register the Information Commissioner’s Office has warned UK website owners that there are just 6 months left to ensure compliance.

Read the article here

This is part of the ICO’s half term report

The ICO have also issued updated additional guidance on compliance.

This document is quite detailed and contains helpful mock ups of practical ways in which consent could be gained.

On the question of using third party services such as google analytics that set cookies, it seems that the ICO will be taking the view that this in scope of the directive.

We will be digesting the guidance to see what we can offer to simplify compliance for UK Website owners – stay posted!

Video on Cookies

Silktide have published a short video summing up the new Law. They also have some useful information and opinion on the new law on their site.

Preventing Google Analytics Cookies

Opinion is divided on whether the new cookie regulations apply to the cookies set by Google Analytics.

If you want to prevent these cookies being set, you need to ensure that the Google Analytics scripts do not run. We have added a status object to our javascript that allows you to do just that.

As an example, you can look at the Google Analytics code for this site (using View Source). For convenience, here is is as well.

<script type="text/javascript">
if (_cookieOK.accepted){
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-222592-4']);
  (function() {
    var ga = document.createElement('script');
    ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ?
       'https://ssl' : 'http://www') + 
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(ga, s);

The relevant changes to the stock script are highlighted in red. At the moment the _cookieOK variable only has the accepted property, but we may well add more.

Of course this means that the page views for these users will not be reported to Google Analytics. We are working on a way to do that without setting cookies on the visitor’s machine – stay tuned.

WordPress Plugin

We now have a WordPress plugin available to add the script to your site.

You can download it from

Yes, we do use WordPress for this site and this was the easiest way for us to add the CookieOK script to our own site 🙂



Following the introduction of the new regulations relating to cookies on 26 May, we have been amazed by the lack of any concrete guidance on what needs to be done by website owners.

We have taken the bull by the horns and created this site, whose aim is to develop a service that makes compliance with the regulations as easy as possible for website owners.

We have put together the first of our tools to help with this. This is a javascript file you can include on your website that displays a bar at the top of the page which asks the user to agree to the site setting cookies on their machine.

Simply include the following script tag in your page:

<script src=”” type=”text/javascript”></script>

This is quite basic at the moment but we will be adding more features later.

Any ideas would be most welcome.