Google Optimize is a tool that integrates with Google Analytics and Google Tag Manager to perform "experiments" on web pages. These experiments can test the performance of content and design variations, or they can personalize content for individual site users.
Types of experiments
Tests
A test can be used to compare two or more versions of a page (or page section) in order to make informed decisions about what content or design elements convert/perform better for your site users. Tests can run for up to 90 days.
Types of tests include:
- A/B test: test two or more versions of the same page (you must create each version manually)
- Multivariate test: test two or more combinations of variable page sections (you create the variable sections, and Google will automatically create combinations of sections).
- Redirect test: test pages at two different URLs (useful for testing two completely different page designs/content)
Personalizations
A personalization changes the content of a webpage to appeal to individual users based on anything from their name, geographic location, browsing history, etc. Personalizations do not have a time limit and can run forever.
Banner template
In response to the COVID-19 pandemic, Google added a new option which allows you to place an announcement at the top of your webpage. This is useful for communicating sudden changes in business hours, shipping delays, or other time-sensitive information to your site visitors.
Experiment objectives
Each experiment you create will have one or more "objectives," which are essentially functions of your website that you want to test and optimize. Common objectives include page views and conversions. The objective you select for your experiment will impact how Google Optimize determines which variant is the most successful, so make sure you choose one that makes the most sense for your use case. You can view a detailed list of available objectives on the Google Optimize Resource Hub.
Requirements for using Google Optimize
There are only a few simple pre-requisites before you can installing Google Optimize on your website:
- A Google account (must be the same Google account used for both Analytics and Optimize, otherwise you will not be able to link the two properties)
- Google Analytics installed on the website (with permissions to access analytics)
- A Google Optimize container for the domain
- Chrome web browser
- Optimize Chrome extension - used for creating page variations with Google's visual editor
Installing Google Optimize on your website
Installing is easy and can be done in one of two ways:
- Recommended by Google: Add the following script to the <head> of your webpage(s):
<script src="https://www.googleoptimize.com/optimize.js?id=YOUR_CONTAINER_ID"></script> - Use Google Tag Manager to set up a new “Optimize” tag
Creating your first experiment
Follow along with these steps to create a simple experiment:
- Log into Google Optimize and click on the container you want to use
- Click the "Create Experience" button
- Name the experience and select the type of experiment to create
- Click "Create"
- Add your variants using the visual editor
- Add a description, objective, and other settings as needed
- Schedule or start your experience