How to add a widget initialization delay
You can add a widget initialization delay so that the widget is not visible and doesn’t load its configuration for the needed delay.
This is done by adding a qbOptions parameter delay that is set in milliseconds:
<script type="text/javascript">
if (!Array.isArray(window.qbOptions)) {
window.qbOptions = []
}
window.qbOptions.push({
"use":"sadfasdfasdfas/wj0M8mVgeJrRW4qY",
"delay": 15000
});
</script>
<script type="text/javascript" src="https://static.botsrv.com/website/js/widget2.ea14eec4.js" integrity="sha384-eIQOpcMrVK2La47/uGhqpJMnpRZ4rtYQpRgr1/EbeF2HLFSPGoMsegUKf2xJUcuP" crossorigin="anonymous" async defer></script>
Note: the delay parameter is set as an integer in milliseconds, so, for example, 15 seconds is 15000.