Skip to main content
Most widget settings live on the channel in Sagepilot, so you can change them without editing your site. ChatWidget.init() accepts a few page-level options on top of those settings.
Call init() once per page. It returns a promise that resolves when the widget is ready. See Installation for the recommended snippet.

Options

Settings managed in Sagepilot

These come from the channel settings. Change them in Sagepilot under Channels > your widget. See Website Widget.

Layout

  • On screens 768 px wide or narrower, the open chat fills the whole screen. This needs a responsive viewport tag, such as <meta name="viewport" content="width=device-width, initial-scale=1">, in your page’s <head>. Most modern themes already include one.
  • On wider screens, it opens as a panel up to 420 px wide and 700 px tall, on the side set in the channel’s launcher position.
  • The layout updates when the window is resized or rotated.
  • Opening the chat clears the unread badge on the launcher.