Skip to main content

Legacy Chatbot Widget

Legacy Chatbot Widget

Documentation for the legacy chatbot widget (deprecated)

โš ๏ธ

Legacy Widget - Deprecated

This chatbot widget is part of the legacy widget system and is no longer actively maintained. For new integrations, we strongly recommend using the modern Chatbot Widget which provides better AI capabilities, improved performance, and enhanced features.

Overview

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.

Prerequisites

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
๐Ÿ’ก
Contact your Funnel Leasing account representative or support team at support@funnelleasing.com to obtain your API key and Community ID.

Installation

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:

Legacy Chatbot InstallationHTML200 ยท application/json
<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>
๐Ÿ“
Replace YOUR_FUNNEL_API_KEY with your actual API key and YOUR_COMMUNITY_ID with your Community ID.

Configuration

The Legacy Chatbot widget accepts the following configuration parameters:

ParameterTypeRequiredDefaultDescription
apiKeystringYesโ€”The API key provided by Funnel Leasing
communityIdstringYesโ€”The ID of the community the chatbot is associated with
timeoutnumberNoโ€”The timeout value (in milliseconds) before the chatbot deactivates due to inactivity
leadSourceIdnumberNoโ€”ID representing the lead source for tracking
defaultPaddingRightstringNoโ€”Default padding on the right side (e.g., "10px")
defaultPaddingBottomstringNoโ€”Default padding at the bottom (e.g., "10px")
reactivePaddingRightstringNoโ€”Padding adjustment for responsive design on the right (e.g., "20px")
reactivePaddingBottomstringNoโ€”Padding adjustment for responsive design at the bottom (e.g., "40px")

Legacy Chatbot Widget Code Generator

Use the code generator below to create custom legacy chatbot widget code with your specific configuration:

Legacy Chatbot Widget Code Generator

Migration to Modern Chatbot

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 of FunnelChat.initialize()
  • Review the Chatbot Widget documentation for the updated parameter list
  • Test the new widget on your website to ensure it works correctly

Support

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