🆕Web V2

Chatlaye's new widget with a more modern feel and optimized mobile performance. Below you can find out all about it!

Create your Web widget

To create a web channel with the new widget:

  1. Navigate to the Channel page on your bot.

  2. Press the Add channel button in the top right.

  3. Look for 'Web'.

  4. Select Web.

  5. Click on Next.

Create your Web widget from the Channels tab.

Customize your Web widget

The first two tabs Basics and Appearance will allow you to change the settings and looks of your bot. That way you can ensure the branding of your new widget corresponds to the one your company uses.

Basics

On the 'Basics' page you can make a number of changes:

  • The Title and Subtitle of the widget will appear at the top of the widget. Make sure to leave them empty if you don't want any title to appear.

  • Enable text input is on by default and will allow your customer to type text towards your bot. Make sure to turn this off if you want your bot to be used solely as a click bot.

  • Enable audio input allows the user to send voice snippets to the bot using the record button at the bottom right corner of the widget.

  • Enable file upload will make the paperclip to the right of the input-box appear. This will allow your customer to send files to your chatbot.

  • Enable sound notifications activates audible alerts for your bot's message replies.

Set your Web widget Basic settings.

Appearance

On the Appearance page you can make a number of changes:

  • Change the position of your widget to Bottom right or Bottom left.

  • Customize your Brand color, Conversation color and Action color.

  • Launcher is the image to show in the launcher button.

  • Header logo is the image shown in the header.

  • Bot avatar is the default image for the bot avatar.

  • Agent avatar is to show as the default agent avatar.

Change your Web widget's style under the Appearance tab.

Make sure that you click on Save after changing your bot's appearance.

Preview your Web widget

To preview your Web widget after styling it:

  1. Click Save.

  2. Press Preview.

Your bot will open on a CodePen page where you can test it.

Preview your bot in CodePen.

Add your Web widget to your website

After having configured your widget you can start embedding it on your website.

To embed your website widget:

  1. Click on the Installation tab.

  2. You'll see an HTML script under Embed your widget. Copy and paste this script in the header section of every HTML page of your website where you want it to appear.

  3. Additionally, place the provided snippets at the end of the body section on each HTML page of your website.

Install your Web widget to your web page using the Installations tab.

Set to a specific language

To set the language in an iframe, add the desired language as a query parameter to the iframe URL. This allows you to force your widget to display in that specific language.

For example:

https://webchat.chatlayer.ai/embedded/botId:channelId?language=en

Note that you can also change the bot language by using the HTML.


💬 Give feedback

Last updated

Was this helpful?