https://discord.gg/botpress logo
Hey guys, I’m having an issue embedding my bot in...
# 💻developers
w
Hey guys, I’m having an issue embedding my bot into my WordPress website. I’m inserting the code as per the manual: <iframe style="height: 100%; width: 100%; border: none;" srcdoc=' window.botpress.on("webchat:ready", (conversationId) => { botpress.open(); }); window.botpress.init({ "botId": "d3aea06d-0f04-4701-bec3-b457caf79902", "configuration": { "website": {}, "email": {}, "phone": {}, "termsOfService": {}, "privacyPolicy": {}, "color": "#3B82F6", "variant": "solid", "themeMode": "light", "fontFamily": "inter", "radius": 1 }, "clientId": "0e772c62-e321-46b5-a9fb-a88c5104e067" }); ' > However, the webchat doesn’t always open by default on all browsers. For example, it appears open in Chrome but not in Safari. Strangely, on mobile, Safari shows it open correctly, while Chrome does not. Could anyone help me ensure the bot opens by default across all browsers and devices? Thanks a lot! 🚀