Image Prompt Card
This widget is designed to fit as a card within the product grid rather than as a full row experience like most of our other widgets. It has a background image and has typewriter animation text on top of a double row of suggestion buttons.
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
image_prompt_card
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
image_prompt_card
Widget Suggestion Clicked
This trigger is fired when the user clicks on one of the suggestion buttons triggering its interaction.
Two events fire on suggestion click.
Event 1: [Spiffy] Prompt Card Clicked
prompt_card_clicked.message
{ "id": <message_id>, "role": "user", "createdAt": <current_time>, "type": "query_typed", "metadata": { "content": <suggestion_text> } }
Event 2: [Spiffy] Chat User Message Input
chat_user_message_input.message_id
<message_id>
chat_user_message_input.message_role
user
chat_user_message_input.message_type
query_typed
chat_user_message_input.message_metadata
{ "content": <text of button>, "created_at": <current_time>, "user_typed": false }
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
image_prompt_card
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
image_prompt_card
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.widget
floating_chat
Widget User Query Button Clicked
This trigger is fired when the user clicks on the User Query Button that appears below the suggestion buttons.
Event: [Spiffy] Chat Component Expanded
chat_component_expanded.message_metadata
{ "trigger_location": "prompt_card" }
These events are part of the V3 Envive event schema.
Two events fire on query button click.
Event 1: [Envive] Widget Interaction
context.page_type
<page_type>
context.page_id
<page_id>
trigger.interaction_id
<interaction_id>
trigger.widget
image_prompt_card
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 occurs when the user hovers their mouse over the widget. Not currently emitting any 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
image_prompt_card
trigger.widget_interaction
widget_hovered
Widget Suggestion Scrolled
This trigger occurs when the user scrolls the suggestion bar in the widget. Not currently emitting any 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
image_prompt_card
trigger.widget_interaction
suggestion_scrolled
Last updated