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.
Then click Analytics at the top of the dropdown menu that appears.
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.
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.
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.
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.
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.
In the popup window that appears, you can review and accept the terms of service.
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.
Now click Create new account from the dropdown menu.
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.
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.
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.
Once the plugin has been uploaded and installed, you can click the Network Activate button to activate it on your entire multisite network.
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.
This will bring you to the Insights » Settings menu. Now you can click the Authenticate with your Google account button to start the process.
In the popup that appears, click the Next button.
Then click the Click To Get Google Code button.
Next, you can click the Allow button to give MonsterInsights access to your 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.
Now you can click the Select a profile dropdown to select the website you set up in Google Analytics, and click the Next button.
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.
We hope this tutorial helped you to set up Google Analytics with MonsterInsights.