1. Webchat Embedding
  2. Webchat UI

Webchat Embedding

Webchat UI

Embed the stubber webchat into your website with a configurable ui interface

Step 1 : Script Tag

First, include the following script tag within the <head> section of your HTML document:

script tag
        <script type="module" src="https://webchat.notifications.stubber.com/v2/client/index.js"></script>


      

This script initializes the Stubber Webchat module.

Step 2 : HTML Tag

Next, add the Webchat component to your webpage by including the following HTML tag where you want the chat window to appear

To avoid overlay issues put the Webchat tag into the <body> tag:

Replace the profile_uuid with the uuid of your Webchat profile.

html tag
        <stubber-webchat profile_uuid="0c7b4df1-6d5b-5c94-be7d-738e0814XXXX"></stubber-webchat>