Chat Preview
This widget displays a typewriter text animation displaying a number of prompting questions. It also displays the model-generated "Suggestions" as buttons and has a fake text input box at the bottom.
Analytics Event Triggers
Widget Rendered
This trigger occurs when the widget is rendered on the screen. It will still trigger if the widget is covered up by other content or is hidden through the use of opacity or other visual means.
Event: [Spiffy] Chat Component Visible
chat_component_visible.chat_component
embedded_widget
These events are part of the V3 Envive event schema.
Event: [Envive] Widget Rendered
context.page_type
<page_type>
context.page_id
<page_id>
trigger.interaction_id
<interaction_id>
trigger.widget
chat_preview
Widget Clicked
This trigger is fired when the user clicks on the widget anywhere except the Suggestions. The title, the typewriter text and the fake input box all are clickable and produce the same event. The only space that is not clickable is a margin surrounding the Suggestions.
Event: [Spiffy] Chat Component Expanded
chat_component_expanded.message_metadata
{ "trigger_location": "chat_preview" }
These events are part of the V3 Envive event schema.
Two events fire on widget click.
Event 1: [Envive] Widget Interaction
context.page_type
<page_type>
context.page_id
<page_id>
trigger.interaction_id
<interaction_id>
trigger.widget
chat_preview
trigger.widget_interaction
query_input_clicked
Event 2: [Envive] Widget Rendered (for the floating_chat that appears)
context.page_type
<page_type>
context.page_id
<page_id>
trigger.widget
floating_chat
Widget Suggestion Clicked
The trigger is fired when the user clicks on one of the model-generated Suggestions.
Two events fire on suggestion click.
Event 1: [Spiffy] Chat Suggestion Clicked
chat_suggestion_clicked.message_id
<message_id>
chat_suggestion_clicked.message_role
user
chat_suggestion_clicked.message_type
suggestion_clicked
chat_suggestion_clicked.message_metadata
{ "content": <suggestion_text>, "created_at": <current_time>, "category": "no_context", "is_answer": false, "display_location": "chat_preview" }
Event 2: [Spiffy] Chat Component Expanded
chat_component_expanded.message_metadata
{ "trigger_location": "chat_preview" }
These events are part of the V3 Envive event schema.
Three events fire on suggestion click.
Event 1: [Envive] Widget Interaction
context.page_type
<page_type>
context.page_id
<page_id>
trigger.interaction_id
<interaction_id>
trigger.widget
chat_preview
trigger.widget_interaction
suggestion_clicked
trigger.widget_interaction_data
{ suggestion_id: <suggestion_id> }
Event 2: [Envive] Chat Request
context.page_type
<page_type>
context.page_id
<page_id>
trigger.widget
chat_preview
trigger.interaction_id
<interaction_id>
chat.request_text
<request_text>
chat.suggestion_id
<suggestion_id>
chat.user_typed
false
Event 3: [Envive] Widget Rendered (for the floating_chat that appears)
context.page_type
<page_type>
context.page_id
<page_id>
trigger.interaction_id
<interaction_id>
trigger.widget
floating_chat
Last updated