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 = []
    "delay": 15000
<script type="text/javascript" src="" 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.

Edit this page