Configuration

To configure the `fw-agent-status` or `fw-live-helper` widget, you can use the following attributes:

chat_channel_id

string, required

The chat_channel_id attribute is used to specify the unique identifier for the chat channel. This identifier helps the widget to connect to the correct chat channel owned by business.

bypass_sa_availability

boolean, optional

The bypass_sa_availability attribute is a boolean value that determines whether the widget should bypass checking the availability of the sales agent. This attribute is usefull for development or testing on your page.

dismiss_after_conversation_ended

boolean, optional

The dismiss_after_conversation_ended attribute is a boolean value that specifies whether the widget should automatically dismiss itself after the conversation has ended.

Applying Attributes

You can apply these attributes in different ways:

1. Using Script Tag (for example, in the <head> section of your HTML):

<script src="/path/to/live-helper.js" fwparam_chat_channel_id="your_channel_id"></script>

2. Using Web Component (for example, in your HTML body):

<fw-live-helper
  chat_channel_id="your_channel_id"
></fw-live-helper>

3. Using URL Parameters (for testing purposes):

http://yourwebsite.com/?fwparam_chat_channel_id=your_channel_id

Last updated