Setting Up Reveal with Google Analytics (analytics.js) via Google Tag Manager


How Can Reveal Help Me?

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.

It's 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!

To see guides on best practices, head here.


Create Custom Dimensions in GA

If you haven't already, step one is to configure custom dimensions for Clearbit data within Google Analytics. See the guide on creating custom dimensions here.


Create Clearbit HTML Tag in Tag Manager

Open Tag Manager and navigate to the Container that has the Google Analytics tag. 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 above. In addition, you will need to add in your specific Publishable Key (note: this is different than your normal API key).  This code will push to all properties with a tracker name on the page. For specific ones, see this article.

ga_trackers = [];
ga.getAll().forEach(function(x, i) {
ga_trackers.forEach(function(gaName) {
ga(gaName + '.require', 'Clearbit', {


<script async src="">


Next, you'll configure Tag sequencing in Advanced Settings. Specifically, you will want to make sure the primary GA tag is firing before the new Reveal tag and that the Reveal tag should not be fired if the GA tag fails or is paused. From there, set the Firing Triggers to Page views upon All Pages. An example screenshot is below:



Additional Resources:

Build a Google Analytics Dashboard with Clearbit Reveal Data