<script>
function myCallback(identification) {
// We want to ignore 'isp' type identifications
if (identification && identification.type !== "isp") {
// The company was successfully identified!
const company = identification.company;
// Sync data into Fullstory
FS.setUserVars({
snitcher_company_name_str: company.name,
snitcher_company_domain_str: company.domain,
snitcher_company_industry_str: company.industry,
snitcher_company_employee_range_str: company.employee_range
});
}
}
// Spotter API settings
window.SpotterSettings = {
token: "YOUR-API-TOKEN",
callback: myCallback,
};
</script>