This plugin would be the simplest way to do that:
http://ww.wp.xz.cn/extend/plugins/googleanalytics/
It’s easiest to use a plugin so if you change themes, you don’t have to edit the footer.php file again.
A very simple plugin:
http://ww.wp.xz.cn/extend/plugins/googleanalytics/
More complex plugin with dashboard widget and options to not recored your own visits:
http://ww.wp.xz.cn/extend/plugins/google-analyticator/
http://ww.wp.xz.cn/extend/plugins/googleanalytics/ takes me back the the same place that instructed me to copy and paste the code into my web pages. That is what I dont know how to do as I am not code savvy whichis strangely the reason why I opted for WP because thought that non tech people can work it.
The point of these analytics plugins is that they insert the tracking code for you. In the settings for whichever plugin you elect to use, you enter your UA code provided by Google and the rest is taken care of.
@mj Smook: It’s easiest to use a plugin and paste the code in one place that’s not in the theme, so if you change themes, you don’t have to edit the footer.php file again.
It doesn’t get any easier than that. Google Analytics is not part of WordPress. You have to either cut and past code or paste the UA code.