Skip to content

Instrument Pendo Track Events#10

Open
lci-novus-dev[bot] wants to merge 1 commit into
mainfrom
pendo-track-events-55op5
Open

Instrument Pendo Track Events#10
lci-novus-dev[bot] wants to merge 1 commit into
mainfrom
pendo-track-events-55op5

Conversation

@lci-novus-dev
Copy link
Copy Markdown

@lci-novus-dev lci-novus-dev Bot commented Apr 26, 2026

Summary

Instruments Pendo Track Events across the OKR Manager application to capture key user interactions. Events 1-17 were already instrumented; this PR adds the 4 missing events (18-21): objective deletion, AI chat message sent, AI chat API key configuration, and user registration failure.

Changes

  • Added objective_deleted track event in ObjectiveCard.tsx handleDelete handler, capturing objective level, quarter, key result count, progress status, and child alignment info
  • Added ai_chat_message_sent track event in ChatWidget.tsx after successful AI response, capturing message length, conversation count, quarter context, objectives count, response length, and first-message flag
  • Added ai_chat_api_key_configured track event in ChatWidget.tsx saveKey function, capturing whether existing messages were present
  • Added user_registration_failed track event in Register.tsx error branch, capturing the error reason

Notes

  • All 21 specified track events are now instrumented across the codebase
  • Events 1-17 were already present in the code prior to this PR
  • All events are client-side using pendo.track() since all instrumented files are React components
  • The okr_exported event in Dashboard.tsx uses a window.pendo guard pattern while other events call pendo.track() directly — this is pre-existing and was not changed

Generated by Novus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants