Shows the chatbox. Showing the chatbox will make it appear on the page. This will override settings such as Invisible Olark.

Screenshot of API call

Should you wish to show the widget on specific pages, you can also create these rules using our Targeted Chat tool, instead of updating the code on your page.

Show the chatbox on error

If a visitor runs into an error, you might want to make sure that the chatbox is displayed:

// If you have a script that returns error codes, show the Olark chatbox
if (errorOnPage) {