Here its a very basic/simple google analytics plugin, everything is explained in the readmeanalytics.txt included in the zip file
unfortunately, the source is around 350kb (for some strange reason) so I cannot upload it to the forum, if you need it, let me know I will upload it to another place
Enjoy
EDIT (02/02/2011) : Source Code uploaded to fileserve.