Updated by Ole Dallerup

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

The script below requires you to set up Dreamdata tracking and the 6sense 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 details = getStorage("_6senseCompanyDetails");

if (!details || !details.company || !details.company.domain || analytics.group().traits().website) {

var reveal = details.company;
analytics.group(null, {
website: reveal.domain,
source: "6sense",
name: reveal.name || undefined,
country: reveal.country || undefined,
industry: reveal.industry || undefined,
number_of_employees: reveal.employee_range || undefined,
annual_revenue: reveal.revenue_range || undefined,

How did we do?