• Analytics Cookie Notices for EU Compliance

    by  • Last modified:March 1, 2015 • Industry News • 0 Comments

    As you may or may not know, Europe changed laws about how users are tracked since May 26th, 2011. You can read all the details here. For UK users, here is a guide on implementing Cookies disclosure for your website. Each EU country will have their own flavor of the law, but the basic points seem to be one of notifying users you are tracking them. Let me make it clear though, these regulations apply to the companies/businesses in these regions. If you are a business located in North America, you are fine. If you are a business in Europe and host in North America the law is ambiguous, but why take the chance? Before you get nervous, it should be pointed out, even as late as June 2012, KPMG found only 20% of UK companies were applying the law. To make things easier for compliance, I did some research and found cookieok.eu/ to have the easiest/cleanest implementations to notify users. As the code is released open source, you are free to modify as need be as well. Get cookieok.js. After you have the code, here is how to implement:

    In the head place the following:

    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script> 
    <script src='cookieok.js'></script>

    Now where ever you need to place your code use the following:

    <script type="text/javascript">
    if (_cookieOK.accepted){
    <--!your tracking code-->

    That’s it. Now when a user visits your site they will see the following bar at the top:

    Of course, there are many who are not happy and there is a movement to kill the cookie law: http://nocookielaw.com/ The team behind this has also created the below creative video to give users more details about the law.

    So what have you done if you are in the UK? Have you complied yet? If so, how. If not, do you have plans to do so?


    About The Author: Adrian has over 12 years experience in Digital Marketing and Analytics. He currently works as a Marketing Head of Community at Vanilla Forums, a modern forum software platform that allows clients to connect and engage their communities and customers. Adrian has extensive experience with Google and Piwik (Matomo) Analytics. He lives and works in Montreal.