Cookie Consent for Koken 16 July 2016 01:03

Cookie Consent is a lightweight JavaScript plugin for alerting users about the use of cookies on your website. It is designed to help you comply with the hideous EU Cookie Law and not make you want to kill yourself in the process. So I made it fast, free, and relatively painless.

Cookie Consent 1.0.11

Latest version can be downloaded from the Koken Community Support forum.

This section outlines how You can comply with the EU Cookie Law.

What does the law say?

From May 2011 a new privacy law came into effect across the EU. The law requires that websites ask visitors for consent to use most web cookies.

Nearly all websites use cookies, which are an extremely common technology for remembering anything about a visitor between webpages. Cookies are commonly used for login, remembering preferences, tracking visitors and more.

The law provides some exceptions for “strictly necessary” cookies, but there is considerable disagreement over what this means. Cookie Consent is based upon the simplest compliance approach that has become common across the Internet since 2011.

Will Cookie Consent make me compliant with the law?

If you install Cookie Consent, you will be informing your users that your website is using cookies. This is the same approach that Google, Twitter and more have taken towards compliance: continue to use cookies, but tell users that they’re being used (often called ‘implied opt in’).

Whilst I can’t guarantee that my plugin will constitute total compliance for everyone in the EU, this approach does appear to have satisfied regulators for the time being.

Do You need to do anything else?

Simply telling users that your site uses cookies is the absolute bare minimum. Cookie Consent allows you to link to a cookie or privacy policy, if you have one. To comply with the law, I strongly recommend that you prepare a brief policy and link to it. Here’s my sample privacy policy, as an example.


You have a fine grained control over almost every part of the plugin

Cookie Path

The path for the consent cookie that Cookie Consent uses, to remember that users have consented to cookies. Use to limit consent to a specific path within your website.
Default: ‘/’

Cookie domain

The domain for the consent cookie that Cookie Consent uses, to remember that users have consented to cookies. Useful if your website uses multiple subdomains, e.g. if your script is hosted at you might override this to, thereby allowing the same consent cookie to be read by subdomains like
Default: The current subdomain

Expiry Days

The number of days Cookie Consent should store the user’s consent information for.
Default: 365 days

Link Target

The target of the link to your cookie policy. Use to open a link in a new window, or specific frame, if you wish.
Default: In the same window


Included with the plugin is 10 different themes, 5 light and 5 dark, to make it as transparent to your site as possible.

They are:

Push from top

Light top Dark top

Inline top

Light inline Dark inline

Push from bottom

Light bottom Dark bottom

Floating "dialog" and Animated floating "dialog"

Light floating Dark floating

Future versions might include the ability to create and upload custom themes to further make it "yours".


  1. Download the plugin
  2. Upload the "cookieconsent" folder to your plugin dir
  3. Create a "Privacy policy" page: a sample can be found here
    (Koken admin->Text->Pages)
  4. Enable the plugin
    (Koken admin->Settings->Plugins->Cookie Consent->Enable)
  5. Edit the settings to your liking.
    (Koken admin->Settings->Plugins->Cookie Consent->Setup)
  6. And your all set to go


Support for the plugin can be found here


Latest version can be downloaded from the Koken Community Support forum.


You should be looking at it right now...

Bjarne Varöystrand