Why depend on google though?
Well... why not? If you're scared that Google will steal your pool credentials, simply block him in AdBlock or similar.
AWstats is one of many a very good tracking program that you can run locally.
But I
don't want to run it locally. I have tens of sites on analytics already, so I just generated yet another javascript code and put it to template; work done under 1 minute.