This file contains 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
'chat.input.placeholder': 'Enter Message', | |
'chat.input.send': 'Send', | |
'chat.new_message': 'New message: {message}', | |
'chat.status.delivered': 'Delivered', | |
'chat.status.failed': 'Failed', | |
'chat.status.typing': 'Operator typing', | |
'cobrowse.info': 'CoBrowse will be enabled and both of you will have the ability to browse this site together.' + | |
' This only applies to this website NOT your computer.', | |
'cobrowse.offered': '{operatorName} has offered you to CoBrowse', | |
'cobrowse.allow': 'Accept', |
This file contains 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
<md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" entityID="https://client_name.app.salemove.com"> | |
<md:SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol" AuthnRequestsSigned="false" WantAssertionsSigned="true"> | |
<md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://client_name.app.salemove.com/saml/logout" ResponseLocation="https://client_name.app.salemove.com/saml/logout" isDefault="true" index="0"/> | |
<md:NameIDFormat> | |
urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress | |
</md:NameIDFormat> | |
<md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://client_name.app.salemove.com/saml/acs" isDefault="true" index="0"/> | |
</md:SPSSODescriptor> | |
</md:EntityDescriptor> |
This file contains 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
<?xml version='1.0' encoding='utf-8'?> | |
<export> | |
<visitor_name>{visitor_name}</visitor_name> | |
<visitor_email>{visitor_email}</visitor_email> | |
<visitor_phone>{visitor_phone}</visitor_phone> | |
<visitor_last_name>{visitor_last_name}</visitor_last_name> | |
<custom_fields>{custom_fields}<custom_fields> | |
<visitor_device_type>{visitor_device_type}</visitor_device_type> | |
<visitor_browser>{visitor_browser}</visitor_browser> | |
<notes>{notes}</notes> |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"> | |
<meta content="*|MC:SUBJECT|*" property="og:title"> | |
<title>SaleMove Lead</title> | |
<style type="text/css"> | |
body { | |
width: 100% !important; | |
-webkit-text-size-adjust: none; |
This file contains 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
{ | |
"siteName": {site_name}, | |
"visitorName": {visitor_name}, | |
"visitorEmail": {visitor_email}, | |
"visitorPhone": {visitor_phone}, | |
"customAttributes": {custom_fields}, | |
"message": {message}, | |
"messageId": {message_id}, | |
"messageSentAt": {message_sent_at} | |
} |
This file contains 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
{ | |
"visitorName": {visitor_name}, | |
"visitorEmail": {visitor_email}, | |
"visitorPhoneNumber": {visitor_phone}, | |
"visitorLastName": {visitor_last_name}, | |
"customAttributes": {custom_fields}, | |
"visitorDeviceType": {visitor_device_type}, | |
"visitorBrowser": {visitor_browser}, | |
"operatorNotes": {notes}, | |
"initialSiteName": {site_name}, |
This file contains 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
{ | |
"id": {engagement_id}, | |
"visitorId": {visitor_id}, | |
"visitor": {visitor_name}, | |
"visitorEmail": {visitor_email}, | |
"visitorPhoneNumber": {visitor_phone}, | |
"customAttributes": {custom_fields}, | |
"receivingOperatorId": {operator_id}, | |
"receivingOperatorName": {operator_name}, | |
"receivingOperatorEmail": {operator_email}, |
This file contains 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
{ | |
"id": {engagement_id}, | |
"visitorId": {visitor_id}, | |
"visitor": {visitor_name}, | |
"visitorEmail": {visitor_email}, | |
"visitorPhoneNumber": {visitor_phone}, | |
"customAttributes": {custom_fields}, | |
"operatorId": {operator_id}, | |
"operatorName": {operator_name}, | |
"operatorEmail": {operator_email}, |
This file contains 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 getVisitorId = function(salemove) { | |
return new Promise(function(resolve, reject) { | |
var xhr = new XMLHttpRequest(); | |
xhr.open('GET', 'https://api.salemove.com/visitor'); | |
requestHeaders = salemove.getRequestHeaders(); | |
Object.keys(requestHeaders).forEach(function(key) { | |
xhr.setRequestHeader(key, requestHeaders[key]); | |
}); |