Instrument Pendo Track Events#114
Open
novus-by-pendo[bot] wants to merge 1 commit into
Open
Conversation
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.
Summary
Adds Pendo Track Event instrumentation across 6 files to capture 8 key user interactions: sign-up, login, profile update, chat message sent, smart command usage, chat creation, chat deletion, and chat search. All events use client-side
window.pendo?.track()calls with relevant metadata properties for segmentation and analytics.Changes
user_signed_uptrack event in signUp.tsx onSuccess callback with oauthProvider, hasFirstName, and hasEmail propertiesuser_logged_intrack event in login.tsx onSuccess callback with oauthProvider propertyuser_profile_updatedtrack event in userDetails.tsx onSuccess callback with updatedFirstName, updatedLastName, updatedEmail, and isInitialProfileSetup propertieschat_message_senttrack event in chat.tsx sendMessageMutation onSuccess with chatId, isCommand, hasUrl, messageLength, and currentPageUrl propertiessmart_command_usedtrack event in chat.tsx handleMessageSubmit when a slash command is selected, with commandName, commandValue, and searchQuery propertieschat_createdtrack event in chatList.tsx createNewChatMutation onSuccess with totalChatCount and chatId propertieschat_deletedtrack event in chatListItem.tsx deleteChatMutation onSuccess with remainingChatCount, deletedChatId, and wasActiveChat propertieschat_search_executedtrack event in chatList.tsx search useEffect with searchTerm, resultsCount, and totalChats propertiesNotes
window.pendo?.track()) to safely handle cases where the Pendo agent may not be loadedGenerated by Novus.