VWO Setup Guide

By The VWO Team

 

With Clearbit-VWO integration, you can utilize the company's attribute to deliver personalized content to any user coming from a certain company’s IP address.

Procedure

  1. Login to your VWO account.
  2. Go to Test > A/B
  3. To create a Campaign, click Create. To learn how to create an A/B test campaign, refer to How to Create an A/B Test.
  4. In the New Campaign page, click on the More Options.
  5. From the options present under More Options, select the option Enable campaign for a specific visitor group.
  6. Select the option CUSTOM, and from the Targeting options dropdown, select OTHERS > JavaScript Variable.
  7. In the Variable Name field, enter the following code:
      (function () {
      if (!window.ClearBitAdded) {
      window.ClearBitAdded = true;
      var script = document.createElement('script');
      script.src = "https://reveal.clearbit.com/v1/companies/reveal?authorization=paste_your_clearbit_key_here&variable=vwo_organization";
      script.onerror = function () {
      console.log('VWO: Error Ocuured while fetching the clearbit data');
      };
      document.getElementsByTagName('head')[0].appendChild(script);
      return true;
      }
      })();
    Screenshot_2019-10-18_at_1.10.19_PM.png
    Note: 
    In the above code, paste the Clearbit Publishable API key (starting in 'pk_')  at the place where it says paste_your_clearbit_key_here.

  8. To segment further, click Add Condition
    This adds one more segment condition with the option to choose AND/OR amongst the conditions. For example, to target all the companies that are based out of India, segmentation must be configured as follows:
  9. All the company attributes can be targeted in the format:
    vwo_organization.<clearbit_variable_name> = value
    Screenshot_2019-10-18_at_1.10.36_PM.png

     

Configuring the Company Attributes
All the company attributes can be targeted in the format:
vwo_organization.<clearbit_variable_name> = value

For example, to target any company in the Information Technology space, the variable will be defined as: 
vwo_organization.company.category.sector = Information Technology

Screenshot_2019-10-18_at_1.10.51_PM.png

 

Please refer to the table below for the entire list of variables available for targeting.

 

Company Attributes Available for Targeting

Attribute

Description

name

stringName of company

domain

stringDomain of company’s website

tags

arrayList of market categories (see a complete list)

metrics.alexaGlobalRank

integerAlexa’s global site rank

metrics.employees

integerAmount of employees

metrics.employeesRange

stringEmployees range (see a complete list)

metrics.annualRevenue

integerAnnual Revenue (public companies only)

metrics.estimatedAnnualRevenue

stringEstimated annual revenue range (see a complete list)

logo

stringSRC of company logo

tech

arrayArray of technology tags


You can refer to the complete list of attributes here.