How to integrate Reveal into Google Analytics via Tag Manager

Reveal equips marketers with deep insights about their web traffic. Behind the scenes, Reveal dynamically links IP addresses with specific companies and their relevant firmographics & technographics.

Reveal is especially useful for the following use-cases:

  • Knowing which companies are browsing your site in real-time, even if they haven't submitted a form.
  • Determining attribution & conversion statistics for key accounts and target segments.
  • Customizing engagement for key accounts or company profiles (by size, vertical, or even tech stack).
  • Delivering dynamically personalized content to your site visitors.

Reveal currently comes with a Google Analytics integration out of the box and takes all of 15 minutes to get up and running!

If you have Google Tag Manager, use the below guide.  If you don't have Tag Manager, use our standard guide. And if you want to check out some best practices for using Reveal, head here.


Step 1

Contact us. Reveal is currently in pre-release and we need to enable access for your account.

Step 2

Create a set of custom dimensions within Google Analytics. You'll need to create a one-to-one mapping of Clearbit attributes to Google Analytics dimensions.

Within the Google Analytics Admin panel, navigate to Custom Definitions and Custom Dimensions. Create a custom dimension for each of the properties below, with a 'Scope' of 'User'.  

We recommend:

  • Clearbit Company Name
  • Clearbit Employees Range
  • Clearbit Industry Tags
  • Clearbit Tech Stack
  • Clearbit SubIndustry
  • Clearbit Industry
  • Clearbit Industry Group
  • Clearbit Sector
  • Clearbit Company Type
  • Clearbit Domain

You can choose to create as many or as few dimensions as you think is useful. Make sure you keep a note of the dimension numbers, you'll need those later.

Step 3

Open Tag Manager and navigate to the proper Container. Create a New Tag and name it. Select the Custom HTML Tag option. 

Next, you'll need to drop the below snippet into the code editor. You will need to change the mappings to reflect the custom dimensions you created in Step 2. In addition, you will need to add in your specific Publishable Key (note: this is different than your normal API key).  

<script>
  ga(function(){
   var gaName = ga.getAll()[0].get('name');
   ga(gaName + '.require', 'Clearbit', {
    mapping: {
      companyName:           'dimension1',
      companyEmployeesRange: 'dimension2',
      companyTags:           'dimension3',
      companyTech:           'dimension4',
      companySubIndustry:    'dimension5',
      companyIndustry:       'dimension6',
      companyIndustryGroup:  'dimension7',
      companySector:         'dimension8',
      companyType:           'dimension9',
      companyDomain:         'dimension10'
     }
  });
 }); 
</script>

<script async src="https://ga.clearbit.com/v1/ga.js?authorization=pk_YOUR_KEY"></script>

After you have adjusted the HTML, expand the Advanced Settings drop-down. For the Tag firing options, choose Once per event.  For Tag sequencing, check the box for Fire a tag before [your new tag] fires. Choose the Google Analytics tag (note: it may not be called 'Google Analytics') and then check the box for Don't fire [your new tag] if Google Analytics fails.

Click Continue. For Fire On, Choose All Pages.  Save the Tag.  The last step is to publish the newest version (Tag Manager allows you to preview before publishing).

Step 4

The last step is to build some amazing dashboards in Google Analytics. Go to your GA reporting section, then Dashboards, then New Dashboard and create a blank canvas dashboard. Add a Widget, select Standard Table, then use Users as a metric, and the dimension you're displaying as the column.

Then, rinse and repeat this over all your custom dimensions. As data starts flowing in (over the next day or so) you'll see it appear in your dashboard.