adverse-sapphire•15mo ago
Open in full screen mode.
Can someone show me how to modify the embed code to open my chatbot in full screen mode on page load?
3 Replies
To automatically open the Webchat when a user lands on your website, you need to modify the code snippet slightly. The function that opens the chatbot is
window.voiceflow.chat.open()
. You also need to add a slight delay so it can render properly. Here's what the modified code should look like:
Remember to replace 'YOUR_PROJECT_ID'
with your actual project ID. For more details on other functions that the webchat can perform, you can refer to the Voiceflow documentation.adverse-sapphireOP•15mo ago
Thanks! That works!
This is the new way and is better: https://developer.voiceflow.com/docs/embed-customize-styling