Clearbit

Updated by Ole Dallerup

Dreamdata comes with built-in functionality to collect intent data for all your visitors. However, if you are using Clearbit, you should improve the data quality and coverage by parsing the Clearbit data to Dreamdata. When both Dreamdata and Clearbit reveal data give a result, Clearbit data will be used.

The script below requires you to set up Dreamdata tracking and the Clearbit tracking script while having Reveal Data surfaced, as shown in the screenshot.

<script type="text/javascript">
window.analytics.ready(function () {
if (!window.reveal || analytics.group().traits().website || window.reveal.type !== 'company') {
return;
}

var reveal = window.reveal;
analytics.group(null, {
website: reveal.company.domain,
source: "clearbit",
name: reveal.company.name || undefined,
country: reveal.company.geo.country || undefined,
industry: reveal.company.category.industryGroup || undefined,
number_of_employees: reveal.company.metrics.employeesRange || undefined,
annual_revenue: reveal.company.metrics.estimatedAnnualRevenue || undefined,
});
});
</script>
Note: Add the script to your website's header or load it with Google Tag Manager below the Dreamdata tracking script.


How did we do?