Adding Google Analytics to WordPress

how to add google analytics to wordpress-google analytics logo

Adding Google Analytics to WordPress

Whether you’ve got a blog, a personal website, a hobby website or an online store/e-commerce site, it’s understandable that you’d want to avail yourself of the tools and insights that Google Analytics can offer.

It can lend valuable insights into how users interact and behave on your site and can be crucial to a site’s success. Let’s take a look at how to integrate Google Analytics into a WordPress site, and how to add Google Analytics to WordPress.

Getting Google Analytics

Google Analytics is absolutely key to hosting and running a great website. The feedback you can mine will shape and revolutionize your content!

Learn more about Google Analytics and what you can gain by utilizing this amazing tool below.

Who Are Your Site’s Visitors, And Why Should You Care?

A great starting point is to ascertain where your visitors are located and what browser they used to visit your site. Did they use a mobile or a tablet? Did they have Flash or JavaScript?

Even knowing the user’s screen resolution can be useful – if they’re on a 1280 screen resolution, you can make sure your design is a good match for that resolution or smaller.

While your visitors are there, what are they doing?

What’s the amount of time spent on each page, what’s the path they take to get from one page to the next, how long do they visit the site and what percentage of users leave the site on the first visit (bounce rate)?

Are your visitors coming from search engines, referral links from another site or direct links? If your site’s users are coming from social media such as Facebook, it behooves you to incorporate some exclusive Facebook content on the site.

If users are coming from another website that has a link to your site, consider ways to partner with that site, such as an exchange of guest posts or other ways to connect.

Once you know how to add Google Analytics to WordPress, you’ll have access to all this data.

How Do People Interact with Your Site?

This is another important consideration for any website, and a good reason to learn how to add Google Analytics to WordPress.

One of the best features of Google Analytics is the ability to run split A/B tests that randomly route users to alternate versions of your site or alternate pages. These content experiments help you keep your finger on the pulse of your users and understand what will and won’t work to meet the expectations you’re hoping for.

Once you learn how to add Google Analytics to WordPress, you’ll have the ability to access this kind of information and insight and answers to these questions means that you can cut the guesswork out of the process, focus on things that matter and concentrate on how to improve your site and users’ experience when they land on it.

So, Here’s How It’s Done

Now that we’ve laid down some pretty solid reasons for using Google Analytics in conjunction with your WordPress site, here’s a bit of the nut and bolts of how to actually bake it into the cake and make it happen.

Ready? Here’s how to add Google Analytics to WordPress

  • Go to the Google Analytics Signup Page and create a Google Analytics account. You can sign in with your Gmail account credentials, and you’ll then be directed to a screen where you can sign up for a GA account.
  • Next, you’ll be asked to choose between a website or mobile app – make sure you select “website” on this page. There will be an entry for the account name, website name, URL, country and time zone. You should have a Google Analytics profile name for the website that you can claim as an account name. Google will offer a Get Tracking ID button as well as Google Analytics terms of service (click “agree” on that).
  • Next, Google will present you with a Google Analytics tracking code. You can copy this code and enter it in your WordPress site.

MonsterInsights is the most common Google Analytics plugin for WordPress and is used by over a million websites, including sites like Bloomberg, Zillow, and PlayStation.

To add Google Analytics to WordPress you can choose from a free or premium version – all you need to do is install and activate the MonsterInsights plugin. You’ll then see a new menu item labeled “Insights” on your WordPress admin menu. Go to Insights > settings to configure and customize this plugin.

Click on Authenticate with your Google account button and GA will be connected with your WordPress site. Go to the Google Analytics page and you will be asked to sign in, then asked to allow MonsterInsights to access your GA account.

Google Analytics and the Long Game

how to add google analytics to wordpress- google analytics logo

There are other methods and schools of thought on how to add Google Analytics to WordPress, but we’ve touched on one of the easiest and most popular here.

Remember that any Google Analytics data will be the long game, regardless of how much traffic your site receives.

Any changes you make may take as long as 30 to 90 days before they move the needle in GA, but with GA installed in your WordPress site, you can at least start gaining some valuable insights and information on how your site performs and how users behave when they explore it.

Leave a Reply