Delay script load
There may be times when you only want the Web chat to load for certain users, or on certain pages of your site. For this we offer the delayed load.
<script
defer
src="https://widget.mava.app"
widget-version="v2"
id="MavaWebChat"
data-token="YOUR_DATA_TOKEN"
delay-load="true" // This is the important line
></script>
<button
onclick="
var newEvent = new Event('loadMavaWebchat');
window.dispatchEvent(newEvent);
">
Load Mava Script
</button>Last updated