Skip to content

feat(analytics): Add GA tracking for typing practice feature#901

Merged
yoichiro merged 1 commit intomainfrom
feature/ga-tracking-for-typing-practice
Jan 19, 2026
Merged

feat(analytics): Add GA tracking for typing practice feature#901
yoichiro merged 1 commit intomainfrom
feature/ga-tracking-for-typing-practice

Conversation

@yoichiro
Copy link
Collaborator

This commit implements Google Analytics tracking for the typing practice feature to monitor user engagement and interaction.

  • Extends IActionName and IActionOptions in GoogleAnalytics.ts to support new practice-related events (e.g., 'practice/start', 'practice/category_change') and parameters.
  • Updates TypingPractice.container.ts to pass vendorId and productId to the component, enabling keyboard-specific tracking.
  • Implements sendEventToGoogleAnalytics calls within the TypingPractice.tsx component to dispatch events for key user actions, such as starting a session, changing a category, resetting, and completing a practice set.

This commit implements Google Analytics tracking for the typing practice feature to monitor user engagement and interaction.

- Extends  and  in  to support new practice-related events (e.g., 'practice/start', 'practice/category_change') and parameters.
- Updates  to pass  and  to the component, enabling keyboard-specific tracking.
- Implements  calls within the  component to dispatch events for key user actions, such as starting a session, changing a category, resetting, and completing a practice set.
@yoichiro yoichiro merged commit 94483b4 into main Jan 19, 2026
1 check passed
@yoichiro yoichiro deleted the feature/ga-tracking-for-typing-practice branch January 19, 2026 02:29
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.

1 participant