Web chat: the WhatsApp Agent on your website

Turn on the chat bubble in your online store or on any website, customize colors and texts and limit the allowed domains.

On this page
  1. What the Web chat is
  2. Configure and activate the chat
  3. Embed the chat on your website

What the Web chat is

The Web chat is a chat bubble you can show in your online store or on any web page. It works independently of WhatsApp and uses the name and welcome message of your WhatsApp Agent. It is configured in Communications > Settings > Web chat.

Configure and activate the chat

Web chat settings
  • Enable embedded chat: turns the chat on or off.

  • Show in my online store: shows the bubble in your Lueira online store.

  • Primary and secondary color: the colors of the bubble (format #275E60).

  • Position: for example, bottom right. Icon: the drawing on the bubble.

  • Subtitle and Input field text: the texts the customer sees.

  • Allowed origins: domains of your website where the chat can appear, one per line (for example https://www.tuweb.com).

Click Save to apply the changes.

Embed the chat on your website

  1. In the Embed the chat on any website block, click Copy code.

  2. Paste the snippet right before the </body> tag of your website. Change data-lang to the language you prefer (for example es).

  3. Enable the chat and add your website's domain in Allowed origins: without this it won't work outside your online store.

The name and welcome message are taken from your WhatsApp Agent (see WhatsApp Agent).