https://discord.gg/botpress logo
Bot not showing on WordPress site
# 🤝help
c
I have integrated webchat on my WordPress site but it is showing an empty bot tray icon and nothing happens when I click it. **URL **: https://www.medicaldirectorco.com/ There is no issue with the integration of webchat script tags. The tags are in page source. What am I doing wrong? https://cdn.discordapp.com/attachments/1386407030423687320/1386407030822142153/image.png?ex=685997aa&is=6858462a&hm=a838a6819c538d88909452a7878fe182b2056e37d324aa570f59a2fb1246c6e3&
p
Can you show where and which embedding method you used?
c
@prehistoric-airplane-85682 I am using the script tags from "Webchat -> Share -> Embed code" in Botpress dashboard. On the wordpress site, I am using Elementor custom code for integrating scripts. You can check the page source of the website's homepage after opening the website and you will find the script tags in the source. https://cdn.discordapp.com/attachments/1386407030423687320/1386714819306065930/image.png?ex=685ab650&is=685964d0&hm=7a8ed269640f00cf4ded600907578122f042906ae2c8869621f0ff6d449426e3& https://cdn.discordapp.com/attachments/1386407030423687320/1386714819763114097/image.png?ex=685ab650&is=685964d0&hm=c5bfa1ee5a305633302637b35e10c2240805ca84f39f20a7c0050192d0f60884&
p
Have you tried placing the scripts in another place in your code ex: the body?
c
ok. let me try it
Placing at the start of body seems to have worked. The chat tray icon appears now.
Now, it's again not working.
Now works.. lol
p
Oouf, if you see any recurring pattern about when it fails, please let me know. But I'm glad you got it working.
c
It's not working again.
It's a recurring pattren. Nothing wrong with my wordpress site.
Think the issue lies on Botpress end.
s
@clever-exabyte-40857 did u make it work?
b
Hey @clever-exabyte-40857 did it worked?
p
Have you tried removing the defer keywords?
b
no
should i?
c
It didn't work for me.. tried many things.. I eventually lost the project and someone else is working on it so I am not sure what's happening there.
b
Sorry to hear that