Sunday, February 5, 2012

Google Analytics Code for Wordpress

The Google Analytics for WordPress plugin allows you to track your blog easily and with lots of metadata.

Check out the Google Analytics for WordPress video:




Full list of features:

Simple installation through integration with Google Analytics API: authenticate, select the site you want to track and you're done.
This plugin uses the asynchronous Google Analytics tracking code, the fastest and most reliable tracking code Google Analytics offers.
Option to manually place the tracking code in another location.
Automatic Google Analytics site speed tracking.
Outbound link & downloads tracking.
Configurable options to track outbound links either as pageviews.
Option to track just downloads as pageviews in Google Analytics.
Allows usage of custom variables in Google Analytics to track meta data on pages. Support for the following custom variables:
Author
Single category and / or multiple categories
Post type (especially useful if you use custom post types)
Logged in users
Publication Year
Tags
Possibility to ignore any user level and up, so all editors and higher for instance.
Easily connect your Google AdSense and Google Analytics accounts.
Option to tag links with Google Analytics campaign tracking, with the option to use hashes (#).
Option anonymize IP's, for use in countries like Germany.
Full debug mode, including Firebug lite and ga_debug.js for debugging Google Analytics issues.
Allow local hosting of ga.js file.
Tracking of search engines not included in Google Analytics default tracking.
Tracking of login and registration forms.
Other interesting stuff:

Check out the other WordPress Plugins by the same author.
Want to increase traffic to your WordPress blog? Check out the WordPress SEO Guide!
Check out the authors WordPress Hosting experience. Good hosting is hard to come by, but it doesn't have to be expensive, Joost tells you why!


Author: joostdevalk

http://wordpress.org/extend/plugins/google-analytics-for-wordpress/

How to use the Google Analytics Code for beginners

This page will teach you how to use Google Analytics, even if you're a beginner. Google Analytics is one of the top tools out there for analyzing traffic on your website. With a little bit of setup, it will give you an enormous amount of information about who is visiting your site, what they're looking for, and how they're getting there. With just a little practice, along with the information on this page, you too will be able to use Google Analytics like a pro.

Google Analytics is a powerful tool for monitoring all aspects of your websites traffic, from referrals to search engine activity.1 Like any application designed to do so much, Google Analytics comes with a rather steep learning curve, which can be intimidating at first. However, by familiarizing yourself with the program, using the tool can become second nature. This page is designed to ease you into the application and teach you how to use all aspects of Google Analytics.

read more here:
http://www.mahalo.com/how-to-use-google-analytics-for-beginners/

Insert the Google Analytics Code

Insert the Google Analytics Code

Please follow the instructions below to add the tracking code to your site.

Finding your personalized Google Analytics Tracking Code
The tracking code is profile-specific, which is why you can only access it via the Profile Settings page for a specific profile. Please read Where can I find my tracking code? for full instructions. Below is an example of what the code snippet will look like. You'll need to update the "xxxx-x" in the sample below with your own Google Analytics account number found in your personalized Google Analytics Tracking Code.





Implementing the code
Once you find the code snippet, copy and paste it into the bottom of your content, immediately before the tag of each page you are planning to track. If you use a common include or template, you can enter it there. To implement tracking code for secure pages (e.g. https://), please read How do I obtain tracking code for secure pages?

Implementing the code for unique pages
For more information on how to implement the tracking code for data-driven pages or pages with frames, please follow the instructions from the relevant section in the Google Analytics Installation Guide.

Troubleshooting
You should be finished once you install and save your tracking code for your pages. If you wait 24 hours and still don't see any data, please read Why isn't Google Analytics tracking my Website?
If you don't know how to insert the code into the pages of your site, please contact your webmaster and ask him or her to follow the steps above.