Thursday, May 30, 2013

EU Cookie Muncher

EU Cookie Muncher - CodeCanyon Item for Sale


EU Cookie Muncher - CodeCanyon Item for Sale

compliance // cookie // cookies // directive // eu // facebook like // google analytics // law // share // social media // twitter // wordpress //



















Created 7 May 12
Last Update 6 June 12
Software Version WordPress 3.4, WordPress 3.3, WordPress 3.2, WordPress 3.1, WordPress 3.0, jQuery
Files Included JavaScript JS, CSS, PHP


More Info...EU Cookie Muncher

NEW in 1.3 – Run in implied consent/opt out mode to reflect changes in UK law. You can now also use the [cookie_button enable_text=”Cookies ON” disable_text=”Cookies OFF ”] shortcode on your policy page to allow users to change their cookie preference.



From May 2011 a new privacy law came into effect across the EU (the EU Cookie Directive). The law requires that websites ask visitors for consent to use most web cookies. This plugin will make your WordPress site compliant at the touch of a button.



Demo URL : wp.scott.ee
Login: administrator / administrator




About the Law


The law was created with the best of intentions but its implementation has not been very well thought out. Different countries within the EU also require different approaches. The short of it all is that any cookies that are not essential for the websites function should not be set without the express permission of the user first.
Essential cookies include those for logging in and shopping carts. Non essential cookies are generally set by tracking scripts such as Google Analytics and social media buttons. In the UK the maximum fine for non-compliance is £500,000. For more information I recommend you have a look at:




  • A Simple Guide to Cookies by Wired

  • ICO Guide to Cookies

  • No cookie Law



Plugin Features


  • Mode – Allow visitors to either opt in or opt out (implied consent) of cookies by default

  • EU Only – Enable the notification and cookie blocking for visitors within the EU only

  • Shortcode – Use the [cookie_button] shortcode on your policy page to allow change of preference

  • Linkable – Directly link visitors to a cookie enabled site by adding ?cookies=1 to any page on your site

  • Themeable – Easy options for choosing notification colour, position and timeout

  • No Adverts – An additional option to remove your websites adverts

  • CSS – Create your own stylesheet for a completely custom look



How does it work?

First off we check the IP address of the visitor. If they appear to be outside of the EU then the plugin is not loaded.



Opt Out (implied consent) Mode

Your website loads as normal with all cookie setting tools. A notification is shown to the visitor explaining you use cookies. From this notification the visitor can choose to decline cookies or find out more. If they decline cookies the page is reloaded, this time such as Google Analytics, twitter and Facebook social buttons are removed from the page. Their preference is remembered for one year.



Opt In Mode

We scan your sites HTML for scripts and tools that do not comply with the directive, such as Google Analytics, twitter and Facebook social buttons. These scripts are removed from the page and a customisable notification is shown to the user inviting them to “accept cookies”. Once they accept cookies the preference is remembered for one year and your cookie setting scripts jump back to life.



What does it currently block?


  • Google Analytics

  • WordPress.com Stats

  • Twitter Tweet Buttons

  • Tweetmeme

  • Facebook Like Buttons

  • Google+ Buttons

  • StumbleUpon

  • Pinterest

  • Digg

  • ShareThis

  • AddThis

  • Parse.ly

  • KISSmetrics

  • Peerius

  • Clicky

  • Woopra

  • Webtrends

  • Doubleclick / Google Adsense (optional)

  • BuySellAds (optional)

  • Skimlinks (optional)

  • Adbrite (optional)



But my site uses xxx.js tracker/adverts…

I’m glad you said that. There are thousands of potential tracking scripts present across the web and they are not particularly easy to locate. I would like to invite you to make suggestions and provide links to other services that set cookies in the comments section. I can then extend the checks to remove more third party tools in future.



How can I test what is setting cookies and if it’s working?

There are three things you should do:




  1. View the source of your site with the plugin active. We add a comment to the very bottom indicating how many cookie settings scripts have been removed

  2. Install Ghostery for your browser to highlight tracking scripts as you browse the web

  3. Install the Web Developer toolbar to see which scripts are actually settings cookies



EU Cookie Law Shortcode – Version 1.3


  • Improved shortcode [cookie_button enable_text=”Cookies ON” disable_text=”Cookies OFF ”]

  • Shortcode loaded for front end only

  • Update noty library to 1.2.1

  • Updated default settings

  • Added JavaScript cookie check to improve compatibility with cached sites

  • Added 20 seconds as a timeout option

  • Conditional functions for theme developers: cookies_off() & cookies_on() to provide alternative content depending on state

  • Added Woopra and Webtrends Blocking




EU Cookie Law Implied Consent – Version 1.2


  • Run in implied consent (opt out) mode – please re-save your plugin options after updating

  • New shortcode [cookie_button] to enable visitors to turn cookies on or off

  • Closing the notification will now stop the pop up showing again (yes it sets a cookie!)

  • Added support for Twitter widgets

  • Made some small tweaks to improve JavaScript compatibility

  • Fixed bug where HTML tags were stripped when saving




EU Cookie Law Plugin – Version 1.1


  • Added check for AJAX request compatibility

  • New service: chart.dk tracking code

  • Updated Facebook to include the Facebook Like Box

  • Added support for the DP Social Share WordPress Plugin




EU Cookie Directive Plugin – Version 1.0


  • Initial release





Related produck


WordPress Video Training Dashboard Widget - CodeCanyon Item for Sale WordPress Admin Colors & Branding - CodeCanyon Item for Sale WordPress Instant Search and Suggest - CodeCanyon Item for Sale

More items by scottsweb

No comments:

Post a Comment