The Chat Widget in ChatBot is a default chat window that functions as your chatbot interface. Adding a custom avatar or text canĀ customize its look and feel.
You can install the bot on your site without coding - just paste the provided code into your site’s source code.
How to install a bot on your website
Before you install the bot on your site, you must ensure that all the changes in the bot flow are made. Before you paste the code, you canĀ configureĀ andĀ customizeĀ the Chat Widget. The changes will be visible when you save them and publish the bot.
-
Open your bot and go to theĀ IntegrationsĀ icon. Click Connect next to the Chat Widget option.
-
Go to the Publish section and copy the code.
-
Paste the code to your websiteās source code before the /body closing tag.
How to embed Chat Widget on a website
By default, the Chat Widget canāt be embedded as an element of the page. However, there is a workaround that lets you do it. See how it can lookĀ here.
You can check ourĀ GitHub repository for the source code. There are two files:
-
widget.html - contains the installed code to open the plugin when the page loads
-
index.html - contains the iframe element to load it at a specific place on the page
Embed the ChatBotās chat widget on other stores and platforms
ChatBot provides free and ready-to-use integrations that allow you to add a bot to e-commerce platforms or connect it with popular web builders. Follow the following tutorials to learn more:Ā
Connect ChatBot with any service using Zapier
How to temporarily disable the Chat Widget on your site
To disable the bot without erasing it completely from your site, go to the Chat Widget integration and switch the integration toggle to the off position.
How to delete the Chat Widget from your site
To delete the integration from your site, delete the tracking code from the source code or go to the Chat Widget integration and delete the integration using the button in the General section.
Read more: