How to Add Google Analytics in WordPress for Beginners

How to Add Google Analytics in WordPress for Beginners

I know, installing Google Analytics on your WordPress website isn’t as easy as it could be.

Let’s change that.

I’m going to help you not only create a Google Analytics account (and get your tracking code) but I’ll also show you how easy it is to install on your WordPress website.

Sound good?

Let’s go!

Step #1: Setup a Google Analytics Account

Obviously, we’ll need a Google Analytics account.

If you already have one, great. If you don’t, visit https://www.google.com/analytics and sign up for an account by clicking “Small Business” and then the “Get Started” button under Google Analytics, like below:

Signing Up for Google Analytics

Follow the steps that Google walks you through until you’re finished signing up.

Whew! Getting closer!

Step #2: Create a New Property in Google Analytics

Don’t let the word ‘property’ confuse you. We’re just creating a spot in Google Analytics to keep track of our website traffic.

Go ahead and log in to Google Analytics at https://analytics.google.com

Once you log in, you’ll see the wonderful Analytics Dashboard:

01 - Google Analytics Dashboard

Now, we want to add our website so we can start tracking.

To do this, click “Admin” at the top of the screen, and then click the “Property dropdown, scroll to the bottom and selectCreate new property“:

02 - Google Analytics - Create Property

On the next screen, go ahead and add the information we need:

03 - Google Analytics - New Property

  1. Website Name: This is the name that will be listed inside of Google Analytics to reference later.
  2. Website URL: This is the website address of your website. For instance: domainname.com
  3. Industry Category: Select the closest category that best represents the industry your website is in.
  4. Reporting Time Zone: Select your time zone.
  5. When you’re finished filling out #1-4, click the “Get Tracking ID” button!

On the next screen…

04 - Google Analytics - Tracking Code and Tracking ID

There is only one item we’re interested in:

Tracking ID: This is the number that we’ll use to integrate Google Analytics in WordPress. Jot it down.

Step #3: Installing a Google Analytics WordPress Plugin

Now, we’re going find and install a WordPress plugin, add our tracking code and be on our way.

a. Log in to WordPress. Hover over ‘Plugins’ and click ‘Add New’

05 - WordPress - Add New Plugins

b. Click the ‘Search Plugins’ field and type in: ‘google analytics‘ and press enter

06 - Search for Google Analytics Plugin

Right now, the first result is Google Analytics with a purple image as you see in the screenshot below.

c. Click ‘Install’ and then ‘Activate’:

07 - Install Google Analytics and Activate

Now, let’s navigate to the settings page of the plugin we just installed.

d. Hover over ‘Settings’ and click ‘Google Analytics’

08 - Google Analytics Settings

Remember that number from earlier that started with ‘UA?’

We’re about to use it!

09 - Google Analytics UA Tracking Code

Paste (or write in) that number in the Web Property ID field and click ‘Save Changes’ and…

10 - Paste Google Analytics UA Code

We’re done!

Expecting more steps? I know, it seems too good to be true, but we’re finished.

Checking Google Analytics

From now on you’ll be able to log in to Google Analytics and view the data on your website. Just know that it can take 24-48 hours before you start seeing the numbers come in.

Once logged in, click your website address with the globe next to it and you’ll be taken to the dashboard of your analytics.

11 - Check Google Analytics Data

Wrap Up

Pat yourself on the back if you’ve made it this far.

You’ve just setup Google Analytics and integrated it into your WordPress website.

Since we’re only installing Google Analytics and not going over how to use it, this is where we go our separate ways. But don’t fret! On Google, search phrases like: “google analytics for beginners” and you’ll find loads of information to help you decipher the information Google Analytics provides.

Questions?

If these steps are intimidating, give us a call (360) 450-3711 (or email) and we’ll install Google Analytics on your WordPress website for you!

Last updated on August 31, 2016. Shawn is the President of Graticle, Inc. You can follow him at Google+

Tags: , ,

  • Robert Alexander

    Sir you are a genius and benefactor of humanity … sort of :-) Thanks a bunch. Very easy to follow and result perfect.

Want a Quote on Your Project? Answer a Few Questions »

Our school has worked with Graticle and Shawn for years now and without fail the service has been outstanding. Every request, small or large, gets an almost instant and clear response. Follow up questions are handled quickly and all the information is easy to follow – screenshots and videos are often used to talk you through the process. Alternatively, the issue is just sorted out instantly at their end. They always go above and beyond what you expect. No hesitation in recommending these guys without reservation!

Mark McGough

Head of School

The Gardner School

www.GardnerSchool.org

Vancouver, Washington

I appreciate Shawn quickly helping me resolve an issue with my website. He clearly knows his stuff! Excellent and friendly service!

Dorina G.

Author / Teacher

Fresno, California