Embedding Chat Widgets

Embedding Chat Widgets

With this functionality, you can now embed your chatbots as a section on a webpage just like how you see images on blogs.

This will also allow you to have multiple chatbots on different sections of a page in order to interact with your visitors without any additional CSS/HTML efforts from your end.

Benefits of embedding a chatbot:

  • Improves UX with an immersive view

  • Make your content interactive

  • Embed multiple bots on a single page

  • Ability to trigger certain bot only on certain section based on trigger condition

Ways to embed a chat widget:

There are two ways through which the chatbot can be embedded.

As a chat bubble:

This will allow you to view the chatbot as a chat bubble. You can either have in on one page or on multiple pages based on your preference. All you need to do is copy the following snippet on the pages of your website as per your preference.

As an iFrame:

This will allow you to embed the chatbot on the particular section of the page. All you need to do is copy the following snippet on the page of your website as per your preference.

You can modify the Width & Height using width & height field based on your preference in the following snippet

You can also hide or show the Header of the chatbot using the 'display_header' field based on your preference. By default, it will be off.

Embedding the chat widget:

In order to embed a chat widget on your website, you can follow the steps below:

  1. Go to the 'Bot Builder' section.

  2. Select the chatbot which you want to embed and click on the 'Actions' button.

  3. A drop-down list will appear with various options. Select the 'Embed' option.

  4. Click on the ‘Two Page’ icon to copy the code provided for displaying it as a chat bubble.

    You can paste it either on all the pages or on selective pages.

Last updated