Show Popup Using Javascript

We've had quite a few questions on how to trigger an app popup using javascript directly or from a text link or image.  Here's how you can do it with our custom javascript API and some settings.

First, there is a bit a javascript you can call to open the link.  Here's a link to more about the  Developer API.

<script type="text/javascript">SI_API.showPopup();</script>

To use this code from an href you can create a link as follows:

<a href="#" onclick="SI_API.showPopup();">my live chat link</a>

Finally, there are some settings you can use to hide the chat tab we provide.  This is handy if you want to activate the chat from a custom image or custom javascript event.

In your app settings, go to the targeting tab and set the following:

Action: Show Popup on Match

After Time On Page: Ignore

This will hide the tab and the After Time on Page ignores any automatic popup.  You can keep the automatic popup if you like.  It works either way!