Chat widget for your website
A chat button for your site; each conversation becomes a ticket and carries on live.
Settings → Chat widget
A chat button for your own website. A visitor types their name, email and a first message; that becomes a support ticket in the project you choose, and the conversation carries on live in the widget. Your replies on the ticket appear there as you send them, and the visitor's answers land on the ticket and in the Chat inbox.
Setting it up
- Choose a project under New conversations go to. Every chat becomes a Support Ticket there, filed by the project lead — or, with no lead, the longest-standing member who may raise tickets — so your usual assignment, SLA and automation rules apply to it.
- Write a greeting (optional, up to 300 characters). It is the first thing a visitor sees when they open the chat.
- List the sites the widget may appear on, one per line — up to 20.
- Turn Chat widget on and Save.
- Paste the snippet from Add it to your site just before
</body>on every page that should show the button.
Sites it may appear on
Each entry is a site address — scheme and host, plus a port if it has one. Paths are dropped, so https://www.example.com/contact is stored as https://www.example.com. Addresses must use https; plain http is accepted only for localhost and 127.0.0.1, for trying it out on your own machine.
Matching is exact: example.com and www.example.com are different sites, so list both if your site answers on both. On any site not listed, browsers refuse to show the chat window.
The snippet
<script src="https://<your-loopline>/widget.js" data-org="<workspace-slug>" async></script>
The settings page fills in both values for you — copy it from there. It adds a round button in the bottom-right corner that opens the chat. To match your brand, add a colour: data-color="#4f46e5".
Returning visitors
The visitor's browser remembers their conversation, so reopening the chat picks it up where it left off. New conversation in the widget starts a fresh ticket. A different browser or device starts from scratch.
Testing and turning it off
Once saved and on, Preview the widget opens it on its own page, where it works without being embedded. Turning the widget off stops the chat opening on every site straight away; the button itself goes when you take the snippet off the page. Tickets it already created are kept.