Install Chatlyra on Any Website

Chatlyra can be installed on any website or web application that supports JavaScript. It requires no framework-specific setup and works universally across all modern web environments.

⚡ Quick Install (1-Line Setup)

Add the following script to your website to activate Chatlyra instantly:

<script src="https://chatlyra.com/scripts/widget.js"></script>
    

✅ Recommended Method (Best Performance)

Place the script just before the closing body tag to ensure optimal loading performance.

<script src="https://chatlyra.com/scripts/widget.js"></script>
</body>
    

🚀 Lazy Load Method (SEO Optimized)

Load Chatlyra after page load to improve Core Web Vitals and avoid render blocking.

window.addEventListener("load", function () {
  setTimeout(function () {
    var s = document.createElement("script");
    s.src = "https://chatlyra.com/scripts/widget.js";
    s.async = true;
    document.body.appendChild(s);
  }, 2000);
});

🌐 Works on Any Platform

Chatlyra works on any website that allows JavaScript execution, including:

  • ✔ Static HTML websites
  • ✔ CMS platforms
  • ✔ Frontend frameworks
  • ✔ Server-rendered applications
  • ✔ Single-page applications (SPAs)

✔️ Verify Installation

  • Open your website in a browser
  • Check that the Chatlyra widget appears
  • Send a test message to confirm functionality

⚡ Performance Best Practices

  • Use lazy loading for best Core Web Vitals scores
  • Avoid placing scripts in the <head> tag
  • Load Chatlyra after main content rendering