I have the webchat bot popping up on page load. I would like to delay the popup by 5 seconds but I would settle for the webchat bot appearing after 5 seconds. I did not see a Cognigy configuration for this.
Answered
Delay popup of web chat on page load

Mike Pilman
Didn't find what you were looking for?
New postWas this post helpful?
-
Official commentAlexander Teusz (Cognigy)
Hi Mike,
Since the webchat is configured in the index.html file, one can simply use JavaScript code to provide such a delay:
initWebchat('...').then(webchat => {
setTimeout(() => {
webchat.open();
}, 5000);
})Best
Alex
-
Alexander Teusz (Cognigy)
This is post is related to: https://support.cognigy.com/hc/en-us/community/posts/360009872520-Configure-web-chat-to-pop-up-automatically
0
Please sign in to leave a comment.
Comments
2 comments