All bloggers know that without website traffic you are not in business. But in order to make the most of your website traffic generation efforts, you must put a process in place to measure and track the visitors to your website, where they are coming from, what they do when they land on your site, how long they stay and how many of them make a purchase. In this article we are going to look at how to use Google Analytics on your WordPress blog to track your website’s traffic and create reports.
What is Google Analytics?
Google Analytics for WordPress is a free plugin that, “. . .automatically tracks and segments all outbound links from within posts, comment author links, links within comments, blogroll links and downloads.” It also allows you to track AdSense clicks, add extra search engines, track image search queries and it will even work together with Urchin.” It was developed by Joost de Valk of http://yoast.com, a Dutch WP developer who has authored countless other WP plugins and tools.
First, if you do not already have one, establish a Google account.
Go to: http://www.google.com/analytics and sign in using your Google account username and password.
Enter your website address and fill out the contact information to create your Google Analytics account. You will see a new screen telling you that you need to add a snippet of code to the footer of your website pages. Using a new browser window, log in to your WP dashboard, click on Presentation, then Theme Editor, footer.php.
Paste that snippet of Google Analytics code into the footer.php file on your WordPress blog before the closing body tag that looks like this: “