Embedding chatbot | XM Community
Skip to main content

Embedding chatbot

  • May 9, 2023
  • 1 reply
  • 142 views

Forum|alt.badge.img+1

Hi all,

For my thesis I am trying to embed a Landbot chatbot into my survey, but interacting with the chatbot does not seem to be possible. I can click to answer a question, but then the chat does not seem to continue. 

I use the following code, as provided by Landbot itself and added it into the html view of a text / graphic question. (I have anonymized the configURL as I only have a limited number of chats available)

<script SameSite="None; Secure" src="https://cdn.landbot.io/landbot-3/landbot-3.0.0.js"></script>
<div id="myLandbot" style="width: 100%; height: 500px"></div>
<script>
  var myLandbot = new Landbot.Container({
    container: '#myLandbot',
    configUrl: 'https://storage.googleapis.com/landbot.online/v3/H-1484557-XXXXXXXX/index.json',
  });
</script>

 

I am not familiar with coding at all, so any help would be greatly appreciated!

Thanks in advance,

Daniel

1 reply

Forum|alt.badge.img

Hi guys!

 

I’m having the exactly same issue here. I’d really appreciate if someone could help. :)

 

Fernando