#Demandbase Form Connector This resource has been moved to GitHub: https://github.com/demandbaselabs/demandbaselabs/tree/master/FormConnector
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var countryStateCodeToRegionMap = { | |
AD-02 : "Canillo", | |
AD-03 : "Encamp", | |
AD-04 : "La Massana", | |
AD-05 : "Ordino", | |
AD-06 : "Sant Julià de Lòria", | |
AD-07 : "Andorra La Vella", | |
AD-08 : "Escaldes-Engordany", | |
AE-AJ : "Ajman", | |
AE-AZ : "Abu Dhabi", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"AL": "Alabama", | |
"AK": "Alaska", | |
"AS": "American Samoa", | |
"AZ": "Arizona", | |
"AR": "Arkansas", | |
"CA": "California", | |
"CO": "Colorado", | |
"CT": "Connecticut", | |
"DE": "Delaware", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var isoCountries = { | |
'AF' : 'Afghanistan', | |
'AX' : 'Aland Islands', | |
'AL' : 'Albania', | |
'DZ' : 'Algeria', | |
'AS' : 'American Samoa', | |
'AD' : 'Andorra', | |
'AO' : 'Angola', | |
'AI' : 'Anguilla', | |
'AQ' : 'Antarctica', |
This resource has been moved to GitHub https://github.com/demandbaselabs/demandbaselabs/tree/master/JavaScriptSDK
The Demandbase JavaScript SDK is a developer toolkit for the leveraging the Demandbase Platform's Real-Time Identification APIs. Key features include the ability to create reusable visitor segments, and easy access to a website visitor's company profile based on IP address or email domain.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
var __db = {}; | |
__db.key = 'YOUR_KEY_HERE'; | |
__db.conditions = [ | |
{ name: 'IndustryIsSoftware', attribute: 'industry', operator: '=', value: 'Software & Technology' } | |
,{ name: 'AudienceIsSMB', attribute: 'audience', operator: 'equals', value: 'SMB', standalone: false } |