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.

Ready to Get Started? Let's Talk About Your Project »

The BEST graphic artist I have worked with in the past 20 years. Found him (surprisingly) on Craigslist. Extremely fast, affordable, and the best quality of work I’ve ever received. He very carefully listened to my ideas and produced graphics exactly reflecting my vision. Shawn’s work exceeded my expectations. His quality of work was also complimented by the printing company who usually reserves comments.

Candy Jackson

Portland, Oregon

I really can’t fully express how great my experience was working with Shawn and Graticle. I work for a non-profit and our website had fallen into disrepair–we had even lost ownership of our domain name! But Shawn went above and beyond and walked me through the process of getting our domain name back, along with the complete design of the new site. I absolutely LOVED that he developed videos that walked us through the process of managing the website–from logging in, to editing photos, to changing content–he covered all the bases we needed to take care of our new site. This was particularly appreciated because, as a non-profit, we will likely be moving through web managers over the years and having these videos to pass on to each new manager will be an incredible relief, and will (hopefully) help us avoid the trap we fell into with our last site. He is the most responsible businessman I’ve ever worked with, he was extremely prompt in his replies to emails, and I never felt like he left us hanging or confused at any step along the way. I recommend his services with full marks! You won’t regret it!

Katrina

Friends of the Willamette Valley National Wildlife Refuge Complex

FriendsWVNWRC.org

Corvallis, Oregon