Setting up Google Analytics for WordPress

The following steps will explain how to create a new account with Google Analytics and connect it to your WordPress site so that you can begin collecting analytic data on who is visiting your site, which pages they view, and other data points.

1) Go to Google Analytics and log in with your Google/Gmail account.

2) Click on “Access Google Analytics” in the top right corner:

access GA

3) Sign up for Google Analytics by clicking on the button on the following page:

start using GA

4) Fill out the New Account information as indicated below:

Note that this account can be used for a number of websites (each having its own “property”), so you should choose your business name or your own name, rather than the website name.

GA new account

After agreeing to the Google Terms of Service, you will land on your new account’s Admin page. You will be able to get back to this page any time you need to by going to https://www.google.com/analytics/web/ while being logged into your Gmail/Google account.

5) Copy the Tracking ID (a code beginning with UA-). For most WordPress sites, you can disregard the tracking code snippet below the ID.

For example:

trackingID

6) Install and activate a Google Analytics plugin.

Two plugins that I recommend (you only need one):

7) Enter your Tracking ID into the plugin (or connect with Google through the plugin) according to the plugin instructions.

Once you have connected your site to Google Analytics, Google will start collecting data behind the scenes. When you’re ready to check out the data, you can view some basic data in the plugin (depending on which one you choose) or log into Google Analytics for a full view. Caveat: depending on the traffic to your site (and the age of your site) it may be weeks or months before you have meaningful data to analyze.

Leave a Reply

Your email address will not be published. Required fields are marked *