wet-aquaW
Voiceflow2y ago
2 replies
wet-aqua

Web embedding problem!!

Hello, i am trying to apply the code to embed my chatbot, and it works, but i have to scroll down to see new messages. Is there a way to solve this? The code used:

<!DOCTYPE html>
<html>
<body>

</body>

<script type="text/javascript">
(function(d, t) {
var v = d.createElement(t), s = d.getElementsByTagName(t)[0];
v.onload = function() {
window.voiceflow.chat.load({
verify: { projectID: '65e63d4f5671df3be500e680' },
url: 'https://general-runtime.voiceflow.com',
versionID: 'production',
/**
* [optional] Embed webchat within a section of your page
*/

render: {
mode: 'embedded',
target: document.body,
},
autostart: false
});
}
v.src = "https://cdn.voiceflow.com/widget/bundle.mjs"; v.type = "text/javascript"; s.parentNode.insertBefore(v, s);
})(document, 'script');
</script>
</html>
Was this page helpful?