📄️ Hide
The hide action is used to conceal the widget from the page. Unlike the destroy action it does not remove the iframe from the page or clean up any resources. This is useful when you need to temporarily hide the widget without losing context. Once a widget has been hidden you can call the show action to reveal it again.
📄️ Show
The show action is used to reveal the widget after it has been hidden using the hide action or display the widget in a specific UI state.
📄️ Extend Tracking Parameters
The extendTrackingParameters action is used to add tracking parameters to be appended to any outgoing links within the widget. This can be used to for better user tracking.
📄️ Extend Context
The extendContext action is used to add any additional context, information, or metadata to be used within the widget. This can be used to influence user flows, user logic, and more.
📄️ Initiate Chat
The initiateChat action is used to initiate a chat session with an optional pre-filled message. This opens the support window and sends the provided message to start the conversation.
📄️ Register for Push Notifications
The registerForPushNotifications action registers a device push token with the chat service so the user can receive push notifications related to their session (for example, when there are new messages). The widget forwards the token to the server when the chat connection is available.