New chat window events in Embed2

We’ve added new events to the subscribeEvent action in Embed2 to help you better track user interactions within the chat window:

Event keyTriggerPayload
ada:minimize_chatTriggered when a user minimizes the chat window{ conversation_id: string, is_engaged: boolean }
ada:close_chatTriggered when a user closes the chat window{ conversation_id: string, is_engaged: boolean }

If you’re using the Embed2 script, these events are immediately available. For the NPM package, update to the latest version (1.9.0) to start using them.