Not sure if this is for Hubpages or for a blog but either way:
For Hubpages: Go to the FAQ and locate the analytics section, it has pictures and everything you need.
For a blog that allows html editing: Go to analytics and create a profile for your blog. Follow all directions. Then copy paste the html code generated and put it in your blog's template before the