HELP FILE

How to Send Custom Messages into Chatlog

You can enable Instant Chat to send custom system messages into the chatlog to notify support technicians of customer actions.

In the below example, you can see the custom implementation of sending a system message into the chatlog when the customer clicks the Instant Chat Print/Save button.

var ic_hic_demo_timer = null;
ic_hic_demo_timer = setInterval(ic_hic_demo_timer_checkobject, 100);
function ic_hic_demo_timer_checkobject()
{
  if ((ICObject != null) && (ICObject.pChatLog != null) && (ICObject.pMainContentArea != null))
  {
            ICObject.sendCustomMessage("custom system message");
  }
}