https://retellai.com/?utm_source=discord&utm_medium=seo logo
I'm trying to implement the retell-widget-v2 websi...
# ❓・ai-evy-support
h
@AI Evy I'm trying to implement the retell-widget-v2 website widget from the documentation, but it doesn't seem to be rendering in my browser. The original retell-widget works though, and I can see the floating button in my tests
a
Thanks for tagging me @hunter2. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available documentation, there is no "retell-widget-v2" version mentioned. The current Retell website widget uses the script source ` [(1) ]() . The documented implementation for the Chat Widget requires adding this script tag within the
<head>
tag :
Copy code
html
<script
 id="retell-widget"
 src="<https://dashboard.retellai.com/retell-widget.js%22>
 type="module"
 data-public-key="YOUR_RETELL_PUBLIC_KEY"
 data-agent-id="YOUR_CHAT_AGENT_ID"
 data-agent-version="YOUR_AGENT_VERSION"
 data-title="YOUR_CUSTOM_TITLE"
 data-logo-url="YOUR_LOGO_URL"
 data-color="YOUR_CUSTOM_COLOR"
 data-bot-name="YOUR_BOT_NAME"
 data-popup-message="YOUR_POPUP_MESSAGE"
 data-show-ai-popup="true"
 data-show-ai-popup-time="5"
 data-auto-open="false"
 data-dynamic='{"key": "value"}'
 data-recaptcha-key="YOUR_GOOGLE_RECAPTCHA_SITE_KEY"
></script>
If you're trying to use a "retell-widget-v2" script URL that you found elsewhere, it may not be the official implementation. Stick with the documented
retell-widget.js
script . Check out these potentially useful sources: [Retell Website Widget]() , [Chat Widget, Custom Function Enhancement and more!]()
​ To learn more, see the sources I considered: [[1] Retell Website Widget](https://docs.retellai.com/deploy/chat-widget) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
h
@AI Evy In the Retell Website Widget documentation you linked, it specifically mentions using src="https://dashboard.retellai.com/retell-widget-v2.js"
a
Thanks for the follow-up, @hunter2. I'll get back to you soon.
### Answer I apologize for the confusion in my previous response. You're correct—I need to check the documentation more carefully. Based on the sources I have access to, the Chat Widget documentation shows the script source as ` [(1) ]() . However, you're mentioning that the documentation you're viewing references
retell-widget-v2.js
. This suggests there may be updated documentation that I don't currently have access to in my sources. If the documentation you're viewing specifically mentions
retell-widget-v2.js
, then that would be the correct script to use according to the official docs. For troubleshooting the widget not rendering: 1. Ensure you've replaced all placeholder values (YOUR_RETELL_PUBLIC_KEY, YOUR_CHAT_AGENT_ID, etc.) with your actual credentials 2. Verify the script tag is placed within the
<head>
tag 3. Check your browser console for any JavaScript errors 4. Confirm you're using a chat agent ID (not a voice agent ID) for the chat widget If you continue experiencing issues with
retell-widget-v2.js
, I'd recommend checking the [Retell Website Widget documentation]() directly to ensure you have the most current implementation details.
​ To learn more, see the sources I considered: [[1] Retell Website Widget](https://docs.retellai.com/deploy/chat-widget) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.