Home > How does my AJAX application inform the agent of the visitor’s actions while in chat?


(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.

Did you find this article helpful?

Not HelpfulNeeds WorkSo-soHelpfulVery Helpful (No Ratings Yet)
Loading ... Loading ...

Published January 12, 2012