ZoomInfo WebSights

Updated by Ole Dallerup

Dreamdata comes with built-in functionality to collect intent data for all your visitors. However, using ZoomInfo WebSights, you could improve the data quality and coverage by parsing the ZoomInfo intent data to Dreamdata. When both Dreamdata and ZoomInfo intent data give a result, Zoominfo data will be used.

The script below requires you to set up Dreamdata tracking and the ZoomInfo script. You can add the script to your website's header or load it through Google Tag Manager.

<script type="text/javascript">
window.analytics.ready(function () {
function getStorage(lsKey) {
try {
return JSON.parse(localStorage.getItem(lsKey));
} catch (e) {
return null;
}
}

var data = getStorage("_ziVisitorInfo");

if (!data || data.status !== 'success' || !data.ziDetails || !data.ziDetails.website || analytics.group().traits().website) {
return;
}

var reveal = data.ziDetails;
analytics.group(null, {
website: reveal.website,
source: "zoominfo",
name: reveal.companyName || undefined,
country: reveal.country || undefined,
industry: reveal.primaryIndustry || undefined,
number_of_employees: reveal.employeeCount || undefined,
annual_revenue: reveal.revenue || undefined,
});
});
</script>


How did we do?