Guides
Open from a link
Add one attribute to a link or button, with no JavaScript.
data-iris-open
Section titled “data-iris-open”Add data-iris-open to any element. Iris catches the click, stops the default action and opens the widget.
<a href="/support" data-iris-open>Contact support</a>
<button type="button" data-iris-open>Chat with us</button>Hide the launcher
Section titled “Hide the launcher”Pass launcher: false to use only your own buttons. Show the unread count with the unread event.
Iris.init({ appId: "app_7Hq2xK9mPz", launcher: false });