Run an A/B Experiment in Google Optimize

Run an A/B test Experiment

Signups are great, but the amount of unqualified leads that clog up Sales’ pipeline add inefficiency to the process. Using the A/B test experiment with Reveal, you can personalize your site to improve the quality of signups.

There are a handful or strategies you can use - the simplest ways are to:

  1. Change the color and enlarge the ‘Sign Up’ button for your ideal prospects.
  2. Test the text on an call-to-action (CTA).

Once you have  Reveal integrated with Optimize, it's time to create an experiment. 

In this example, let's say our goal is to increase the quality of signups. We'll do this by identifying Enterprise visitors with Reveal, then  showing  these ideal prospects a landing page with a highlighted and enlarged Sign Up button.

Step 1 - Create an Experiment

To set up an experiment, you'll want to:

  1. Click on your Container name to get to the Experiments page.
  2. In Experiments tab, click to Create Experiment.
  3. Name your Experiment and drop in the URL of the site you’d like to test.
  4. Select A/B test and press Create.

Step 2 - Add Variant

  1. Within Variants, click on Add Variant.
  2. Name your Variant and click Add.
  3. Click into Changes to alter the CTA to your liking.

Note: here, we've created Variant 1 and changed the Sign Up button color from white to yellow and enlarged its size for visibility.

4. Change the weights of the Variants to have 100% on Variant 1 for Enterprise visitors to see the highlighted Sign Up button.



Step 3 - Declare your Objectives

Next, we’ll configure the experiment objectives on the Objectives tab.

  1. For Primary Objective, select Pageviews to get data for all visitors that visit your site.
  2. Describe your hypothesis + press Save.


Step 4 - Set your Target

We'll determine who to target your variant on and what percentage of visitors should be included in the experiment.

1. Let's set Who to 100% - this will include all visitors to participate in this A/B test experiment.

2. Under When, we’ll need to create a new rule specifying that the CTA should be highlighted specifically for Enterprise visitors. Press +Create Rule and click on Custom JavaScript.

3. To create a new variable, drop in this javascript code into Custom Javascript and press Create Variable to save this variable. 

  if (window.reveal && {
  return 0;

4. We'll name  this variable  Employees .

5. Create another rule by pressing AND, then click on URLs. Here, we’ll specify that the URL matches the editor page URL, which (in this example) is

6. Click AND again, then add the Employees variable to greater than 1000.

Note: You can adjust the company size to your liking by changing 1000 to the condition that makes sense for your experiment.

Step 5 - Start your experiment

Click Start Experiment and you’re all set!

If you're running an A/B test to see the effects personalization has on a conversation, you’ll want to keep the experiment running for at last 2 weeks or until your variant has a 95% probability to  beat the baseline .

For questions you may have, please get in touch with our Success Team.