An AI chatbot for a website is a chat window on your site’s pages where a bot answers visitors during their visit, asks for their contact details and passes the lead to a manager. A website visitor is anonymous: if they close the tab without leaving a phone number or email, there is nowhere to send a reply. In Bitrix24, for example, the customer is sent a reminder with the latest messages and a link to the chat only if a CRM form is set up in the online chat and the customer has entered an email address in it.
A free 30-minute audit: what to hand over to AI and what it saves.
How a website chat window differs from a messenger
An AI chatbot for a website replies in a window that opens over the page. It looks like a messenger chat, but on WhatsApp or Telegram the company keeps the customer’s number or account, and the customer keeps the whole message history. On a website the conversation lasts as long as the tab is open, and the bot does not know who is writing.
Bitrix24’s online chat has an email for this case. According to its help pages, if the customer has not read the operator’s reply within a minute or has closed the page, they are sent the latest messages and a link to the chat. Without a CRM form holding the customer’s email address, there is nowhere to send it.
Hence the bot’s three jobs on a website: answer while the person is on the page, get a contact and offer to continue the conversation somewhere it will be kept. An AI website assistant is another name for the same bot.
What the bot knows about a visitor before the first word
A chat window is open on a specific page of the site, and when the widget is set up, the page address can be passed to the bot along with the first message. From it the bot can tell which service, product or section the visitor is looking at.
An illustrative example: a cleaning company in Tbilisi. A visitor on the “Deep cleaning” page writes: “how much for a three-room flat?”. The bot knows the service from the page address, so it asks only for the floor area and a convenient date and quotes the price from the company’s price list. Without the page address its first question would be “which kind of cleaning do you need?”.
If the visitor wants to fix a time straight away, that is a booking; the scenario is covered in “Client booking bot for WhatsApp and Telegram with AI”. The bot uses one price list for the website and the messengers; more on that on the “Chatbot for business” page. How to test the bot’s replies to Georgian typed in Latin letters is explained in “AI in Georgian: how to test a chatbot’s answers before launch”.
How the bot gets a contact without losing the conversation
Back to the cleaning example. In the chat window, set the scenario up like this:
- Answer first. The bot gives the price from the price list and says what deep cleaning includes. Asking for a phone number before answering turns the chat into a form.
- One request for a contact. After the answer the bot offers to take a phone number so a manager can confirm the date, or to continue on Telegram or WhatsApp. If the visitor declines, it is better not to ask again: the bot just keeps answering.
- Moving to Telegram with the topic. The button opens a link like t.me/<bot name>?start=deep_cleaning. According to Telegram’s documentation, the bot receives the /start command with this parameter, and the code shows which service the chat was about. The parameter holds up to 64 characters: Latin letters, digits, “_” and “-”. The conversation itself will not fit, so the link carries a short topic code or a chat number.
- Moving to WhatsApp. Meta’s rules apply here: when a company may message a customer and which messages it pays for. They are covered in “AI chatbot for WhatsApp and Telegram: what it does and what it costs”.
- The visitor left without a contact. The chat stays in the conversation log, and it shows what they asked and where the bot found no answer.
When the bot asks for a phone number, it is worth placing a link to the site’s privacy policy next to the request.
Where to put the chat window
A chat widget is a piece of code added to the site template. The window then appears on every page built on that template. According to Bitrix24’s help pages, on a site built on another platform the online chat code goes before the closing </body> tag. If there is no website yet, the Bitrix24 online chat has a separate public page, and you can send customers a link to it.
On a narrow screen an open chat window can cover the “Book a cleaning” button or the phone number in the header. Open the site on a smartphone, expand the chat and check that the order button and the number are still visible and can be tapped.
Where the lead goes and how many enquiries the chat brings
A lead from the chat window should land where managers handle all other enquiries. In a CRM, the website chat is connected as one more channel, next to the messengers; how this is done in amoCRM and Bitrix24 is described in “How to connect WhatsApp and Telegram to amoCRM and Bitrix24”. The lead should show the manager the page the visitor wrote from and the full text of the chat, so when calling back they do not ask again which cleaning it is about or which date the customer chose.
To compare the chat with forms and calls, mark its leads separately. Google Analytics documentation has a generate_lead event for this: it records that a lead has been received. The lead source can be passed in the optional lead_source parameter. If you give the chat window its own value, such as website_chat, chat leads can be separated from the rest.
Once a month, look at:
- How many chats ended with a phone number or a move to a messenger.
- On which pages the chat is opened most often.
- Which questions the bot passed to a manager. Their answers can go into the knowledge base, and next month the bot will answer them itself.
List the questions visitors ask in the chat window or by phone after visiting the site, and note the pages they write from. Take this list to the audit that comes before the pilot, booked on the “Chatbot for business” page: it shows which questions the bot should start with and how many enquiries actually come through the website.
Sources
- Bitrix24, online chat on a website (in Russian): https://helpdesk.bitrix24.ru/open/3595591/ (checked 19 November 2026)
- Telegram, deep linking for bots: https://core.telegram.org/bots/features#deep-linking (checked 19 November 2026)
- Google Analytics, generate_lead event: https://developers.google.com/analytics/devguides/collection/ga4/reference/events#generate_lead (checked 19 November 2026)