Data, Google Analytics, Marketing, Tutorials

How to Install Google Analytics Onto WordPress

By Jon Elordi

WordPress sites now make up almost 30 percent on the internet. In fact, this blog is built with WordPress and hosted by Bluehost(It’s an affiliate link, but you get half off your first month). So since so much of the internet is powered by WordPress I thought I show how to install Google Analytics onto WordPress.


The easiest way to install Google Analytics onto WordPress is to use a plugin. the most popular plugin for adding Google Analytics is the MonstrerInsights plugin. Login to WordPress and go to Plugins > Add New.

The WordPress side Bar

From there you’ll want to search for “monsterinsights.” Click on Install Now. then click on Activate.


MonsterInsights will then be installed and will show up on the left side bar as so


Google Analytics

Before we set up MonsterInsights, you’ll want to create your Google Analytics account. You can do that here. I’m not going to go through that as it’s fairly straight forward.

Once in Google Analytics, you’re going to want to create a new account for the website you want to track. Click on the Admin button at the bottom of the left menu. Then click on “New Account”


Fill out the create account form with the name of the site. It can be anything mine is called “” and make sure all the checkboxes are checked. Click “Next.” Select “Web.” Click “Next.” And now you’re at the Property Setup screen.


Choose a website name, input the URL, select a category, and then choose your time zone. Then click “create.” You’ll need to accept all the terms, and then your Google Account will have been created. It’s going to take you to a page about tracking code. You don’t need this because MonsterInsights will take care of this automatically, so just go back to WordPress.

MonsterInsights Set Up

Once you have you Google Analytics account set up, you can go into MonsterInsights and begin the set up Wizard.


Click “Launch Setup Wizard.” then select the appropraite option:


Next click on “Connect MonsterInsights.” At this point in time there’s no need to upgrade to the Pro version.


It’ll load for a bit, and then take you to a Google login screen.


Click on your account or login using the account you just created. Then click on “Allow”


Click on “Complete Connection.” Make sure you have Event Tracking and Enhanced Link Attribution enabled. Leave the rest of the settings on default, and click on “save and continue” at the bottom.


The next screen will prompt you to purchase many recommended Addons. You don’t need any of these, so click on “Save and continue”

You’ll then be taken to the last step. Click on “Finish Setup & Exit Wizard.” And you’re done. That’s how you setup Google Analytics onto WordPress. It’s pretty straight forward, but if you’ve never done it before it can be intimidating.

If you want to learn more about Google Analytics, may I suggest downloading my free guide Google Analytics – Quick Start Guide. If you’re new to Google Analytics, you may also want to check out my post about the Google Analytics layout here.