Script Chat Live Troubleshooting: Why Your Chat Script Isn’t Showing and How to Fix It in 10 Minutes

Script chat live problems are usually simple: you pasted the code, refreshed the page, and the chat bubble didn’t appear. In almost every case the cause is one of ten things, from a code block that turned your script into visible text to a cookie banner or speed plugin quietly holding it back. This guide explains what each part of the install script does, walks through the ten causes in the order worth checking, and gives you a checker that reads your page source and points at the problem.

<script src=”https://livechatbot.in/widget.js” data-key=”YOUR_KEY” async></script>
<div id=”chat-box”></div>
<script src=”https://livechatbot.in/widget.js” data-key=”YOUR_KEY” data-mode=”inline” data-target=”#chat-box” data-height=”600″ async></script>

⚡ In short

  • The chat script is one line. If the bubble doesn’t show, the line is missing, broken, blocked or delayed.
  • Check in this order: is it on the page, is it intact, is it blocked by consent or security settings, is a speed plugin delaying it, and do your chat settings hide it.
  • Paste your page source into the checker below to find most problems in seconds.
  • Always test in a private window, after clearing your site and plugin caches.
Script chat live in LiveChatBot: the chat widget on an online store answering a delivery question
How it looks in LiveChatBot: the chat widget on an online store answering a delivery question.

Line by line

What each part of the script does

The LiveChatBot install code is a single script tag. Knowing what each piece does makes troubleshooting much faster.

src=”https://livechatbot.in/widget.js”

The address of the chat widget. The browser downloads it from livechatbot.in. If this address is blocked by a security policy, an ad blocker or a firewall, nothing appears.

data-key=”…”

Your website’s unique key, which tells the widget which website, settings and inbox it belongs to. If the key is missing or wrong, the widget can’t load your chat. Each website in your account has its own key, so a code copied from your second website will show the second website’s chat.

async

Lets the page carry on loading while the widget downloads. Without it, the chat still works, but your page waits for it.

data-mode=”inline”, data-target, data-height (optional)

Show the chat inside a section of your page instead of as a floating bubble. The target element, such as a div with id “chat-box”, must exist on the page, or there’s nowhere to draw the chat.

Two more facts help with troubleshooting. The widget draws itself inside its own sealed area of the page (a Shadow DOM), so your theme’s CSS can’t break its layout. And if the script appears twice, only the first copy runs: a duplicate won’t show two chats, but a duplicate with a different key can show the wrong website’s chat.

Free tool

Check your page source for script problems

Paste the source of the page where the chat should appear, or load the broken example to see what the checker finds.

Paste your page’s source code

Open your website, press Ctrl+U (Cmd+Option+U on a Mac) to view the source, select all, copy and paste it here. On a phone, ask whoever manages the site. Nothing leaves your browser.