eyeChat 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

Property
Value

chat_component_visible.chat_component

embedded_widget


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

Property
Value

chat_component_expanded.message_metadata

{ "trigger_location": "chat_preview" }


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

Property
Value

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

Property
Value

chat_component_expanded.message_metadata

{ "trigger_location": "chat_preview" }

Last updated