Overview
The Analytics Dashboard (/analytics) provides comprehensive insights into your learning journey. Track course progress, monitor time spent across different pages, view quiz results, and access completion certificates—all in one centralized location.
Dashboard Overview
The dashboard features a tabbed interface with three main sections:
Activity Tab
Time tracking and usage analytics
My Courses Tab
Enrolled courses with progress bars
Quizzes Tab
Quiz history and performance
Activity Tab
The Activity tab displays detailed time-tracking analytics:Summary Cards
Three key metrics displayed prominently:
Time by Topic
Horizontal bar chart showing duration per page/topic:- Player
- AI Chat
- Quiz
- Explore
- Roadmap
Icon: ▶️Color:
bg-teal-500Tracks video watching timeLast 7 Days Chart
Vertical bar chart showing daily activity:
Chart Features:
- 7 bars - One per day (Mon-Sun)
- Height - Proportional to time spent
- Color - Today highlighted in teal, past days lighter
- Labels - Day abbreviation below each bar
- Tooltips - Hover shows exact time
- Weekly total - Sum displayed below chart
Course Breakdown
Detailed per-course and per-chapter analytics:
Course-level Metrics:
- Course thumbnail (clickable → player)
- Course title
- Total watch time
- Number of learning sessions
- Total quiz time across all chapters
- Chapter title
- Quiz duration for that chapter
- Number of quiz attempts
- Horizontal progress bar
Empty State
When no activity exists:My Courses Tab
Displays all enrolled courses with detailed progress tracking:Summary Cards
Enrolled
Total number of enrolled courses
In Progress
Courses with partial completion
Completed
Courses with 100% completion
Course Cards
Each enrolled course displayed as a card:
Card Contents:
- Thumbnail - 16:9 aspect ratio course image
- Course Title - Truncated to 2 lines
- Progress Information:
- “X / Y lectures” label
- Percentage (e.g., “67%”)
- Animated progress bar
- Course Duration - Total length formatted
- Action Buttons:
- “Done” badge if 100% complete
- “Continue” or “Review” button
Loading State
While fetching progress data:Empty State
When no courses enrolled:Quizzes Tab
Comprehensive quiz history and performance tracking:Quiz Result Cards
Each quiz attempt displayed chronologically:
Card Structure:
Performance Groups
Quizzes categorized by performance level:- Mastered
- On Track
- Needs Review
76-100% correctBadge: Green with trophy icon 🏆Indicates strong understanding
Quiz Statistics
Aggregate metrics at top of tab:Empty State
When no quizzes taken:Certificate Access
Students can download completion certificates from multiple locations:Certificate in Player
When course reaches 100%, certificate button appears in player sidebar:Certificate API
Responsive Design
Mobile Optimizations
- Summary Cards
- Course Grid
- Charts
- Tables
Stack vertically on mobile:
Performance Considerations
Progressive Data Loading
Progressive Data Loading
Each tab fetches its data only when activated:
Parallel Progress Fetching
Parallel Progress Fetching
Course progress data fetched in parallel:
Memoized Calculations
Memoized Calculations
Expensive calculations cached:
Authentication Guard
Dashboard requires authentication:Related Features
- Learning Experience - Course player and progress
- AI Assistant - Get learning support
- Enrolling Courses - Start new courses