commentFloating Chat

The Floating Chat window is where Customers interact with the Sales agent by asking questions and receiving responses.

Analytics Event Triggers

Widget Displayed

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.

None — not currently tracked.


Widget Hidden

This trigger occurs when the floating chat is closed. The following methods all trigger this same event with no indication as to how the window was dismissed:

  • Clicking the "X" to close it on desktop

  • Clicking outside of the floating chat on desktop

  • Swiping the chat window down on mobile

Event: [Spiffy] Chat Component Collapsed

Property
Value

(no additional properties)


Widget Non-Navigation Item Clicked

This trigger occurs when a non-navigation item is clicked within the floating chat. The only current example is the Product Review card.

Event: [Spiffy] Product Review Card Clicked

Property
Value

product_review_card_clicked.metadata

{ "review": <review text>, "reviewer": <reviewer>, "title": null, "stars": <stars> }


Widget Suggestion Clicked

This trigger occurs when a customer clicks on one of the Suggestions that appear in response to the question asked by the model. There are two different groups, "Answers" and "Suggestions" that both emit the same event today.

Event: [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

{ json with message content details }


User Query Submitted

This trigger occurs when a customer types a message into the user query box and submits it.

Event: [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": <message>, "created_at": <current_time>, "user_typed": true }


Widget Navigation Item Clicked

This trigger occurs when a clickable element that leads to a page navigation is clicked. Example clickable elements are Product Cards, Product Links and Article Links. It is not currently tracked in analytics events.

None — not currently tracked.


Widget Expanded

This trigger occurs when the partial chat view is expanded to a full screen view. It is only applicable to mobile and is not currently tracked by any analytics events.

None — not currently tracked.


None — not currently tracked.

Last updated