id-cardImage 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

Property
Value

chat_component_visible.chat_component

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

Property
Value

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

Property
Value

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 }


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

Property
Value

chat_component_expanded.message_metadata

{ "trigger_location": "prompt_card" }


Widget Hovered

This trigger occurs when the user hovers their mouse over the widget. Not currently emitting any events.

None — not currently tracked.


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.

Last updated