ChatBot not loading
My chatbot is not appearing in my Shopify store, I see that the javascript is loading and running but even with a manual call to show, it doesn't produce anything, can someone help?
chat.load() function should be used to load the agent by setting the project ID, the runtime URL, and a version ID. Here's an example:chat.open() function like this:chat.interact() function:chat.open()chat.interact()window.voiceflow.chat.load({
verify: {
projectID: "YourProjectID"
},
url: "https://general-runtime.voiceflow.com",
versionID: "production"
});window.voiceflow.chat.load({
verify: {
projectID: "YourProjectID"
},
url: "https://general-runtime.voiceflow.com",
versionID: "production"
}).then(() => {
window.voiceflow.chat.open();
});window.voiceflow.chat.load({
verify: {
projectID: 'YourProjectID'
},
url: 'https://general-runtime.voiceflow.com',
versionID: 'production'
}).then(() => {
setTimeout(function () {
window.voiceflow.chat.open();
}, 1000);
setTimeout(function () {
window.voiceflow.chat.interact({
type: "intent",
payload: {
intent: {
name: "account_services"
},
entities: []
}
})
}, 2000);
});