Production-ready CDN distribution for the LutinGenie widget
v0.4.0Using our own widget on our marketing site? Excellent choice!
Copy this code into your marketing site's HTML (replace YOUR_BUSINESS_ID):
<!-- LutinGenie Widget Integration -->
<link rel="stylesheet" href="https://lutingenie.pages.dev/style.css">
<script src="https://lutingenie.pages.dev/lutingenie-widget.js"></script>
<script>
// Initialize LutinGenie widget
LutinGenie.init({
businessId: 'YOUR_BUSINESS_ID',
// Optional: Customize for marketing site
theme: 'light',
position: 'bottom-right'
});
</script>
Always use these URLs for production websites:
<!-- CSS (load in <head>) -->
<link rel="stylesheet" href="https://lutingenie.pages.dev/style.css">
<!-- JavaScript (load before </body>) -->
<script src="https://lutingenie.pages.dev/lutingenie-widget.js"></script>
LutinGenie.init({
businessId: 'your-business-id', // Required: Your LutinGenie business ID
theme: 'light', // Optional: 'light' or 'dark'
position: 'bottom-right', // Optional: widget position
autoLoad: true, // Optional: auto-initialize
customStyles: {}, // Optional: custom CSS overrides
onReady: function() { // Optional: callback when ready
console.log('LutinGenie loaded!');
}
});
Current version: 0.4.0
Built: 2025-11-23
The CDN automatically updates when we push changes. Your integration will always use the latest stable version.
npm install: Coming soon! We're working on making LutinGenie available via npm for easier integration into build processes.
React/Vue components: Framework-specific components are also in development.
© 2024 LutinGenie | CDN v0.4.0 | Powered by Cloudflare Pages
🐕 This widget is proudly used on our own marketing site!
Add this to your website:
<script src="https://cdn.lutingenie.com/lutingenie-widget.js"></script>
<script>
LutinGenie.init({
apiKey: "your-api-key-here"
});
</script>
<link rel="stylesheet" href="https://cdn.lutingenie.com/style.css">
<script src="https://cdn.lutingenie.com/lutingenie-widget.js"></script>