Home > How does my AJAX application inform the agent of the visitor’s actions while in chat?
Categories: JavaScript API
(Last Updated On: )
About This Article
The purpose of this article is to provide a comprehensive overview of how your AJAX application informs the agent of the visitor’s actions while in chat.
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