Setting Up Reveal with Google Optimize

Clearbit Reveal in Google Optimize lets you test and build analysis around unique user experiences on your company’s website.

Clearbit Reveal - Javascript installation

Integrating Reveal with Google Optimize takes just a few minutes. Here's a step-by-step:

Step 1 - Link your Google Analytics account with Google Optimize

First you'll need to sign into Google Optimize and go through the setup steps. You'll need to link it to your Google Analytics account as demonstrated below.


Step 2 - Drop in Reveal Javascript 

You'll want to drop in a Reveal javascript snippet in the header before your Google Optimize site snippet. 

<script src=""></script>

Important: a Clearbit publishable key is required and this can be found in your Clearbit Dashboard. Replace YOUR_KEY above with your publishable key.

You’ll want to insert and place the snippet before the Optimize script to ensure that Reveal properties are available for use within Google Optimize like so:

<!-- This snippet connects your website to Clearbit Reveal -->
  <script src=""></script>
<!-- Standard Google Analytics and Optimize script -->
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  ga('create', 'UA-XXXXXXXXX', 'auto');
  ga('require', 'GTM-XXXXXXXX');
  ga('send', 'pageview');

Step 3 - Choose an Experiment type

When you've defined your goal and how you want to test the hypothesis, pick the experiment type to use. To customize the existing page dependent on the visitor choose A/B test.

For questions, you may have, feel free to reach out to us at!