How to Set Up Google Analytics on WordPress Multisite Network

Looking for an easy way to set up Google Analytics on WordPress multisite network? The MonsterInsights plugin makes it easier than ever to set up Google Analytics on all of your sites. Let’s take a look at how to set up Google Analytics on your multisite network.

The Problem With Google Analytics and WordPress Multisite

WordPress multisite can save you a lot of time in managing multiple websites, but it also causes some unique problems – one of which is installing analytics.

Most Google Analytics plugins for WordPress lack support for multisite. That means that you need to go through each individual site in your network and add your Google Analytics tracking code one by one.

That’s not such a big deal if you only have a few sites, but what about networks with dozens or even hundreds of sites?

With MonsterInsights, all you need to do is add your Google Analytics code to your main site, and it works across your entire network. No technical skills are required, and you never even have to copy and paste your tracking code. Once you connect your Google Analytics account using MonsterInsights, the tracking code is automatically added for you behind the scenes.

We’ll walk you through the entire process of setting up your Google Analytics account, but if you already have that set up, you can skip ahead to the section on installing and activating MonsterInsights.

Sign Up for Google Analytics

The first thing you’ll need to do is log in or sign up for a Google account.

To get started, open the Google Analytics website and click the Sign In link in the top right corner of the page.

Sign in to Google Analytics

Then click Analytics at the top of the dropdown menu that appears.

click analytics

On the next page, you can log in to your existing Google account if you have one, or click the Create account link to create a new Google account.

Sign in to Google Analytics or create an account

Next, you’ll have to sign up for Google Analytics. Click the Sign Up button on the right side of the page to get started.

Click to sign up for Google Analytics

Then enter the settings for the sites in your network you want to start tracking.

Make sure the Website option is selected at the top.

Select Website tracking

Then you can scroll down to enter your website information. You’ll need to name your Google Analytics account, and enter your website name, URL, and industry, as well as your time zone.

Fill in the info needed to create a Google Analytics account

After filling in your website details, you can scroll down a bit to customize your data sharing settings. When you’re finished selecting your options, you can click the Get Tracking ID button at the bottom of the page.

Choose your Google Analytics data sharing options

In the popup window that appears, you can review and accept the terms of service.

Agree to the Google Analytics terms of service to continue

That’s it! You’re now signed up for Google Analytics.

Add More Sites to Google Analytics

To add more site to your Analytics profile, click the Admin tab in the left taskbar.

click admin

Now click Create new account from the dropdown menu.

create new account in analytics

Then follow the above steps to enter your website information.

Repeat these steps until you finished adding all your sites to Google Analytics.

Install and Activate MonsterInsights for Your Network

MonsterInsights makes it super easy to connect all your sites with Google Analytics. Best of all, you don’t have to mess with tracking codes to set up Analytics.

Instead, you can get started by downloading the MonsterInsights plugin. To do that, you’ll need to login to your MonsterInsights account and download the plugin zip file.

download monsterinsights plugin

Once you have the zip file, you can log into the multisite network.

Then navigate to Plugins » Add New and click the Upload Plugin button at the top.

Add new plugin

On the next screen, you can click the Choose File button to select the zip file you just downloaded. Then click the Install Now button to upload the file and install the plugin on your site.

install monsterinsights for multisite

Once the plugin has been uploaded and installed, you can click the Network Activate button to activate it on your entire multisite network.

activate monsterinsights for multisite

Connect Google Analytics to Your WordPress Multisite Network

In the dashboard of your site, you’ll see a few messages at the top. To set up your Google Analytics account with MonsterInsights, click the Google Analytics settings link.

Click the link to configure your Google Analytics settings

This will bring you to the Insights » Settings menu. Now you can click the Authenticate with your Google account button to start the process.

Click to begin authenticating your Google Analytics account

In the popup that appears, click the Next button.

Start the Google Authentication process

Then click the Click To Get Google Code button.

Click to get your Google Analytics code

Next, you can click the Allow button to give MonsterInsights access to your Google Analytics data.

Allow MonsterInsights to access Google Analytics data

A long string of letters and numbers will be displayed. Copy the code, and then paste it into the field and click the Next button.

Paste your Google Analytics authentication code

Now you can click the Select a profile dropdown to select the website you set up in Google Analytics, and click the Next button.

Select your Google Analytics profile

That’s it! You’re all set.

It can take a few hours for Google Analytics to start collecting data.

Once it does, you can go to Insights » Dashboard to each individual site to see how your site is doing.

MonsterInsights dashboard

We hope this tutorial helped you to set up Google Analytics with MonsterInsights.

If you liked this article, you might find this guide on how to stop tracking logged in users useful. You can also follow us on Twitter and Facebook for more free tutorials.



    How would a client on a subsite of the network add their own UA code? The instructions about seem to be for the network administrator, but we would need our clients on subsites to be able to add UA code so they can manage it through their Google accounts. Thank you!


      MonsterInsights Team

      The network panel is for the default for all subsites. On a per subsite basis the UA code can be manually entered or authenticated via the per-subsite settings panel.


Leave a Reply

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.