How to Use Google Analytics for WordPress

Using Google Analytics for WordPress helps you understand how visitors interact with your site and content. Google Analytics is a free web analytics service that allows you to track traffic, behavior, conversions and more on your website. In this post, you’ll learn how to set up Google Analytics in the WordPress dashboard. Also, you’ll get a few introduction techniques for measuring valuable data from your traffic.

Google Analytics can help you understand:

  • Who visits your website.
  • Where they are coming from.
  • What they do on your site once they are there.
  • How successful your content and user funnels are.
  • And much more.

Installing Google Analytics in WordPress

First, you need to set up your Google Analytics (GA) account. Click this link where you can either sign into an existing Google account or create a new one.

If you already have a Google Analytics account, then skip to the next section. If not, follow these steps:

  • Enter the phone number or email address associated with your Google account or click the “more options” button to create a new account.

Google Analytics WordPress

  • Once you hit “next,” enter your password.
  • Once you’ve successfully logged in, you’ll see a screen like the one, below. This screen shows you the three-step step process for installing WordPress onto your website.
  • Click “sign up.”

Google Analytics WordPress

  • New account holders need to enter details about their website. Giving this information to Google helps produce the tracking code necessary for everything to work together seamlessly.

Google Analytics WordPress

  • Once you’ve filled in the details and clicked the “get tracking ID” button, you should receive your tracking code.
  • You’ll also be prompted to agree or disagree to the GA terms and conditions.
  • If you want to use the service, click “I agree.”
  • Below is an image of a tracking code. You’ll want to copy and paste it somewhere safe, as you’ll be using it in the next steps.

  • Once you’ve set up your GA account, it’s time to connect it to your website. Here are the three main ways to do this:
    • Manually
    • Manually through a plugin
    • Using a dedicated WordPress plugin
  • Completely manually requires more time and leaves more room for error, so in this guide, you’ll find out about number two and three.

Manually Through a Plugin

In this method, you’ll want to download the plugin, Addfunc head and footer code. If you’re unsure how to do that, use our guide here.

  • Once you’ve installed the plugin, go to Settings >> Header and Footer code.

Google Analytics WordPress

  • Copy and paste the tracking code you saved from before into the “site-wide Footer Code.”
  • Once you hit “Save changes,” your site will now be connected to Google Analytics and you can start collecting data.

Google Analytics WordPress

Key point: It may take some time for your data to begin tracking. Don’t be alarmed if you see no traffic on your Google Analytics account.

Using a Dedicated WordPress Plugin

A common Google Analytics for WordPress plugin is MonsterInsights. With a whole plethora of tools built right into the plugin, you can look at most of the basic stats without even having to leave WordPress.

Google Analytics WordPress

There is a free and a paid version. The paid version for those who want to use the advanced features of Google Analytics. Here’s how to set it up:

  • First, install the Monster Insights plugin.
  • Once you’ve installed and activated it, hover over the Insights section on the left-hand side admin panel in your WordPress dashboard and click “settings.”

Google Analytics WordPress

  • Click the “Authenticate with your Google account” button.

Google Analytics WordPress

  • You should then see a screen that looks like this:

Google Analytics WordPress

  • Click “Next.”
  • You will need to get a unique code from Google. When you click that button, you’ll see another screen that will prompt you to sign in with your Google account.

Google Analytics WordPress

  • Click allow and you’ll be presented with a code like the one below.

Google Analytics WordPress

  • Copy this code and return to your WordPress window you had open before.

Google Analytics WordPress

  • Enter the code you copied.

Google Analytics WordPress

  • Choose an Analytics profile. If you only have one site, that’s the one that will appear.

Google Analytics WordPress

  • Choose the site you want to connect your WordPress with and click “next.”

Google Analytics WordPress

Using Google Analytics with WordPress

Now you’ve installed Google Analytics, it’s time to start diving into the data.

Key point: If you’re using a plugin tool for WordPress, like Monster Insights, you can find this data within WordPress.

Google Analytics WordPress

On the left-hand panel, you will be able to access a number of different reports, includingj:

  • Audience tab: Shows you data about your users.
  • Acquisition tab: Show where your users have come from.
  • Behavior tab: Shows what your users do once they arrive on your site.
  • Conversion tab: Show how well you are doing against the goals you’ve set for yourself.

Key point: If you’re unsure what any of the metrics mean whilst you’re browsing through Google Analytics, you can hover over the name.

Google Analytics WordPress

Ready for the next step? Learn how to build effective Google Analytics dashboards.

Conclusion

Google Analytics is one of the most powerful free web analytics tools at your disposal. For WordPress users of all levels, syncing your Analytics with WordPress will enable you to consistently improve the way your website performs. Do you have specific questions on how to do something in Google Analytics? Just ask in the comments section below.

0 Comments