Salespanel's B2B Visitor Intelligence API is a part of Salespanel’s website SDK. Using this intelligent API you can use activity and profile data provided by Salespanel such as lead score, company, and person profile in your website side scripts. It works in real-time and you know everything you need to know about the visitor as soon as they land.
Salespanel’s visitor tracking system works in real-time. Salespanel Segments and Lead Scoring system is working on visitors in real-time from the moment they land on your website from multiple channels. So Salespanel has multiple intelligent data attributes at its disposal about the visitor instantly. You can use these computed values on your website using this API. For example, you can use their demographic, firmographic information to further qualify and retarget them on your website using the Visitor Intelligence API.
If we put this very simply then Salespanel's B2B Visitor Intelligence API provides you all intelligence associated with a visitor and allows you to do something about it on the client-side. B2B Intelligence API is a real-time tunnel in between what Salespanel immediately knows about your visitor and your visitor's live website session.
Let's go further. So if we happen to know the lead score of the visitor or if it's a visiting company and from which location then there are all kinds of possibilities available:
- A direct visitor lands and this visitor is identified as a visiting company from an important geographic location from a particular industry. So you can use this information to personalize your website section to show them relevant information. For example a relevant case study for a visitor from the aviation industry based company.
- A visitor lands from a Facebook ad campaign on your website, visits to some important case studies and solution pages. This behavior results in a higher lead score. B2B Visitor Intelligence API determines this lead score in real-time and you can fire a meeting popup or show them an important offer because you know it’s a qualified lead.
- A visitor lands from a Facebook or Twitter ad campaign on your website. It is identified as a visiting company. You can decide to install a Facebook or Twitter's ad pixel for this visitor using Salespanel’s B2B Visitor Intelligence API and later retarget this visitor with a lookalike ad campaign.
For a graphical interpretation of some more interesting scenarios, please visit: https://salespanel.io/advertising/
B2B Visitor Intelligence API is available in Scale category plans. If you want to try it out for a trial, please talk to our support.
Technical Details
So let's have a look at how you can use the API on your frontend.
$salespanel.push(["get", "qualify:visitor",function(data){
// Use data attributes available in `data` parameter.
// ... your code here.
}]);
Let's quickly have a look at how would you use this with Facebook's ad pixel-based standard tracking and with Twitter's conversion tracking:
$salespanel.push(["get", "qualify:visitor",function(data){
// Use data attributes available in `data` parameter.
// Example 1
if (data.visiting_company == true){
// Tracking Facebook's standard conversion
fbq('track', 'Lead');
}
// Example 2
if (data.visiting_company == true && data.lead_scoring.lead_score > 30){
// Tracking Facebook's standard conversion
fbq('track', 'Purchase', {currency: "USD", value: data.lead_scoring.lead_score});
}
// Example 3
if (data.visiting_company == true && data.lead_scoring.lead_score > 30){
// Tracking Twitter's standard conversion
// Please make sure that the twitter pixel is installed
twq('track','Purchase', {
//required parameters
value: data.lead_scoring.lead_score,
currency: 'USD',
num_items: '1',
});
}
}]);
Available Data Attributes
About the visitor
City | |
Country Code | |
Region Code | |
Continent Code | |
Source | |
Is Person Identified | |
Is Visiting Company | |
Lead Score |
About the company
Domain | |
Employees Count | |
Founded Year | |
Industry | |
Location | |
Name | |
Website |
Here is an example of how a sample data object would look like on your website:
{
"acquisition_details": {
"source": "Direct",
"medium": null,
"landing_location": {
"city": "South Burlington",
"region_code": "VT",
"emoji_flag": "🇺🇸",
"country_code": "US",
"country": "United States",
"region": "Vermont",
"continent": "North America",
"continent_code": "NA",
"emoji_unicode": "U+1F1FA U+1F1F8"
},
"landing_user_agent": {
"device": "PC",
"device_os": "Mac OS X 10.15.7",
"browser": "Chrome 122.0.0"
}
},
"visitor_attributes": {
"account_owner": null,
"plan_slug": null,
"name": null,
"created_at": null,
"is_trial_over": null,
"is_premium": null,
"pipedrive_integration": null,
"tracking_active": null,
"email": null
},
"visitor_tags": [],
"lead_scoring": {
"lead_score": 10
},
"company_details": {
"website": "http://www.sample.com",
"domain": "sample.com",
"name": "Sample Technologies",
"industry": "Aviation & Aerospace",
"founded": 2017,
"location": "1150 Airport Drive, South Burlington, Vermont, USA, 05403",
"employees": 660
},
"person_identified": false,
"qualified_segments": [],
"visiting_company": true
}