I wanted to use Google Analytics to measure my website activity.  I learned before how to add the Google Analytics code to a web page and so did some research on how to add it to WordPress.

I found some articles about adding it to the footer.php – How to Install Google Analytics in WordPress.  This seemed pretty straightforward.  But, then I wondered what would happen when you upgrade WordPress since you are altering a built-in file.

I hadn’t experimented with plug-ins yet.  My early exposure was comments that plug-ins were “buggy” and caused problems.  But, I found Google Analytics for WordPress.  This seemed a much better way than editing footer.php.  So, I installed the plug-in following the instruction on the plug-in web pages.  It was very easy to install.  I linked it to my Google Webmaster Tools profile and I was up and running.