Setting Up Reveal with Google Tag Manager and the dataLayer

If you have Reveal Premium, you will be able to push Reveal data to the dataLayer. To easily do so, you'll just need to create following tag inside of GTM.
1. In Google Analytics, setup your custom dimensions. These are the recommended attributes, and corresponding dataLayer variable (you'll use this column for step 3).
 **It is HIGHLY ENCOURAGED for you to also include the traffic type by adding "reveal.type" as a custom dimension. This allows our team to help ensure a correct implementation. Please note: this is very different from the company type attribute.**
 Attribute  dataLayer variable
 Clearbit - Traffic Type  reveal.type
 Clearbit - Company Name 
 Clearbit - Company Domain  reveal.domain
 Clearbit - Industry
 Clearbit - Sub Industry
 Clearbit - SIC Code
 Clearbit - NAICS Code
 Clearbit - HQ Country
 Clearbit - HQ State
 Clearbit - HQ City
 Clearbit - Estimated Revenue Range
 Clearbit - Employee Range
 Clearbit - Global Alexa Rank

2. For each one of the custom dimensions above that you have created within Google Analytics, create a respective "Data Layer Variable" within Google Tag Manager.

Here is an example for setting up Clearbit - Company name as a variable: The Data Layer Variable Name should use "". The Default Value and format value ("Convert false to...") should be set to "(Non-Company)":



3. Create a "Custom Event" trigger with the Event name of "Clearbit Loaded". This will be referenced later on.



4. Next we'll create a "Google Analytics Setttings" variable. Under "More settings", we will map our Data Layer Variables to their respective Custom Dimensions.

Be sure to update with the correct UA-Tracking ID and map the Data Layer variables to their corresponding Custom Dimension index inside of Google Analytics — the Dimension Values will be the same ones you created from Step 2.



5. Select Tag on the left hand menu and Create the "Google Analytics - Universal Analytics" tag:


Under the "Triggering" section, make sure to set this to use the Custom Event trigger we created in Step 3.


6. Create a Clearbit Reveal Tag as displayed (copy paste the text under the image and update with your key - this can be found in your dashboard under APIs):
function pushToDataLayer(response){
var reveal = {reveal:response};
dataLayer.push({event:"Clearbit Loaded"});
return true;
<script src="">
NOTE: If you want to change the triggering for this tag later on for a non-standard setup, you can.  

Save and Deploy your GTM tag!

Please reach out to your Customer Success Manger if you have any further questions.