Examples
Segment.com integration
Examples
Segment.com integration
Update your Spotter callback function
<script>
function myCallback(identification) {
// We want to ignore 'isp' type identifications
if (identification && identification.type !== "isp") {
// The company was successfully identified!
var company = identification.company;
// Syncing this data into Segment.com
analytics.track("user-details.added", {
snitcher: company
});
}
}
// Spotter API settings
window.SpotterSettings = {
token: "YOUR-API-TOKEN",
callback: myCallback,
};
</script>
On this page