How to add Google Analytics to your WordPress website

This guide will explain how to set up Google Analytics on your WordPress website for customers using web hosting and WordPress hosting.

Before you start, you’ll need to set up a Google Analytics account. You can learn about this and how to get started with Google Analytics here.

Let’s get started…

Installing the plugin

  1. Login to your WordPress dashboard. You can do this by navigating to
  2. Hover over Plugins on the left had side and click Add New
  3. Use the search bar in the top right had side to find Google Analytics by MonsterInsights
  4. Click Install Now
  5. Once installed you’ll need to turn the plugin on. Do this by clicking Activate Plugin

Connecting to Google Analytics

Once active, you’ll need to link the plugin to your Google Analytics account.

You can do this by clicking Settings from the screen displayed immediately after the plugin is activated.

Alternatively, you can go to Plugins, Installed Plugins and click Settings under the Google Analytics by MonsterInsights section.

  1. From the General tab click Authenticate with your Google account.
  2. A box will appear for you to login to your Google account
  3. Click Allow to give MonsterInsights permission to view your Google Analytics data
  4. Next an authentication code will be displayed. Copy this and paste it in to the Paste your Google code here field
  5. Click Save authentication code
  6. Select your Analytics profile from the drop down
  7. Click save changes

Now this is set up, you’ll be able to view your analytics by hovering over Insights on the left hand side of the WordPress dashboard and clicking Dashboard.

Was this article helpful?

Check out some of our related guides

Need a hand? Search over a hundred step-by-step support guides