<script src="https://static.xenioo.com/webchat/xenioowebchat.js"></script>
xenioowebchat.Start("d07be17d-9be1-4f57-b220-af5559f61f8e", {
onInit : function( options ){
console.log( "Starting initialization." );
console.log( "Xenioo chat instance is now ready." );
onChatClose : function(){
console.log( "User has closed the chat area." );
console.log( "Chat area is now visible." );
console.log( "Chat area is now hidden." );
onWidgetClick : function( calloutclicked ){
console.log( "User clicked Xenioo chat widget." );
onDataConnection : function(){
console.log( "Connecting to Xenioo servers." );
onItemRender : function( obj ){
console.log( "Rendering item in chat area (check console log for object details)" );
onElementRender: function( element, obj ){
console.log( "Rendering item in chat area (check console log for object details)" );
onButtonClick : function( say, command ){
console.log( "User clicked '" + say + "' button." );
onUserSays : function( say ){
console.log( "User input:" + say );
onChatInteractionStarted : function(){
console.log( "Interaction started." );
onChatInteractionCompleted : function(){
console.log( "Interaction finished. Control is back to the user." );
onVoiceConfigured: function( utterance ){
console.log( "Voice is initialized!" );
console.log( "Chat widget erased removed from page" );
onCalloutDisplay: function( text ){
console.log( "Callout bubble displayed:" + text );