Skip to content

Add Pendo track event instrumentation#119

Open
novus-by-pendo-dev[bot] wants to merge 1 commit into
mainfrom
novus/pendo-track-events
Open

Add Pendo track event instrumentation#119
novus-by-pendo-dev[bot] wants to merge 1 commit into
mainfrom
novus/pendo-track-events

Conversation

@novus-by-pendo-dev

Copy link
Copy Markdown

Summary

  • Adds 10 Pendo track events across the application to capture key user interactions
  • Auth events: user_signed_up, user_logged_in, user_logged_out — tracks OAuth provider used and login/signup conversions
  • Profile events: user_profile_updated — tracks which fields changed and whether it's initial profile setup
  • Chat events: chat_created, chat_deleted, chat_search_executed — tracks chat lifecycle and search usage with debouncing
  • Messaging events: message_sent, ai_response_received, command_used — tracks core AI interaction patterns including slash commands

Files changed

  • extension/shared/pages/signUp.tsxuser_signed_up event in signup mutation onSuccess
  • extension/shared/pages/login.tsxuser_logged_in event in login mutation onSuccess
  • extension/shared/components/layout/profileDropdown.tsxuser_logged_out event before session clear
  • extension/shared/pages/userDetails.tsxuser_profile_updated event in update mutation onSuccess
  • extension/shared/pages/chat.tsxmessage_sent, command_used, ai_response_received events
  • extension/shared/components/chat/chatList.tsxchat_created, chat_search_executed (debounced) events
  • extension/shared/components/chat/chatListItem.tsxchat_deleted event in delete mutation onSuccess

Test plan

  • Verify user_signed_up fires once after successful OAuth sign-up with correct provider metadata
  • Verify user_logged_in fires once after successful OAuth login
  • Verify user_logged_out fires before Pendo session is cleared
  • Verify user_profile_updated captures correct changed fields
  • Verify message_sent fires on each message submission with correct metadata
  • Verify command_used fires only when a slash command is used
  • Verify ai_response_received fires on successful AI response
  • Verify chat_created fires when clicking New Chat
  • Verify chat_deleted fires with correct remaining count
  • Verify chat_search_executed fires with 500ms debounce, not on every keystroke

Instruments 10 track events: user_signed_up, user_logged_in, user_logged_out,
user_profile_updated, message_sent, ai_response_received, chat_created,
chat_deleted, command_used, and chat_search_executed with relevant metadata
properties for analytics and segmentation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@novus-by-pendo

novus-by-pendo Bot commented Jun 4, 2026

Copy link
Copy Markdown

Novus updated 15 funnel steps, 1 track event. View details

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