You can record Snitcher identification data in Fullstory using the FS.setUserVars method of Fullstory’s client-side API to set User Variables.

Please keep in mind that you need to adhere to Fullstory’s userVars name requirements and userVars value requirements.

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!
      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>