<!-- IN DOCUMENT HEAD Just change yourdomain -->
<script type="text/javascript">
<!--
function delete_cookie ( cookie_name )
{
document.cookie = cookie_name + "=; expires=Thu, 01-Jan-70 00:00:01 GMT; path=/; domain=.yourdomain.co.uk;";
}
//-->
</script>
<!-- Put this where you want it in the page -->
<p><a href="<!-- Link to cookies deleted page -->" delete_cookie('__utma');delete_cookie('__utmb');delete_cookie('__utmc');delete_cookie('__utmz');">Clear Cookies</a> </p>
function delete_cookie()
{
var new_date = new Date()
new_date = new_date.toGMTString()
var thecookie = document.cookie.split(";")
for (var i = 0;i < thecookie.length;i++)
{
document.cookie = thecookie[i] + "=; expires=Thu, 01-Jan-70 00:00:01 GMT; path=/; domain=.domain.com;";
}
}
function delete_cookie()
{
var thecookie = document.cookie.split(";")
for (var i = 0;i < thecookie.length;i++)
{
document.cookie = thecookie[i] + "=; expires=Thu, 01-Jan-70 00:00:01 GMT; path=/; domain=.domain.com;";
}
} For implied consent to work there has to be some action taken by the consenting individual from which their consent can be inferred. This might for example be visiting a website, moving from one page to another or clicking on a particular button.
[edited by: g1smd at 9:09 am (utc) on May 26, 2012]
Just to reduce that chance of one of my sites being the first example site for prosecution I will place a small two line note at the top of each page saying something along the lines "by using this site you are agreeing to the use of cookies. Click here for more information about cookies and their use on this site". I will link to my existing privacy statement.
I only use GA so I'm just making a prominent link to a page on cookies that explains what we use, what they do and the fact that we assume they have given consent and in fact that it is a condition of use that they accept this. I'm not having a pop-up or growl bar, just a simple link that says "Cookies" that is a bit more prominent than my links to privacy policy, about, contact etc pages.
I'm thinking that the worst that could happen is they say "well done for trying but you need to do a bit more".