Skip to main content
widget.js is the only thing that goes on your site. It is about 6 KB gzipped, draws a launcher, and opens the conversation in an iframe. Paste it immediately before the closing </body> tag of the layout every page shares:
Your widget key is on the agent’s Install page, already filled in to the snippet there. A widget key is public — anyone can read it from your page source. To keep it from working elsewhere, set allowed domains. The iframe is not created until a visitor shows intent — hover, focus, touch or click — so a page nobody chats on loads one small script and nothing else. Whether the panel is open is kept per tab, so clicking through to another page does not close a conversation in progress.

By platform

Paste the snippet immediately before </body> in your site’s layout or template. Publish, then load any page.

Per-page overrides

The widget’s look is set on the agent’s Playground page. A single page can override it, either with an attribute on the script tag or with a field on window.wiredeskSettings set before the script loads. Each override applies to that page only.
A second copy of the script on the same page does nothing, so a duplicate tag never draws a second bubble.

It is not showing up

Work through the chat bubble is not showing up in the help centre. The usual causes are a tag manager container that was never published, a page cache serving the old HTML, or a page that is not on the widget’s allowed domains.