Site Visitor API Examples

Examples on this page

Get Visitor Attributes

The site visitor API provides a callback called B2BPersonalizationData which returns an array of five (5) firmographic attributes pertaining to the visitor: domain, company_name, company_industry, company_revenue, and company_size. The following javascript code will set variables with the available firmographic data of the current web visitor for use on-site or to make available as data with other applications and pixels.

window.onB2BPersonalizationDataReady = (function(personalizationData) {

    var companyDomain = personalizationData["domain"];
    var companyName = personalizationData["company_name"];
    var companyIndustry = personalizationData["company_industry"];
    var companyRevenue = personalizationData["company_revenue"];
    var companySize = personalizationData["company_size"];
});

Example Response:

Description

Variable

Value

Company domain of the site visitor

companyDomain

rollworks.com

Company name of the site visitor based on the domain

companyName

Rollworks

Company industry of the site visitor based on the domain

companyIndustry

Marketing and Advertising

Company revenue of the site visitor based on the domain

companyRevenue

Medium-Small ($10MM-$50MM)

Company size of the site visitor based on the domain

companySize

Medium-Large (500 - 999 Employees)

Data Dictionary

Company Revenue - a value from one of the following (7) options:

Micro ($0-$1MM)

Small ($1MM-$10MM)

Medium-Small ($10MM-$50MM)

Medium-Large ($50MM-$100MM)

Large ($100MM-$200MM)

XLarge ($200MM-$1B)

XXLarge ($1B+)

Company Size - a value from one of the following (8) options:

Micro (1 - 9 Employees)

Small (10 - 49 Employees)

Medium-Small (50 - 199 Employees)

Medium (200 - 499 Employees)

Medium-Large (500 - 999 Employees)

Large (1,000 - 4,999 Employees)

XLarge (5,000 - 10,000 Employees)

XXLarge (10,000+ Employees)

Industry - a value from one of the following (150) options:

Accounting

Agriculture

Airlines/Aviation

Alternative Dispute Resolution

Alternative Medicine

Animation

Apparel & Fashion

Architecture & Planning

Arts and Crafts

Automotive

Aviation & Aerospace

Banking

Biotechnology

Broadcast Media

Building Materials

Business Services

Business Supplies and Equipment

Capital Markets

Chemicals

Civic & Social Organization

Civil Engineering

Commercial Real Estate

Computer & Network Security

Computer Games

Computer Hardware

Computer Networking

Construction

Consumer Electronics

Consumer Goods

Consumer Services

Cosmetics

Dairy

Defense & Space

Dentistry

Design

E-Learning

Education Management

Electrical/Electronic Manufacturing

Entertainment

Environmental Services

Events Services

Executive Office

Facilities Services

Financial Services

Fine Art

Fishery

Food & Beverages

Food Production

Fund-Raising

Furniture

Gambling & Casinos

Glass, Ceramics & Concrete

Government Administration

Graphic Design

Health, Wellness and Fitness

Higher Education

Hospital & Health Care

Hospitality

Human Resources

Import and Export

Individual & Family Services

Industrial Automation

Industrial Engineering

Information Services

Insurance

International Affairs

International Trade and Development

Internet

Investment Banking

Investment Management

Judiciary

Law Enforcement

Law Practice

Legal Services

Legislative Office

Leisure, Travel & Tourism

Libraries

Local Business

Logistics and Supply Chain

Luxury Goods & Jewelry

Machinery

Management Consulting

Manufacturing

Maritime

Market Research

Marketing and Advertising

Mechanical or Industrial Engineering

Media Production

Medical Devices

Medical Practice

Mental Health Care

Military

Mining & Metals

Motion Pictures and Film

Museums and Institutions

Music

Nanotechnology

Newspapers

Non-Profit Organization Management

Oil & Energy

Online Media

Outsourcing/Offshoring

Package/Freight Delivery

Packaging and Containers

Paper & Forest Products

Performing Arts

Pharmaceuticals

Philanthropy

Photography

Plastics

Political Organization

Primary/Secondary Education

Printing

Professional Training & Coaching

Program Development

Public Policy

Public Relations and Communications

Public Safety

Publishing

Railroad Manufacture

Ranching

Real Estate

Recreational Facilities and Services

Religious Institutions

Renewables & Environment

Research

Restaurants

Retail

Security and Investigations

Semiconductors

Shipbuilding

Software / Information Technology

Sporting Goods

Sports

Staffing and Recruiting

Supermarkets

Telecommunications

Textiles

Think Tanks

Tobacco

Translation and Localization

Transportation/Trucking/Railroad

Utilities

Venture Capital & Private Equity

Veterinary

Warehousing

Wholesale

Wine and Spirits

Wireless

Writing and Editing