We have two options to trigger liveweb from a custom button: opening the chat interface (for text chat), or opening the call interface (for audio and video calls, and screen sharing).
Chat CTA button
When clicked the chat sidebar opens. NOTE: When Chat is disabled in Call & Chat Settings this button is will not do anything.
To use it add class called 'liveweb-talk-trigger' to your button element (you can have more than one in your page).
Example:
<button class="liveweb-talk-trigger">Chat now</button>
Call CTA button
This button shows the pre-call UI when clicked.
To use it add a class called 'liveweb-call-trigger' to your button element (you can have more than one in your page).
Example:
<button class="liveweb-call-trigger">Call us</button>