Skip to content

Instrument Pendo Track Events#40

Open
novus-by-dhruv[bot] wants to merge 1 commit into
masterfrom
pendo-track-events-g60bx
Open

Instrument Pendo Track Events#40
novus-by-dhruv[bot] wants to merge 1 commit into
masterfrom
pendo-track-events-g60bx

Conversation

@novus-by-dhruv

Copy link
Copy Markdown

Summary

Adds Pendo Track Event instrumentation across 8 Angular components to capture 24 key user interactions including authentication flows, course/skill search, content creation, voting, and profile management. All events use client-side pendo.track() calls placed in success callbacks with relevant metadata properties for analytics segmentation.

Changes

  • Added user_registered, user_logged_in, and password_reset_requested track events to login.component.ts
  • Added email_verification_resent track event to verify-email.component.ts
  • Added course_search_executed and course_name_search_executed track events to homepage.component.ts
  • Added skill_search_executed track event to skill-search.component.ts
  • Added student_search_executed track event to search-student-by-name.component.ts
  • Added course_added track event to add-acourse.component.ts
  • Added course_pinned, course_unpinned, course_review_submitted, review_voted, faq_question_asked, faq_answer_submitted, course_content_uploaded, content_voted, and faq_answer_deleted track events to course-details.component.ts
  • Added review_deleted, content_deleted, skill_added_to_profile, skill_removed_from_profile, and notifications_cleared track events to myprofile.component.ts
  • Added new_skill_created track event to add-skill.component.ts
  • Added declare var pendo: any; to all 8 modified component files for TypeScript compatibility

Notes

  • All track events are client-side using the global pendo.track() API — requires the Pendo agent to be installed and initialized in the application
  • Vote events (review_voted, content_voted) capture three action types: 'new', 'reverse', and 'switch' to distinguish between fresh votes, vote removals, and vote direction changes
  • The notifications_cleared event captures the count before clearing so the notification volume is preserved in analytics
  • Search events fire on each autocomplete result set returned, not on debounced input — this matches the existing code's throttle behavior

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