Integrate Clearbit with Adobe Analytics

Last Updated: May 16, 2022

This guide assumes you will be using Adobe Analytics with DTM (Adobe's tag manager). If DTM will not be used, you'll need to have the SCode hosted somewhere else, and that is where the code that sets eVars should be updated.

Skip Ahead to:

Installation instructions

  1. Add the Clearbit tag to your page.
  2. Set the variable parameter to Reveal to make the company profile available on the page. 
  3. Create eVars (which are similar to Google Analytics' Custom Dimensions). Once set up, take note of which eVar should be receiving which attribute from the company profile (to be used for passing eVars to SCode shown toward the bottom of this article).
  4. Click Edit Settings, then Conversion.
    Screenshot_2020-02-20_21.24.03.png
    Screenshot_2020-02-20_21.24.08.png'
  5. On the Conversion Variables page, click the Expand icon # next to the conversion variable you want to modify. Or Click Add New to add an unused eVar to the report suite.
  6. Select the conversion variable fields you want to modify. See Conversion Variables - Descriptions. Some fields let you type directly in the field. Others let you select from a drop-down list of supported values.
  7. Click Save.

Edit the S-Code

This can be located in different locations, here is one example of how to possibly find the code you'll need to edit. 

  1. Select Adobe Analytics.
    Screenshot_2020-02-20_21.24.22.png
  2. At the bottom of the page, click on Open Editor.
    Screenshot_2020-02-20_21.24.32.png
  3. Find the DO Plugins section, and add some code (example below) to the section around content measurement.
    Screenshot_2020-02-20_21.24.44.png

Example of setting the eVars:

s.eVar14=(typeof(reveal.company.name) === "string") ? reveal.company.name : "(Non-Company)";
s.eVar15=(typeof(reveal.company.domain) === "string") ? reveal.company.domain : "(Non-Company)";
s.eVar16=(typeof(reveal.company.category.industry) === "string") ? reveal.company.category.industry : "(Non-Company)";
s.eVar17=(typeof(reveal.company.metrics.employeesRange) === "string") ? reveal.company.metrics.employeesRange : "(Non-Company)";

Test to Check if Installed Correctly

You should review your code in staging. You can do so after saving your changes, using the DTM Debugger/"Launch Switch" Chrome Extension. Turn it on and reload the page. Note that this will add a cookie to track setting.

Screenshot_2020-02-20_21.24.54.png

Using the Adobe Experience Cloud Debugger, once loading the changes, you should be able to see something like the following on load (note the new eVars):

Screenshot_2020-02-20_21.25.12.png

(1st Column testing junk IP address ("abc.def.ghij"), 2nd column testing isp address, 3rd testing company)

Once this is working, allow a few days worth of traffic into the customer's reporting suite, and then validate identifications.