WidgetInstall the widget

Install the widget

Add the SI Desk chat to your website with Mythic Analytics or with two code snippets.

The widget is the chat button your customers see on your website. It needs the Mythic Analytics pixel on the same page, because it uses the pixel to recognize each visitor. Without the pixel, the widget does not appear.

First, connect Mythic Analytics in Settings › Business › Mythic Analytics. Then add the widget in one of the two ways below.

With Mythic

Use this if the Mythic pixel is already on your website.

  1. Open your Mythic tag manager.
  2. Add the Sidesk chat tag from the catalog.
  3. Turn the tag on.

The tag finds your business by your Mythic location, so it needs no settings. The tag's trigger rules decide which pages show the chat. You do not change your website's code.

Paste the snippets

Use this if you prefer to edit your website's code.

  1. Open the Install page in SI Desk.
  2. Copy both snippets. The first is your Mythic pixel. The second is the widget, with your business's site id already filled in.
  3. Paste both into your website's <head>, pixel first.
<script
  src="https://sidesk.co/widget.js"
  data-site="YOUR_SITE_ID"
  defer
></script>

Script options

Each option is an attribute on the widget's script tag. All are optional.

AttributeWhat it does
data-siteYour business's site id. The Install page fills it in.
data-titleThe name at the top of the chat. Defaults to your brand name.
data-reply-timeThe reply time shown under the name, such as "Within a few hours".
data-privacyA link to your privacy policy, shown under the message box.

The Mythic tag cannot carry attributes. To set options with the tag, define them on the page before the widget loads:

<script>
  window.SupportWidgetSettings = { title: "Acme Support", replyTime: "Within an hour" };
</script>

Check that it works

Open your website and send a message from the chat. It appears in your Inbox within a second. The Install page shows Receiving messages after the first chat arrives.

If the chat does not appear

  • Check that the Mythic pixel loads on the page. The widget stays hidden without it.
  • Check that Mythic Analytics is connected in Settings › Business.
  • If you pasted the snippet, check that data-site matches the site id on your Install page.
  • If you use the Mythic tag, check that the tag is on and its trigger matches the page.