(2013-04-17, 05:36:03)datiswous Wrote: This is not a plugin but putting the following line of code in your template directly above/before </head> would do such:
Code:
<script src="http://cookieok.eu/bar/js/cookieok.js" type="text/javascript"></script>
(tested)
Source: http://cookieok.eu/
This script alone does
NOT make your site conformant with EU law.
It only displays the information bar and reloads the page, when the vistor states his preference, setting the cookie
_cookieok to 1 if the user agrees.
You (your theme and/or your plugins) have to check for this cookie and only if it is set to one, set tracking, social or other cookies themselves.
It also means that you
MUST NOT include any google analytics, facebook, etc. javascript, any images (incl. transparent 1pixel images) from other domains like facebook, etc. (unless you are sure they are not used for tracking, etc.) on the pages delivered to the user
UNLESS he has agreed (and _cookieok is 1).
And if your visitor has Javascript switched off, bad luck: he will never see the bar and you will never get his agreement.