imageSingle Image Prompt

This widget has a fairly dramatic difference in presentation between mobile and desktop and is currently only used by a small number of merchants.

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

single_image_prompt


Widget Suggestion Clicked

This trigger occurs when the user clicks on one of the suggestion buttons.

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 below the suggestion buttons. It does NOT currently emit any analytics events.

None — not currently tracked.


Widget Hovered

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

None — not currently tracked.


Widget Suggestions 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