How can we help?
< All Topics

Using the bot as a widget, how to have different starting points of the bot on different pages?

First of all, you will need to have different script for all the pages where you want different starting points of your bot.

<script type="text/javascript">
function loadCss()
{var e=document.getElementsByTagName("head")[0],t=document.createElement("link");t.rel="stylesheet",t.type="text/css",t.href="",e.appendChild(t)}function loadScript(e,t)
{loadCss();var a=document.createElement("script");a.type="text/javascript",a.readyState?a.onreadystatechange=function()
window.addEventListener('load', function()

You need to add the block name, to the Widget Script, from where you want to start the flow on a particular page, same as in this feature


Add the different scripts to your pages and you are good to go.

Was this article helpful?
2 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 100%
1 Stars 0%
How can we improve this article?
Previous Do this before trying to send emails from botbaba using your Gmail account
Next How to send notification on Chat Complete?
Table of Contents