Post Interaction Comparison Widget
This widget replaces both Social Proof and Chat Preview after the user has interacted with the model. It conditionally renders if the last turn from the model includes exactly 2 product cards and it assumes that it should compare them.
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 tricks.
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
post_interaction_comparison
Widget Suggestion Clicked
The trigger fires when the user clicks on one of the rendered suggestion buttons.
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
post_interaction_comparison
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
post_interaction_comparison
trigger.interaction_id
<interaction_id>
chat.request_text
<request_text>
chat.suggestion_id
<suggestion_id>
Event 3: [Envive] Widget Rendered (for the floating_chat that appears)
context.page_type
<page_type>
context.page_id
<page_id>
trigger.widget
floating_chat
trigger.interaction_id
<interaction_id>
Widget Clicked
This trigger fires when the user clicks anywhere in the widget except one of the suggestion buttons.
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
post_interaction_comparison
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
trigger.interaction_id
<interaction_id>
Widget Hovered
This trigger fires when the user hovers over the widget. It does not currently emit any analytics events.
None — not currently tracked.
These events are part of the V3 Envive event schema.
Event: [Envive] Widget Interaction
context.page_type
<page_type>
context.page_id
<page_id>
trigger.interaction_id
<interaction_id>
trigger.widget
post_interaction_comparison
trigger.widget_interaction
widget_hovered
Widget Text Link Clicked
This trigger fires when the user clicks on one of the text links embedded within the rendered text. It does not currently emit any analytics events.
None — not currently tracked.
These events are part of the V3 Envive event schema.
Event: [Envive] Widget Interaction
context.page_type
<page_type>
context.page_id
<page_id>
trigger.widget
post_interaction_comparison
trigger.interaction_id
<interaction_id>
trigger.widget_interaction
text_link_clicked
trigger.widget_interaction_data
{ url: <link_url> }
Last updated