jQuery Cookie Compliancy


Looking for the WordPress version? Click here!

New Features

We have launched version 1.1 of our Cookie Compliancy script! It now supports two ‘opt’ methods. You can either use ‘opt-in’ where users explicitly have to accept cookies before they’re used or you can use ‘opt-out’ which automatically opts users into cookies and they must explicitly click disallow to remove the cookie-related scripts.

You now also have the option to define a page where users are sent if they ever decline cookies.

Does this affect you?

It will affect almost every website that operates within the EU. This is not restricted to EU-only domains such as .fr, .uk and .de but any website that operates in the EU. Even if your website is based in the US, on a .com domain, but offers services to people in Europe your website must comply with this law.

In Europe there is a new law coming into effect that governs how cookies can be used on websites. Essential cookies, such as ones used in shopping carts, are fine however if you use any form of non-essential cookie on your website you must first gain permission before activating those non-essential cookies.

For example, if your website uses any form of analytical tracking such as Google Analytics or ad scripts like Google AdSense you will need to gain consent from the user before tracking them. While this is somewhat up in the air at the moment, with no-one really knowing what is allowed and what is not, it’s best to be on the safe side as there are potentially hefty fines for website owners who do not adhere to the law.

For a detailed overview of the law and for further guidance, you can visit http://www.cookielaw.org/.

So what does this script do?

Essentially it provides you with a way to allow users to opt-in to using cookies. If they accept cookies then all of the cookie-restricted JavaScript will be included and any future page loads will include the JavaScript. If they do not the JavaScript will not be included.


  • Three different colour variations (orange, blue and black).
  • A light and dark theme for each colour.
  • Position on the right or left.
  • Define your own text, cookie name and animation times.
  • Include all your cookie-related JavaScript in one single file which is then included automatically if the user has accepted cookies.

If you have any questions or feedback, please do not hesitate to get in contact either via a comment or via my page!

Version Log


  • Added the option to define an opt-method. You can either opt users in automatically to cookies and allow them to refuse them, or you can specifically ask for their consent before setting any cookies.
  • You can now set a redirect URL if the user refuses cookies at any time, this allows you to send them to X page which could detail how their actions will affect their browsing experience.

This item is a collaboration between Oscardog and Metaffex.

Vendor Information

  • Store Name: oscardog
  • Vendor: oscardog
  • No ratings found yet!
No product has been found!