Sometimes you'd like the same bot to behave differently on the different pages of your website.

This is possible with the explicit initialization.


For example, if we want the bot to not autostart on page 1 but on page 2 keep the settings as is


On page 1 (no autostart), embed the code 


<script
    type="text/javascript"
    async
    defer
    src="https://quriobot.com/qb/widget/3MY12wr8gmd8AROG/NvRW9mA761E3BgZ4?init=explicit&onScriptLoad=quriobotLoaded">
</script>
<script type="text/javascript">
   function quriobotLoaded(){
       quriobot.init({
           autoStart: false
       })
   }
</script>


Please note that onScriptLoad parameter is passed, this is a global-scoped callback function which will be called once the quriobot widget script is fully loaded and so quriobot.init can be called

Also note the init=explicit parameter added to the widget script URL.


On page 2 (not settings override), embed the code

<script
    type="text/javascript"
    async
    defer
    src="https://quriobot.com/qb/widget/3MY12wr8gmd8AROG/NvRW9mA761E3BgZ4" />