Skip to content

Chatbot Widget

Embedding the Chatbot Widget

To embed the chatbot widget into your website, use the following code snippet:

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

Parameters

The chatbot widget accepts the following parameters:

  • apiKey - Required - The API key provided by Funnel Leasing.
  • communityId - Required - The ID of the community the chatbot is associated with.
  • timeout - Optional - The timeout value (in milliseconds) before the chatbot deactivates due to inactivity.
  • leadSourceId - Optional - ID representing the lead source for tracking.
  • defaultPaddingRight - Optional - Default padding on the right side.
  • defaultPaddingBottom - Optional - Default padding at the bottom.
  • reactivePaddingRight - Optional - Padding adjustment for responsive design on the right.
  • reactivePaddingBottom - Optional - Padding adjustment for responsive design at the bottom.

Chatbot Widget Code Generator