> ## Documentation Index
> Fetch the complete documentation index at: https://docs.skillfactory.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Admin Analytics

> Metrics and reports on users, courses, quizzes, and engagement

## Platform analytics

Track your platform's performance metrics in real time. The admin dashboard provides a complete overview of users, courses, quizzes, and engagement.

<Note>
  Only users with the owner or admin role can access admin metrics.
</Note>

## Dashboard

The metrics dashboard is organized into 4 tabs:

<Tabs>
  <Tab title="Overview">
    Main platform metrics:

    * **Total students** - Registered students and growth
    * **Total instructors** - Active instructors
    * **Published courses** - Number of available courses
    * **Completion rate** - Percentage of enrollments completed

    Each metric includes a trend comparing the last 30 days with the previous period (up or down arrow).
  </Tab>

  <Tab title="Users">
    Member breakdown:

    * Distribution by role (students, instructors, admins)
    * User growth over time
    * New sign-ups in the last 30 days
    * Active users
  </Tab>

  <Tab title="Courses">
    Course metrics:

    * Distribution by category
    * Enrollment and completion rates
    * Most and least popular courses
    * Engagement ranking
  </Tab>

  <Tab title="Quizzes">
    Assessment performance:

    * Total completed attempts
    * Score averages
    * Most taken quizzes
    * Performance by quiz
  </Tab>
</Tabs>

## Key metrics

<CardGroup cols={3}>
  <Card title="Total students" icon="users">
    Count of registered students with growth trend.
  </Card>

  <Card title="Published courses" icon="book">
    Number of courses available on the platform.
  </Card>

  <Card title="Completion rate" icon="percent">
    Percentage of enrollments that reached 100%.
  </Card>

  <Card title="New users (30d)" icon="user-plus">
    Sign-ups in the last 30 days.
  </Card>

  <Card title="Total hours" icon="clock">
    Sum of all lesson durations in hours.
  </Card>

  <Card title="Quizzes taken" icon="file-pen">
    Total completed quiz attempts.
  </Card>
</CardGroup>

## Growth chart

The dashboard includes a bar chart showing cumulative student growth over the last 6 months, allowing you to visualize the platform's growth trend.

## Data refresh

Metrics are calculated using materialized views in the database for optimized performance:

* **Automatic refresh** - Every hour via cron job
* **Manual refresh** - Click the "Refresh" button to recalculate immediately
* **Fallback** - If the materialized view is not available, the system runs direct database queries

<Info>
  The timestamp of the last refresh is displayed on the dashboard so you know how recent the data is.
</Info>

## Advanced analytics (addon)

For deeper analysis, the Analytics addon offers additional features such as:

* At-risk student detection (critical, high, and medium levels)
* Engagement metrics over time
* Retention rate (day 1, 7, and 30)
* Conversion funnel
* Peak activity hours
* Weekly activity distribution
* Course distribution by category

<Card title="Analytics Addon" icon="chart-line" href="/en/addons/analytics">
  See all features of the Advanced Analytics addon
</Card>

## Next steps

<CardGroup cols={2}>
  <Card title="Student Monitoring" icon="user-check" href="/en/admin/student-monitoring">
    Identify at-risk students
  </Card>

  <Card title="Activity Log" icon="list" href="/en/admin/activity-log">
    Complete timeline of platform actions
  </Card>

  <Card title="Analytics Addon" icon="chart-line" href="/en/addons/analytics">
    Advanced engagement and retention analytics
  </Card>

  <Card title="Member management" icon="users" href="/en/admin/member-management">
    Manage platform users
  </Card>
</CardGroup>
