Internet Chat Bot Basics for Non-Techies: Script Tags, Browsers, Servers and Cookies Explained

Internet chat bot tools look like a small bubble in the corner of a website, but behind it is a chain of pieces: a line of code on your site, the visitor’s browser, the provider’s servers, your team’s inbox and, for AI replies, a language model. You don’t need to be technical to run one, but knowing how the pieces connect helps you install it correctly, fix problems quickly and answer customers’ privacy questions with confidence.

๐ŸŒ Visitor’s browser
โ†“
๐Ÿ“œ Script on your site
โ†“
Draws the chat bubble
โ˜๏ธ Provider’s servers
โ†“
Store and route messages
๐Ÿ“ฑ Your team’s inbox
โ†“
Web dashboard or Android app

โšก In short

  • You add one short script to your website; it loads the chat bubble in each visitor’s browser.
  • Messages travel to the chat provider’s servers, which answer with the bot or pass the chat to your team.
  • Most problems (bubble not showing, slow pages, wrong pages) come from where and how the script is installed.
  • Privacy is mostly about what you collect and what you tell visitors, not about the bubble itself.
Internet chat bot in LiveChatBot: AI Agent knowledge sources and a sample chat answered from them
How it looks in LiveChatBot: AI Agent knowledge sources and a sample chat answered from them.

The big picture

Four pieces, one conversation

Imagine a visitor on your phone shop’s website types “do you repair cracked screens?”. In the second or two before a reply appears, four pieces are involved.

Your website holds a small piece of code, usually called the embed code or script. It does nothing on its own except tell the visitor’s browser where to fetch the chat.

The visitor’s browser (Chrome, Safari, Samsung Internet) downloads the chat code from the provider, draws the bubble and the chat window, and sends the visitor’s message over a secure connection.

The provider’s servers receive the message, store it in your account, check your settings (opening hours, Flows, blocked visitors), and decide who answers: the AI, the keyword bot, or a person.

Your team’s inbox, in a browser dashboard or a phone app, shows the conversation and plays an alert, so someone can step in.

When the reply comes from AI, there is one more step: the provider sends the question and the relevant bits of your knowledge to a language model, which writes the answer. Our explainer on what happens after you hit send covers that step in detail. This guide focuses on the plumbing around it.

Piece 1 ยท The script

What the embed code is, and where it goes

One paste, once. Here’s what it does and the three ways to add it.

Paste the code just before the closing `body` tag on every page, or in a shared footer file if your site has one. If you only paste it on the home page, the bubble only appears on the home page.

Tip: if your site has many separate HTML files, a shared footer saves you pasting it fifty times.

Install a plugin rather than editing theme files. Theme updates can wipe out code pasted into theme files. LiveChatBot has a WordPress plugin that also works with WooCommerce.

Tip: if a caching or optimisation plugin delays scripts, add the chat script to its exclusion list if the bubble appears late.

These builders have a place for custom code, usually called “custom code”, “code injection” or the theme’s layout file. Paste the script there so it loads on every page. See the guides for Shopify, Wix and Squarespace.

Tip: some builders only allow custom code on paid plans; check before you start.

Piece 2 ยท The browser

Why the same chat can behave differently for different visitors

Because the chat runs inside each visitor’s browser, what they see depends partly on their device. That’s why your bubble can look perfect on your laptop and odd on a customer’s phone.

Screen size

On phones, the chat window usually opens full-screen. The launcher sits in a corner and can cover buttons such as “Add to cart” or a WhatsApp icon from another plugin. Always check your key pages on a phone after installing.

Blockers and privacy settings

Some visitors use ad blockers or strict privacy modes. A few of these block chat scripts from loading. There’s nothing wrong with your installation; it’s their choice. Always have another contact method on the page, such as an email address or phone number, so they can still reach you.

Old browsers and slow networks

On slow mobile data, the bubble may appear a few seconds after the page. Well-built chat scripts load after the main content so they don’t hold up the page. If you’re worried about speed, test your page before and after installing with a tool such as Google’s PageSpeed Insights from web.dev. Our article on chat widgets and page speed goes deeper.

Language

The browser tells websites which language the visitor prefers. LiveChatBot uses this for automatic widget language and welcome translations, which is why a visitor whose phone is set to another language may see a translated greeting.

Piece 3 ยท The servers

What happens to a message after it leaves the browser

The provider’s servers do more than pass messages along.

1

Store

Every conversation is saved to your account, so your team sees the history and the visitor sees earlier messages when they come back.

2

Check the rules

Opening hours, blocked visitors and IPs, which pages and countries the widget shows on, and any Flow conditions are applied.

3

Choose who answers

The AI Agent if it can answer from your knowledge; the keyword bot from saved replies if not; otherwise your team.

4

Alert the team

A notification goes to the dashboard and the Android app so someone can step in quickly.

5

Connect other tools

Webhooks, Zapier or the REST API can send chat or ticket events to spreadsheets, CRMs or email tools.

6

Track visits

Pages viewed, source and visit count are recorded so your team has context before replying.

Piece 4 ยท Your team’s side

Answering from a desk or a phone

The visitor sees a chat window. Your team sees an inbox: a list of conversations, each with the visitor’s current page, how they arrived and their earlier visits. When the bot can’t answer, the chat appears there with an alert.

