Skip to main content

Legacy Chatbot Widget

Documentation for the legacy chatbot widget (deprecated)

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

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 InstallationHTML
<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>

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

Optional settings

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