Want to set up Google Optimize in WordPress? Just like Google Analytics, MonsterInsights allows you to easily set up Google Optimize on your WordPress site. In this tutorial, we’ll show you how to how to set up Google Optimize easily on your WordPress site.
What Is Google Optimize?
Google Optimize is a free A/B testing and personalization product by Google that lets you easily conduct experiments to see what works best on your site.
Google Optimize is just right for small and medium-sized businesses that need powerful testing, but don’t have the budget or team resources for an enterprise-level solution.
Best of all, it is built right on top of Google Analytics. With the Google Optimize setup, you can start using your Analytics data to conduct A/B tests and improve the user experience and conversions on your site right away.
How to Set Up Google Optimize in WordPress, Step by Step
Before we get started with Optimize setup, make sure you’ve properly installed Google Analytics on your site with MonsterInsights. In order to set up Google Optimize, you’ll have to install the Google Optimize addon.
Step 1: Create a New Google Optimize Account
First, create a new Google Optimize account by going to optimize.google.com. Then, click Get Started.
Now you’ll have to enter an Account Name and a Container Name.
An account allows you to run experiments on one or more domains you own. You’ll likely need only one account. The container is where all your experiments and configuration settings will live.
For naming, here are our suggestions:
- Account Name: You may use your own name or your company name. (e.g. MonsterInsights)
- Container Name: You may use the domain name of your site. (e.g. MonsterInsights.com)
Then, Agree to the Optimize Terms of Service and click Create.
Step 2: Link Your Optimize Account to Google Analytics
To link your Optimize account to your Google Analytics account, go to the Accounts page in Google Optimize, and click on a container.
In the Container information panel on the right-hand side, click on Link Property.
Now select the Google Analytics property that corresponds to the site on which you’ll be running experiments.
Step 2: Add Optimizer to Your Website
Now return to the Optimize accounts page and copy your Optimize Container ID. This should be in the format GTM-XXXXXXX.
Then, log in to your WordPress dashboard, and navigate to Insights » Settings » Tracking » Google Optimize.
You can also click the checkbox near Enable Google Optimize Async Page Hide Compatibility. It reduces the risk of page flickering (the original page appears briefly before loading the variation). It also ensures that users on slow connections have a better experience by only showing experiment variants when the Optimize container loads within the set timeout.
You can leave the remaining field unchanged.
Then, click Save Changes.
You’ve successfully installed Google Optimize in WordPress.
Before conducting experiments on your site, you might want to check out this beginner’s guide to conversion optimization 101: split testing vs. multivariate testing. And don’t forget to follow us on Twitter and Facebook for more Google Analytics tutorials.