I just watched this video about the new EU cookie law. I run two small websites, which don't use cookies, but I was intrigued by the claim that 90% of EU web sites violate the law. How could it be so high? A worrying idea occurred to me. I googled "does google analytics violate eu cookie law", and the very first hit confirmed my fears. I had become a criminal!
To be honest, I don't look at the Google Analytics data very often, so rather than pay £50 for someone's jQuery plugin to get me back on the straight and narrow, I just commented out the offending JavaScript.
What a relief! And what a relief too for my few visitors, knowing that I will no longer be able to know that they've visited me, even though I had no way of knowing who they were.
My only lingering worry is that leaving the commented out code in my HTML files could count as conspiracy.