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
window.usabilla_live('setEventCallback', function(category, action, label, value, userData){ | |
function flat(source, target) { | |
Object.keys(source).forEach(function (k) { | |
if (source[k]!== null && typeof source[k] === 'object') { | |
flat(source[k], target); | |
return; | |
} | |
target[k] = source[k]; | |
}); | |
} |
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
liveagent.findOrCreate('Case') | |
.map('Subject', 'Case Subject', false, false, true) | |
.map('Status', 'Case Status', false, false, true) | |
.saveToTranscript('CaseId').showOnCreate(); |
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
liveagent.addCustomDetail(‘First Name’, ‘Kimberly’) |
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_key=32b68228-b86f-11e8-96f8-529269fb1459&chat_start_time=1536944676912&chat_request_time=1536964984331&chat_agent_id=0051XXXXXXXXXXX&chat_agent_name=Tym%20A&chat_last_visited_page=https://my-site.com/help&chat_disconnected_by=client |
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
<!--integrated feedback button --> | |
<a href="#" id="usbl-integrated-button">Give Feedback</a> |
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
<script> | |
(function(w,d,s,u,g,a,b){w['GetFeedbackObject']=g;w[g]=w[g]||function(){ (w[g].q=w[g].q||[]).push(arguments)};a=d.createElement(s),b=d.getElementsByTagName(s)[0];a.async=1;a.src=u;b.parentNode.insertBefore(a,b) })(window,document,'script','//websites.cdn.getfeedback.com/embed/dywem81odF/gf.js','gf') </script> | |
<script>gf('setParameters', {'ContactID': 'FIELD_VALUE'}) </script |
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
liveagent.findOrCreate('Case') | |
.map('Subject', 'Case Subject', false, false, true) | |
.map('Status', 'Case Status', false, false, true) | |
.saveToTranscript('CaseId').showOnCreate(); |
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
<!--integrated feedback button --> | |
<a href="add-your-link-here" id="usbl-integrated-button">Give Feedback</a> | |
<!--ADD GETFEEDBACK DIGITAL INSTALLATION SNIPPET HERE --> | |
<script> | |
//Hide GetFeedback Digital Default button | |
window.usabilla_live("hide"); | |
//Find a Link and open de GetFeedback Digital Feedback form when the user clicks on the link |