---
title: Analytics
description: Video engagement metrics including views, watch time, completion rates, and traffic sources.
icon: material/chart-line
tags:
  - guide
  - admin
  - media
  - analytics
---

# Analytics

Track video engagement with GDPR-compliant analytics (IP hashing, 90-day retention).


![Media Analytics](../../../assets/images/screenshots/admin/media-analytics.png){ loading=lazy }

---

## Per-Video Metrics

Each video tracks:

- **View count** and unique viewers
- **Average watch time** and completion rate
- **Traffic sources** — direct, embedded, shared
- **Registered viewer activity** (when logged in)

---

## Global Dashboard

The analytics dashboard at `/app/media/analytics` provides:

- Aggregate view counts across all videos
- Top-performing content by views and completion rate
- Viewer trends over time
- Traffic source breakdown

---

## Tracking

Public endpoints record engagement:

- View initiation
- 10-second heartbeat intervals
- `navigator.sendBeacon` for reliable end-of-session reporting

---

## Admin Routes

- `/app/media/analytics` — global analytics dashboard
