Adding a website live chat widget

The Deskwoot live chat widget lets your website visitors start conversations directly from your site. It loads quickly and can be customized to match your brand

Updated September 30, 2026Also available in: Deutsch, Português

The live-chat widget on your website is the fastest customer-support channel you can offer. A small chat bubble in the bottom corner; visitors click, type, get a reply in real time. With the AI bot enabled, common questions get answered instantly without your team waking up; with auto-handoff, complex tickets land in your agents' inbox with full context. Setup is a one-line snippet — no build step, no dev required.

The Deskwoot live chat widget lets your website visitors start conversations directly from your site. It loads quickly, works seamlessly on desktop and mobile, and can be customized to match your brand. Below you'll find step-by-step instructions for setting up the widget, tips for getting the most out of it, and answers to common questions.

Creating the widget inbox

  1. Navigate to Settings > Inboxes > Add Inbox.
  2. Select Website as the channel type.
  3. Configure the widget settings:
    • Choose a descriptive name for the inbox (e.g., "Main Site Chat").
    • Set your brand color so the widget matches your website's look and feel.
    • Write a welcome message that greets visitors when they open the chat.
    • Pick the widget position , bottom-left or bottom-right.
  4. Click Create to save the inbox.

Installing the widget

After creating the inbox, Deskwoot generates a JavaScript snippet. To install it:

  1. Copy the provided code snippet.
  2. Paste it into the <head> section or just before the closing </body> tag of every page where you want the widget to appear.
  3. If you use a tag manager like Google Tag Manager, add the snippet as a Custom HTML tag instead.

After deploying, open your site in an incognito window to confirm the widget loads correctly.

Pre-chat forms

You can require visitors to enter their name and email before starting a chat. Enable the pre-chat form in your inbox settings. This helps you identify returning customers and follow up via email if they leave before you respond. Collecting contact details upfront also reduces the number of anonymous conversations your team needs to handle.

Widget customization

Customize the widget appearance from your inbox settings. You can change the color, position, welcome title, tagline, and greeting message. The widget automatically adapts to mobile screens, so there's no need for separate mobile configuration.

Best-practice tips

  • Keep the welcome message short. One or two friendly sentences perform better than a long paragraph.
  • Match your brand colors to maintain a consistent visitor experience across your site.
  • Enable pre-chat forms if your team cannot respond in real time; this ensures you can follow up by email.
  • Test on multiple devices after installation to verify the widget displays and functions properly on both desktop and mobile browsers.

Troubleshooting

  • Widget not appearing: Make sure the JavaScript snippet is placed correctly and that no browser extensions or ad blockers are preventing it from loading. Clear your cache and try an incognito window.
  • Styling conflicts: If your website's CSS interferes with the widget's appearance, check for global styles that might override iframe or button elements.
  • Slow loading: Placing the snippet just before the closing </body> tag ensures the widget loads after your main content, minimizing any impact on page speed.

Frequently asked questions

Can I add the widget to specific pages only?

Yes. Simply include the JavaScript snippet on the pages where you want the widget to appear and omit it from the rest. If you use a tag manager, configure a trigger that fires only on the desired URLs.

Will the widget slow down my website?

The widget is designed to load asynchronously, so it should have minimal impact on your page speed. Placing the snippet before the closing </body> tag is recommended for optimal performance.

Can I use the widget on Shopify or WooCommerce?

Absolutely. Paste the snippet into your theme's layout file. For Shopify, use the theme.liquid file; for WooCommerce, use your theme's footer.php or a header/footer script plugin.

Frequently asked questions

Does the widget work on every website builder?
Yes. WordPress, Webflow, Shopify, Wix, Squarespace, plain HTML, Next.js, React, Vue — anything that lets you paste a script tag. Google Tag Manager works too.
Do visitors need a Deskwoot account to chat?
No. Visitors stay anonymous unless your pre-chat form asks for name/email, which is optional. Conversations are tied to a session token so the same visitor keeps their history across page navigation.
What happens when no agents are online?
Configurable per inbox. Default: visitor sees 'we'll reply by email' and leaves their address — message lands in Deskwoot as a normal conversation. Or: AI bot handles it and only escalates if the visitor asks for a human.
Can I show the widget on some pages and not others?
Yes. Use a CSS rule, a class on <body>, or call `window.deskwootWidget.hide()` programmatically. Useful for landing pages where chat shouldn't compete with a CTA.
Does the widget track visitors with cookies?
Cookieless mode available on Startup+. Uses session storage and a non-tracking token. GDPR-friendly out of the box; no consent banner needed for the chat itself.
How fast does the widget load?
3 KB gzipped loader, async. Heavy code lazy-loaded on first interaction. Typical Lighthouse performance impact: ~0 points.
Can I customize the look?
Brand color, position (bottom-right / bottom-left / center), pre-chat form, welcome message, sound, idle prompts. Settings → Inboxes → your widget → Appearance.
Does it support file uploads from visitors?
Yes. Images and PDFs up to 25 MB. Virus-scanned (ClamAV) before agents see them.
Can I use the widget on a multilingual site?
Yes. The widget UI auto-translates based on the visitor's browser language. Per-language welcome messages configurable so 'Hi!' becomes 'Hallo!' for German visitors.
How is widget usage billed?
Each conversation through the widget counts as one regular conversation toward your plan's monthly cap. AI bot replies + Copilot actions count once toward the separate AI quota.
Can I see who's currently browsing my site?
Yes on Business+. A live presence view shows active visitors with their current page. Useful for proactive chat invites.
Does the widget work in iframes?
Yes, but iframe context limits some features (no proactive auto-open). Most teams embed in the parent page; iframe is mainly for testing.

Deskwoot interactive demo