Skip to main content

Overview

The Educator Dashboard provides a comprehensive view of your teaching performance, revenue, and student engagement. Access it at /educator/dashboard.

Dashboard Layout

The dashboard is organized into three main sections:
1

Stat Cards

High-level metrics showing total enrollments, courses, and earnings
2

Latest Enrollments

Table of recent student registrations across all courses
3

Quiz Insights

Student performance data on chapter quizzes (if available)

Key Metrics

Stat Cards Overview

Three primary metrics are displayed at the top:

Total Enrollments

Count of all students enrolled across all your courses

Published Courses

Number of courses you’ve created and published

Total Earnings

Cumulative revenue from all completed course purchases (₹)

Data Fetching

Metrics are fetched from the backend:

Backend Calculation

The server calculates these metrics:
Only completed purchases count toward earnings. Pending or failed transactions are excluded.

Total Enrollments

What It Shows

The total number of unique student enrollments across all your courses.
This counts all enrollment records, where each student-course pair is one enrollment.

Display Component

Published Courses

What It Shows

The count of courses you’ve created, regardless of enrollment status.
This includes courses with zero enrollments. To see detailed course info, visit the “My Courses” page.

Total Earnings

Revenue Calculation

Earnings are calculated from completed purchases only:

Purchase Model

Price Calculation per Purchase

Display Format

Latest Enrollments Table

A detailed view of student enrollments across all courses:

Table Structure

array
Array of enrollment objects

Table Columns

Implementation

Empty State

When no students have enrolled:

Quiz Insights

Quiz insights only appear if you’ve added quizzes to your course chapters and students have taken them.

What It Shows

Student performance data across chapter quizzes:
  • Average score percentage
  • Number of quiz attempts
  • Performance distribution (Needs Review, On Track, Mastered)

Data Fetching

Insight Structure

Performance Categories

Students struggling with the material
  • Score: Below 60%
  • Color: Red
  • Action: Consider reviewing this chapter content
  • May need additional resources or clarification

Visual Representation

Quiz insights display a stacked bar chart:
Color Scheme:

Example Quiz Insight Display

Loading States

While data is being fetched, skeleton loaders are displayed:
The loading state ensures a smooth user experience while data is being retrieved from the backend.

Responsive Design

The dashboard adapts to different screen sizes:

Desktop (≥768px)

  • All columns visible
  • Stat cards in horizontal row
  • Full table with all columns

Tablet (640px-767px)

  • Sequential numbers hidden
  • Stat cards wrap to 2 columns
  • Table scrolls horizontally if needed

Mobile (below 640px)

  • Stat cards stack vertically
  • Simplified table (student + course only)
  • Condensed quiz insights

Real-Time Updates

When Data Refreshes

Dashboard data is fetched:
  1. On page load - useEffect hook triggers fetch
  2. When educator status changes - Auth context update
  3. Manual refresh - Browser page reload
The dashboard does not auto-refresh. Students enrolling while you’re viewing the page won’t appear until you reload.

Adding Auto-Refresh (Optional)

To implement auto-refresh:

API Reference

Get Dashboard Data

Get Quiz Insights

Interpreting Your Metrics

Possible reasons:
  • Course pricing too high
  • Weak course description or thumbnail
  • Limited marketing/visibility
  • Competitive niche
Actions to take:
  • Review and improve course thumbnail
  • Add free preview lectures
  • Offer limited-time discount
  • Share on social media
If quiz insights show many “Needs Review” students:Possible reasons:
  • Content too advanced
  • Insufficient explanation
  • Missing prerequisites
  • Quiz difficulty mismatch
Actions to take:
  • Add supplementary materials
  • Create additional introductory lectures
  • Clarify prerequisites in description
  • Review quiz question difficulty
If most students are “Mastered”:Good signs:
  • Clear explanations
  • Well-paced content
  • Good course structure
Next steps:
  • Consider advanced follow-up course
  • Add bonus/challenge content
  • Request student testimonials

Best Practices

Check Daily

Monitor your dashboard regularly to track growth trends and student engagement patterns

Analyze Patterns

Look for enrollment spikes after marketing efforts or course updates

Act on Insights

Use quiz performance data to improve specific chapters or add supplementary content

Celebrate Milestones

Acknowledge achievements like first 100 students or ₹1,00,000 earnings

Next Steps

View Student Details

See complete list of enrolled students with purchase dates

Manage Courses

Update course content based on quiz insights