Comply with the EU cookie law

Cookies

Lots of websites are popping up messages about their use of cookies. This is due to a European law that came into effect in May 2011 and was tightened up in 2012. See the article Cookies and similar technologies from the Information Commissioner’s Office (ICO) for more information. ┬áIt essentially means that users must give their consent to cookies being placed on computers.

Being a website design business we thought it important to comply with the new law so we started looking into solutions. We found it quite ironic that most solutions result in a cookie being set to acknowledge that the user has accepted the sites use of cookies!

We have chosen to comply in the following way:

  • By adding a page with our Privacy Policy, detailing the cookies that Norfolk Design Studio sets.
  • By adding links in the footer of each page to the Privacy Policy.
  • By displaying a warning message that appears at the bottom of the window, visible at all times unless the user has chosen to clear the message.

This website does use a web analytics service that uses cookies to gather statistics. The solution that we originally implemented strictly adhered to the e-Privacy Directive, no cookies were written until the user accepted the use of cookies. Following implementation there were no hits recorded on this website, indicating that no one was prepared to accept cookies. As we are trying out a few ideas to improve SEO, for example adding this blog and advertising in a local paper, we want to know the impact that this has. So, we decided to change the warning message that appeared but allow the web analytics service to write cookies.

 

// This script displays a cookie warning message in div #cookie-msg-inner if the cookie 'acceptCookies' does not exist. If the user accepts cookies, a cookie 'acceptCookies' is written.

function displayCookieWarning() {
$('#cookie-msg-inner').html('<p>This site uses cookies, for more information read our <a href="termsandconditions.html#privacy-policy">privacy policy</a>. Press OK to clear this message.</p><button id="cookieAgree">OK</button>');
}

$(document).ready(function( ) {

if ($.cookie('acceptCookies') == null){ //If a cookie with name of "acceptCookies" doesn't exist
//alert('Test alert - acceptCookies NOT found');
$(function() { //Display accept cookie warning message
displayCookieWarning();
});

$("#cookie-msg button").click(function() {//If 'OK' button clicked
//alert('Test alert - Ok to clear this message');
$("#cookie-msg").hide();//Hide cookie warning message

$.cookie('acceptCookies', '', { expires: 365, path: '/' }); //Create cookie with name of "acceptCookies"
//alert('Test alert - write cookie');
});

}
else {//If a cookie with name of "acceptCookies" exists
//alert('Test alert - acceptCookies found');
$("#cookie-msg").hide();//Hide cookie warning message
}


}); // end of ready function

Latest News

WebsiteBuilder demonstration
WebsiteBuilder demonstration

We created a demonstration website using an affordable content management system by 1 & 1.


Availability calendar for holiday rental website
Availability calendar for holiday rental website

We investigated options for an availability calendar for a holiday cottage website.


Comply with the EU cookie law
Comply with the EU cookie law

Being a website design business it is important to comply with the new law so we started looking into solutions.


Use QR codes for business cards etc QR code for Norfolk Design Studio website address

For mobile phone users adding a QR code can be useful on business cards and advertising.