| WordPress

google-analytics-logoAre you wondering which words attract visitors to your site? Do you want to know why people might be leaving the site? Google Analytics is the first choice, and most popular answer, for these questions.

The biggest stumbling block in the beginning is figuring out how to do the integration and where to place the code that Google Analytics needs. The Google Analytics plugin by Yoast is an easy solution and involves no messing around with the code. Here's how to use the Google Analytics plugin:

 

Step 1: Set up your Google Analytics account

  • Go to http://www.google.com/analytics/.
  • Login or, if you don't have a Google Account, create one.
  • Login to Google Analytics and you'll see the administration page and you click on the Admin link at the top right of the page.
  • Fill out the Name and the exact URL you want to follow.
  • Agree to the terms and save.
tutuploadsmedia_1342718794508.png
  • The next page will show you the Tracking ID and some code you can embed in a page. You don't need to write these down because a WordPress plugin will take of that for us.
tutuploadsmedia_1342719111422.png

Step 2: Install the Google Analytics plugin

  • Go to Plugins > Add New.
  • Search for Google Analytics.
  • Click install to install the plugin.
  • Activate the plugin.
  • Access it from Settings > Google Analytics.
tutuploadsmedia_1342728294353.png
  • After you've installed the plugin, you'll see a warning, which will go away after you complete the process.
  • Cick "Click here to authenticate with Google".
  • You'll be sent to Google to verify the account you used in Step 1.
tutuploadsmedia_1342715171991.png

Step 3: Grant access to Google

  • Grant Access to Google Analytics.
tutuploadsmedia_1342715250603.png
  • You will be returned to WordPress after granting access.
  • Choose the profile you created in 
tutuploadsmedia_1342726009003.png
  • Click Update Google Analytics Settings.
tutuploadsmedia_1342726416195.png

You may run into a little frustration at this point. I found that it takes a little while for everything to get communicated and clicking that button didn't work consistently.

As an alternative you may need to click on "Manually enter your UA code" and type in the code you were issued. 

tutuploadsmedia_1342727038695.png

If it has worked correctly, the warning message will no longer appear. If you still see it, try again or switch to the manual method.

Success

Check the source on your homepage. Success is seeing the Google code automatically inserted for you.

tutuploadsmedia_1342727331743.png