I’ve been using the Google Analytics plugin, created by Matt Labrum, a while, but it registers also every page view by me. That will give the wrong statistics, and I don’t want that. So, I modified the 0.3 version of the plugin into my own. This is the modified version, which can be set up to hide the Google Analytics code for user levels above a certain threshold. I also added Analytics for outgoing comment author URLs.
Rename the file below and put in your WordPress 2.0 plugin directory: