There are numerous plugins to help bloggers insert tracking codes into their blogs. Google Analytics gets the most attention, and there are several others that are worth trying out that will keep you from having to make numerous edits to your templates to make sure you cover all the pages you want. Here are 10 very helpful tools for running stats tracking in WordPress.
All of the following are supposed to work in version 2.5 and above. Also, as always, don’t install all of these unless you want to decrease your blog’s response time.
Google Analytics
Google Analyticator - Allows you to set up the tracking code by simply knowing your tracking code number. Can also disable tracking for admins, set up additional codes and more.
Google Analytics for WordPress - Allows you to set the extensions of downloadable files you want tracked, can also set different prefixes for different types of tracking.
WordPress Google Analytics Plugin - Can set it to not log anything done in the admin area, record 404s, keep track of searches and more.