Chatleh logo markChatleh

Chat Widget Integration

Add a floating chat button to your website that expands into an interactive chat interface when clicked.

Installation

Add this script tag to your website's HTML just before the closing </body> tag:

<script src="https://chatleh.com/api/e?uid=YOUR_UID" async></script>

Replace "YOUR_UID" with your chatbot's unique identifier from the dashboard

Features

  • ✨ Lightweight and fast-loading
  • 📱 Responsive design for all devices
  • 🎨 Customizable appearance
  • 🌐 Multilingual support
  • 📝 Lead capture forms
  • 📊 Analytics tracking

Widget Behavior

  • Appears as a floating button in the corner of your website
  • Expands into a chat interface when clicked
  • Maintains chat history during the session
  • Collects visitor contact information when needed
  • Works seamlessly across page navigation

Testing

Verification Steps:

  • Test on different devices and browsers
  • Verify chat button positioning
  • Check form submission functionality
  • Confirm analytics are being tracked
  • Test multilingual responses if enabled

For advanced customization options like changing the widget's appearance or behavior, see the customization guide.