Hide Comments

Customizing the Built-in Customer Chat Form

iService includes a built in customer chat form located at /f/chat that can be customized to reflect your own styling. You can use this customer chat window as is, modify it using the process described below. or create new chat windows using the code from this form (/admin#/formbuiltin/webapp-userchat) as a template.

Customizing the Built-in Customer Chat Form

To customize the customer chat Window, create a new blank form and using the code below as a template for the form body. Then, change the values as desired for your customization. Only include the var section that will be customized.

$include -formID'webapp-userchat'$

$if -fieldregex'form'='^js$'$$header -filetype(js)$

 

var logoURL = '$value -rootpath$images/clientLogo.jpg';

var faceURL = '$value -rootpath$images/agent.png';

var topics = [ 

    { 'id': '4', 'name': 'Cars' },

    { 'id': '16', 'name': 'trucks' },

    { 'id': '14', 'name': 'Spaceships' } ];

 

$endif$

 

 

hmtoggle_plus1Changing the logo in the top left corner, or the agent logo in the right panel

 

 

hmtoggle_plus1Changing the topic selection in the Pre-Chat Survey

 

hmtoggle_plus1To have all chats go to a single topic

 

hmtoggle_plus1 To present the list of public topics in your tenant

 

hmtoggle_plus1Overriding code within the built in customer chat form

 

(c) 2012-2016 One-to-One Service.com, Inc.