For small teams, the phone is often the main inbox. LiveChatBot’s Android app lets you reply from anywhere and get notifications for new chats. There’s no iOS team app, so iPhone users on your team can use the web dashboard in their phone’s browser.

Hours and away messages

The servers know your opening hours. Outside them, visitors see an away form that collects an email or phone number, so you can reply later instead of leaving them waiting. Set this up in a few minutes with the opening hours guide.

Tickets

Some questions can’t be answered in one sitting. Turning a chat into a ticket gives it an owner and a status (open, pending, solved), and the customer can follow it on a ticket page without logging in. Offline messages from the away form can become tickets too.

Understanding this side matters because it shapes promises. If your team only checks the inbox twice a day, the bot shouldn’t say “we’ll reply in a few minutes”.

Cookies and privacy

What to tell visitors, in plain words

Visitors increasingly ask, “Is this chat recording me?” A clear, honest answer builds trust. Here’s what to understand.

What a chat usually stores

Chat tools generally keep the messages typed, the pages visited during the session, basic technical details such as browser and approximate location, and any contact details the visitor chooses to share. Many tools use a small browser storage item or cookie to recognise a returning visitor so their chat history appears again. Check your provider’s own cookie policy and privacy policy for specifics.

What you should do

– Mention the chat in your privacy policy: that conversations are stored, why, and how long you keep them. – Don’t ask for more than you need. An email or phone number to reply is reasonable; a date of birth usually isn’t. – Tell visitors not to share passwords or card details in chat, and never ask for them. – In India, the Digital Personal Data Protection Act, 2023 applies to personal data you collect, including through chat. Keep collection purposeful and respond to deletion requests.

What to say when asked

“Yes, chats are saved so our team can help you and see earlier messages. We only use them to answer your questions. Please don’t share passwords or card numbers here.” Short, honest and true.

When something breaks

Quick fixes for the five most common problems

Most issues are installation issues. Check these before contacting support.

Bubble doesn’t appear
๐Ÿšฉ CausePasted the code only on one page, or inside a section that isn’t loaded on every page.
โœ… FixPaste in the site-wide footer or use the plugin; clear any site cache; check ‘where it shows’ settings.
Bubble appears twice
๐Ÿšฉ CauseCode pasted in the theme and also added by a plugin.
โœ… FixKeep one method only; remove the other copy.
Bubble covers a button on phones
๐Ÿšฉ CauseDefault position clashes with your theme’s sticky buttons.
โœ… FixChange the widget position or hide it on that page.
Chats arrive but no alerts
๐Ÿšฉ CauseNotifications blocked in the browser or phone.
โœ… FixAllow notifications for the dashboard and install the Android app.
Bot answers with old facts
๐Ÿšฉ CauseKnowledge or saved replies not updated after a change.
โœ… FixUpdate the answer, then retest on your phone.

Before you install

Five questions to settle first

Installing an internet chat bot takes minutes. Deciding how it should behave takes a little longer, and it’s worth doing first so your visitors’ first experience is a good one.

  1. Who answers, and when? Write down your real hours and who checks the inbox.
  2. What should the bot answer alone? List your top ten questions and the answers.
  3. Which pages need the chat? Usually all, except perhaps checkout or payment pages.
  4. What will you say outside hours? An honest reply time and a way to leave contact details.
  5. Where will chats go after they end? If you need them in a spreadsheet or CRM, plan a Zapier or webhook connection; see connecting chat to Zapier.

With these answered, the technical part is the easy bit.

Getting started

Install it, then check it on a phone

Create an account, copy the code or install the plugin, and open your website on a phone. You should see the bubble within a few minutes. Then teach the bot your top questions, set opening hours, and invite your team.

LiveChatBot’s free plan includes the widget, AI Agent with a small monthly allowance of AI replies, the keyword bot, visitor tracking, Flows, tickets and the Android app, on two websites with 100 free visitors per website each month. There are plugins for WordPress, WooCommerce and Joomla, React and Vue packages for developers, and paste-the-code setup for Shopify, Wix and Squarespace. Developers who want the JavaScript or REST API can ask our team for developer documentation, or start from the integrations page. Sign up at livechatbot.in and your internet chat bot can be live before lunch.

Frequently asked questions

How does an internet chat bot get onto my website?

You paste a short script into your site (or install a plugin). It tells each visitor’s browser to load the chat from the provider’s servers.

Will it slow down my website?

A well-built chat script loads after your main content, so the effect is usually small. Test your key pages before and after with a speed tool.

Why can’t some visitors see my internet chat bot?

Some ad blockers and strict privacy settings block chat scripts. Keep another contact option, such as email or phone, on the page.

Do I need to update my privacy policy?

Yes. Mention that chats are stored, why, and for how long, and tell visitors not to share passwords or card details.

Can I reply from my phone?

Yes. LiveChatBot has an Android app for your team; iPhone users can use the web dashboard in a browser.

Keep reading

Related guides

๐Ÿ“˜

Help Bots for Self-Service: Turn Your FAQ Page Into a Bot Customers Actually Use

Read the guide โ†’

๐Ÿงญ

Good Chatbots Share 9 Traits: A Self-Scoring Rubric to Grade Your Own Website Bot

Read the guide โ†’

Get your chat code in two minutes

Paste once, check on a phone, teach it your top questions. Start free on livechatbot.in.