Skip to content

Add RUM events for Docs AI dashboard#35932

Merged
brett0000FF merged 2 commits intomasterfrom
brett.blue/docs-ai-dashboard-instrumentation
Apr 13, 2026
Merged

Add RUM events for Docs AI dashboard#35932
brett0000FF merged 2 commits intomasterfrom
brett.blue/docs-ai-dashboard-instrumentation

Conversation

@brett0000FF
Copy link
Copy Markdown
Contributor

@brett0000FF brett0000FF commented Apr 10, 2026

What does this PR do? What is the motivation?

Adds two new RUM events to the Docs AI conversational search chatbot to support more dashboard tracking adoption and engagement:

  1. Impression event (action: impression): fires once per page load when the chatbot UI renders, enabling "saw vs engaged" funnel analysis.
  2. Conversation close event (action: conversation_close): fires when a user closes the chat after sending messages, capturing messages_sent and responses_received for conversation depth metrics.

These events complement the existing instrumentation (open, feedback, copy, source clicks, response latency) to provide the full picture for reporting.

Merge instructions

Merge readiness:

  • Ready for merge

Additional notes

Existing events already cover thumbs up/down counts, entry points, source clicks, copy actions, and response latency. These two new events fill the gaps for impression tracking and session-level engagement.

Add impression and conversation close events to enable
reporting on chatbot adoption and engagement metrics.
@github-actions github-actions bot added the Architecture Everything related to the Doc backend label Apr 10, 2026
@brett0000FF brett0000FF changed the title Add RUM events for Docs AI leadership dashboard Add RUM events for Docs AI dashboard Apr 10, 2026
The keyboard path in instantsearch.js was missing a source,
defaulting to entry_button. Align with the click path.
@brett0000FF brett0000FF marked this pull request as ready for review April 13, 2026 15:00
@brett0000FF brett0000FF requested a review from a team as a code owner April 13, 2026 15:00
@brett0000FF brett0000FF merged commit 50f4523 into master Apr 13, 2026
19 checks passed
@brett0000FF brett0000FF deleted the brett.blue/docs-ai-dashboard-instrumentation branch April 13, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Architecture Everything related to the Doc backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants