Reactful Setup Guide

By the Reactful Team

About Reactful

Reactful's AI and machine learning driven web personalization platform engages and converts customers on the web while you have their attention. Boost engagement and conversions by interpreting site visitors’ “digital body language”, and reacting accordingly in real time. 

Reactful powers some of the largest brands in the world such as Kimberly Clark, Symantec & Turner Broadcasting. The company is headquartered in Santa Barbara, CA with offices in San Francisco, CA and Tel Aviv, Israel.


Integrating Clearbit Reveal with Reactful to personalize experiences for anonymous visitors

Clearbit Reveal enables you to easily identify your anonymous visitors on your website so you can serve more targeted content and close more named accounts.  Clearbit Reveal returns full company firmographics details and integrates seamlessly with Reactful Personas.  With Clearbit, you'll be able to further personalize your website experience such as:

  • Target custom experience for named accounts
  • Personalize content based on firmographics data such as industry, company size, etc.
  • Show offers only to visitors who match specific criteria


  1. You must have an active Clearbit Reveal account
  2. Your Custom Reactful Code must be installed on your website
  3. Your Reactful account must be "Live"

Integration Setup

1. Insert the following snippet either via your tag manager or directly on your website. The snippet should ideally load as early as possible, and before your existing Reactful tag.


  1. You must update the CUSTOMER_API_TOKEN value with an active Clearbit publishable key (starts with a pk_).
  2. If JQuery is already loaded on your website, you can remove the reference to JQuery at the beginning of the snippet.
<!-- BEGIN Clearbit Reactful Integration plugin -->
   (function() {
       function verifySessionStorage() {
           try {
               var t = "__ss_test__";
               window.sessionStorage.setItem(t, t);
               return true;
           } catch (e) {
               return false;

       var clearbit_data = null;
       var isSessionStorageAvailable = verifySessionStorage();

       if (isSessionStorageAvailable) {
           clearbit_data = window.sessionStorage.getItem("custom_vars_data");

       if (isSessionStorageAvailable && clearbit_data === null) {
           var url = "";
           var xhr = new XMLHttpRequest();
 'GET', url, true);
           xhr.setRequestHeader('Content-Type', 'application/json');
           xhr.responseType = 'json';
           xhr.onload = function() {
               if (xhr.readyState == xhr.DONE) {
                   if (xhr.status === 200) {
                       window.sessionStorage.setItem("custom_vars_data", JSON.stringify(xhr.response));
                   else if (xhr.status !== 200) {
                       console.log("Error", err);

<!-- End Clearbit reactful Integration plugin -->

2. Go to the Reactful Studio and select the Personas option from the left nav:

3. Click the + button to create a new Persona.

4. Click the Settings icon next to Custom Variables.

5. A pop up window will appear where you can add the variable keys and values you’d like to define for your persona.  Once complete, click the Save & Close button.

Below is a sample of the returned company information from Clearbit.  Please refer to the Clearbit Company Attributes page for a full list of attributes.

    "ip": "",
    "domain": "",
    "type": "company",
    "fuzzy": true,
    "company": {
        "id": "cd401501-bd55-47eb-8ff8-bee9528b8eb2",
        "name": "Reactful",
        "legalName": "Reactful Inc",
        "domain": "",
        "domainAliases": [
        "site": {
            "phoneNumbers": [
                "+1 805-391-4683"
            "emailAddresses": [
        "category": {
            "sector": "Information Technology",
            "industryGroup": "Software & Services",
            "industry": "Internet Software & Services",
            "subIndustry": "Internet Software & Services",
            "sicCode": "73",
            "naicsCode": "54"
        "metrics": {
            "alexaUsRank": 251610,
            "alexaGlobalRank": 895018,
            "employees": 10,
            "employeesRange": "1-10",
            "marketCap": null,
            "raised": 2420000,
            "annualRevenue": null,
            "estimatedAnnualRevenue": "$1M-$10M",
            "fiscalYearEnd": 12
    "...": "..."
    "geoIP": {
        "city": "Goleta",
        "state": "California",
        "stateCode": "CA",
        "country": "United States",
        "countryCode": "US"

6. Once your variables have been added in the settings, close the pop up window and click on the word ‘Custom Variables’.

7. Select the variables you’d like to include/exclude in your Persona, then save the Persona so it can be used in your reaction.

8. Create your new reaction and include the persona you created.  The reaction will now only appear for visitors matching your persona criteria.


Please contact Reactful Support via our online chat or email if you require any assistance with your integration setup.