How to Connect Your Site with Google Analytics

Do you wanted to add your site to Google Analytics so that you can see visitor behavior?

All in One SEO makes this really easy so you can see how well your content does.

Here we’ll show you how to add Google Analytics tracking to your site.

Setting up Your Google Analytics Account

You’ll need to have a Google account to use Google Analytics. This can be any type of Google account such as Gmail.

If this is for your business, you may want to think about having a separate Google account for your business, rather than using your personal account.

To get started, you’ll need to sign into Google Analytics (if you’re not already signed in).

Once you’ve signed in, you should see a Create account screen. You’ll need to enter an account name in the Account name field.

You’ll see different data sharing settings, make sure you check all the boxes, and then click Next.

Now, select the Web option and click Next.

Next, enter the name and URL for your website, and select the industry and time zone in the Property details form. Click the Create button when you’re done.

You’ll see a Terms of Service screen, make sure you check all the boxes, and then click I Accept.

You’ll now be taken to a screen that shows your Google Analytics Tracking ID. Select this Tracking ID with your mouse, right click on the selected text and choose Copy.

Adding Your Google Analytics Tracking ID in All in One SEO

First, log into your WordPress site and click on General Settings in the All in One SEO menu, and then click on the Webmaster Tools tab.

Now click on the Google Analytics block and paste the Tracking ID you copied into the Google Analytics ID field.

Congratulations! You’ve now added Google Analytics to your site so you can start tracking visitor behavior.

Using All in One SEO With MonsterInsights

All in One SEO has now deprecated all Google Analytics features and no further development, bug fixes or enhancements will be done to these features.

The reason for this is that we have a sister plugin, MonsterInsights, which we develop for integrating Google Analytics with WordPress. To maintain both codebases would be a duplication of effort.

As a result, you will see the following notice when you go to set up Google Analytics in All in One SEO:

If you’re an existing user of the Google Analytics feature in All in One SEO, you will see this notice:

We strongly encourage you to click on the Get Started or Install MonsterInsights button to set up and use MonsterInsights instead of All in One SEO.

MonsterInsights provides significantly more features that All in One SEO for tracking and displaying visitor data in Google Analytics and it supports the latest Google Analytics tracking codes which All in One SEO does not, nor will support.

MonsterInsights has a free version and a premium version and you can learn more about it at

Are you interested in adding Google Tag Manager to your site? Visit our article on How to Connect Your Site with Google Tag Manager.

Registering your site with Google Analytics is a great way to keep track of your visitors behavior.  All in One SEO Pack offers you a simple way of integrating with your Google Analytics account so you don't have to mess with code and risk making a mistake.

First thing to do is set up your Google Analytics account.  If you have an account with any other Google service such as Gmail you can use this to log in and go to the Google Analytics site and create an Analytics account. You'll see the screen shown below where you'll enter a unique account name for your Google Analytics account:

Setting up Google Analytics - Step 1

Next you'll see the screen shown below where you'll select Web as you want this account for your website:

Setting up Google Analytics - Step 2

Next you'll see the screen below where you'll enter the name and URL for your website and select an Industry Category and Time Zone:

Setting up Google Analytics - Step 3

Finally you'll have to agree to the Terms of Service after which you'll be taken to a page with some code.

You'll see a Tracking ID at the top of the page as shown below, copy that ID, it is the only information you need for All in One SEO Pack.

Tracking ID as shown in Google Analytics

Now, go to your site and go to All in One SEO > General Settings >  Google Analytics and enter your Tracking ID in the Google Analytics ID field.

Google Analytics field in All in One SEOOnce you have your ID in place, scroll to the bottom or top of the page and click Update Options.  You're done!

Advanced Analytics Options:

You can find full documentation about all of the advanced Google Analytics options in All in One SEO Pack here.

Useful Links:

  1. Google Analytics website
  2. Advanced Analytics options in All in One SEO Pack