jquery detect which page i am
<script>
window.homepagecheck = function() {
var check = false;
if(document.location.pathname === "/"){
check=true;
}
return check;
}
if(window.homepagecheck()){
setTimeout(function() {
__flowai_webclient_app.open()
}, 5000) // 5 secs
window.__flowai_webclient_autoTriggerEvent = 'START_CHAT'
}
</script>