Add Expert session summary with conversation quality signals#4758
Open
Add Expert session summary with conversation quality signals#4758
Conversation
Fire expert-session-summary when a conversation ends, capturing: - trigger: close, transfer-to-app, page-leave, or clear - duration_seconds: time modal was open - user_messages: total user messages in session - ai_responses_rich: guide/resource responses (high-value) - ai_responses_plain: chat responses (standard) Fires once per session (deduplicated). Covers all exit paths: modal close, transfer to app, page navigation, and conversation clear.
✅ Deploy Preview for flowforge-website ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
Author
|
@cstns @Steve-Mcl this one might need more work or thinking of we want this to be done well across website and app etc. Thought welcome! :) |
Contributor
|
lgtm at first glance. I'm don't understand the why or the how we're going track across website and app though |
Contributor
|
Agree with @cstns here. there is means of tracking the success since we wont know if this lead to a sign up or login! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
Fires an
expert-session-summaryevent once per Expert session, capturing the full conversation profile when the session ends.Event properties:
triggerclose,transfer-to-app,page-leave, orclearduration_secondsuser_messagesai_responses_richai_responses_plainpageAll exit paths covered:
Deduplicated — fires only once per session regardless of which exit path triggers first.
PostHog setup (Production):
Related Issue(s)
Findings from FlowFuse Expert tracking audit (internal research). Builds on #4755.
Checklist