Legacy Chatbot Widget
Legacy Chatbot Widget
Documentation for the legacy chatbot widget (deprecated)
Legacy Widget - Deprecated
This section contains documentation for the legacy chatbot widget that was part of Funnel Leasing's earlier widget system. While this widget may still be functional for existing integrations, it is considered deprecated and will not receive new features or updates.
Before embedding the Legacy Chatbot widget, ensure you have:
- Funnel Leasing API Key - The API key provided by Funnel Leasing
- Community ID - The ID of the community the chatbot is associated with
- Website access - Ability to add script tags to your website's HTML
To embed the Legacy Chatbot widget on your website, add the following code to your HTML page. The script should be placed in the <head> section or just before the closing </body> tag:
<script src="https://chatbot.funnelleasing.com/funnel-chat.min.js"></script><script> window.addEventListener("load", function () { FunnelChat.initialize({ apiKey: "YOUR_FUNNEL_API_KEY", communityId: "YOUR_COMMUNITY_ID", timeout: 5000, leadSourceId: 1234, defaultPaddingRight: "10px", defaultPaddingBottom: "10px", reactivePaddingRight: "20px", reactivePaddingBottom: "40px", }); });</script>YOUR_FUNNEL_API_KEY with your actual API key and YOUR_COMMUNITY_ID with your Community ID.The Legacy Chatbot widget accepts the following configuration parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey | string | Yes | โ | The API key provided by Funnel Leasing |
communityId | string | Yes | โ | The ID of the community the chatbot is associated with |
timeout | number | No | โ | The timeout value (in milliseconds) before the chatbot deactivates due to inactivity |
leadSourceId | number | No | โ | ID representing the lead source for tracking |
defaultPaddingRight | string | No | โ | Default padding on the right side (e.g., "10px") |
defaultPaddingBottom | string | No | โ | Default padding at the bottom (e.g., "10px") |
reactivePaddingRight | string | No | โ | Padding adjustment for responsive design on the right (e.g., "20px") |
reactivePaddingBottom | string | No | โ | Padding adjustment for responsive design at the bottom (e.g., "40px") |
Use the code generator below to create custom legacy chatbot widget code with your specific configuration:
Legacy Chatbot Widget Code Generator
If you're currently using the legacy chatbot, we recommend migrating to the modern Chatbot Widget. The new widget provides:
- Better AI capabilities - Improved natural language understanding and response quality
- Enhanced features - Better integration with Funnel Leasing's AI systems
- Improved performance - Faster load times and better responsiveness
- Active support - Ongoing updates and feature additions
- Better documentation - Comprehensive guides and examples
To migrate:
- Replace the legacy script source with the modern chatbot script
- Update the initialization code to use
window.FunnelGenAIChat.initialize()instead ofFunnelChat.initialize() - Review the Chatbot Widget documentation for the updated parameter list
- Test the new widget on your website to ensure it works correctly
If you have questions about migrating from the legacy chatbot or need assistance with the new chatbot widget, please contact:
- Customer Support: support@funnelleasing.com
- Your Account Representative: Reach out to your assigned Funnel Leasing account representative