nishh_72802
09/22/2025, 7:33 PMAI Evy
09/22/2025, 7:33 PMAI Evy
09/22/2025, 7:33 PM<!-- ... -->) are not valid inside HTML attributes and may cause issues. Remove them.
Here is the correct script tag structure based on the official documentation:
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_AGENT_ID"
data-agent-version="YOUR_AGENT_VERSION"
data-widget="callback"
data-phone-number="YOUR_RETELL_PHONE_NUMBER"
data-title="Request a Call"
data-countries="US,CA,GB"
data-tc="<https://yourwebsite.com/terms%22>
data-color="#FFA07A"
data-recaptcha-key=""
></script>
Replace all placeholder values with your actual credentials and numbers. Double-check that your public key, agent ID, agent version, and phone number are correct and active in your Retell dashboard .AI Evy
09/22/2025, 7:33 PMAI Evy
09/22/2025, 7:33 PM