How to integrate Reveal into Google Optimize

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

Note: Reveal is currently in limited release! You’ll want to contact us to enable access.

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

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><br>

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

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, to redirect them to a new page choose Redirect test. If in doubt, pick A/B test.

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