Description
Create comprehensive content performance metrics to help creators understand how their courses and books are performing. Track views, user engagement, and completion rates to identify high-performing content and areas for improvement.
Acceptance Criteria
- Track view counts for each course and book
- Calculate engagement metrics (time spent, interaction rate)
- Monitor completion rates for courses
- Provide comparative analytics across all content
Files to Create
src/routes/analytics/content-performance.ts - Content performance endpoints
src/services/analytics/content-metrics-service.ts - Content metrics calculation
src/utils/analytics/engagement-calculator.ts - Engagement metric utilities
Description
Create comprehensive content performance metrics to help creators understand how their courses and books are performing. Track views, user engagement, and completion rates to identify high-performing content and areas for improvement.
Acceptance Criteria
Files to Create
src/routes/analytics/content-performance.ts- Content performance endpointssrc/services/analytics/content-metrics-service.ts- Content metrics calculationsrc/utils/analytics/engagement-calculator.ts- Engagement metric utilities