Legacy: Integrate Clearbit with Adobe Target

Last Updated: September 25, 2023

🔍 Please note: This article is for customers on Standard Bundle, Reveal, or Clearbit Platform plans. If you signed up in 2024, you are on a Sales Intelligence for HubSpot plan: Free, Growth, or Business.

Skip Ahead to:

Installation Instructions

  1. Add the Clearbit tag to your site.
  2. Select the attributes that you'd like to pass through, and edit the following snippet as desired. The keys below are how the attributes will be reference-able in Target.
<script>

#add attributes as desired, see reveal api call for full set of options

targetPageParams = function() {
return {
"companyName": reveal.company.name,
"companyDomain": reveal.company.domain,
"companyIndustry": reveal.company.category.industry,
"companyEstimatedAnnualRevenue": reveal.company.metrics.estimatedAnnualRevenue,
"companyEmployeesRange": reveal.company.metrics.employeesRange
};
};


(function(){
try {
var POLL_INTERVAL = 100,
MAX_POLL = 10,
pollCount = 0;

function poll() {
pollCount++;
if (adobe && adobe.target && adobe.target.getOffer && reveal && pollCount >= MAX_POLL) {

adobe.target.getOffer({
"mbox": "target-global-mbox",
"success": function(offers) {
adobe.target.applyOffer({
"mbox": "target-global-mbox",
"offer": offers
});
},
"error": function(status, error) {
if (console && console.log) {
console.log(status);
console.log(error);
}
},
"timeout": 3000
});

clearTimeout(poll);
} else if (pollCount < MAX_POLL) {
setTimeout(poll, POLL_INTERVAL);
}
}
poll();

} catch (e) {
console.log(e);
}})()

</script>

Verify Installation is Successful

You can use Adobe Experience Cloud Debugger to help confirm if attributes are being picked up by the Adobe library. Selecting the Target tab, you should see attributes appear in something similar to the below:

Screenshot_2020-02-20_21.57.46.png

Related Articles