Events
Complete reference for all events emitted by the Alhena Website SDK, organized by category with callback signatures and examples.
Subscribing to Events
window.gleenWidget.on('event_name', function(data) {
// Handle the event
console.log('Event fired:', data);
});Quick Reference
Event
Category
Description
Widget Events
widget:loaded
widget:opened
widget:closed
Ticket/Conversation Events
ticket:message_submitted
Property
Type
Description
ticket:bot_response_finished
Property
Type
Description
ticket:agent_handoff
Property
Type
Description
ticket:agent_handoff_initiated
ticket:link_clicked
Property
Type
Description
ticket:input_focused
ticket:attachment_added
Property
Type
Description
E-commerce Events
product:added_to_cart
Property
Type
Description
products:added_to_cart
Property
Type
Description
Property
Type
Description
product:page_opened
Property
Type
Description
product:displayed
Property
Type
Description
FAQ Events
faqs:question_clicked
faqs:message_submitted
faqs:bot_response_finished
Experiment Events
experiment:loaded
Icebreaker Events
icebreaker_question:postback
Property
Type
Description
Complete Example
Related Resources
Last updated