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:
- Add the Clearbit tag to your page.
- Set the variable parameter to Reveal to make the company profile available on the page.
- 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).
- Click Edit Settings, then Conversion.
- 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.
- 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.
- 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.
- Select Adobe Analytics.
- At the bottom of the page, click on Open Editor.
- Find the DO Plugins section, and add some code (example below) to the section around content measurement.
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.
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):
(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.