Opinion is divided on whether the new cookie regulations apply to the cookies set by Google Analytics.
As an example, you can look at the Google Analytics code for this site (using View Source). For convenience, here is is as well.
var _gaq = _gaq || ;
var ga = document.createElement('script');
ga.src = ('https:' == document.location.protocol ?
'https://ssl' : 'http://www') +
var s = document.getElementsByTagName('script');
The relevant changes to the stock script are highlighted in red. At the moment the _cookieOK variable only has the accepted property, but we may well add more.
Of course this means that the page views for these users will not be reported to Google Analytics. We are working on a way to do that without setting cookies on the visitor’s machine – stay tuned.