Home > How does my AJAX application inform the agent of the visitor’s actions while in chat?
Categories: JavaScript API
(Last Updated On: July 18, 2017)
You can programmatically send text to the agent when a chat is in progress by calling the following API function:
SnapABug.sendTextToChat('Added a pink pony to shopping cart');
If this function is called when no chat is in progress, the call is ignored.
Published January 12, 2012