28 lines
995 B
Markdown
28 lines
995 B
Markdown
|
|
# View Organization Usage Analytics
|
||
|
|
|
||
|
|
**ID:** ORG-005
|
||
|
|
**Priority:** Medium
|
||
|
|
**Status:** Planned
|
||
|
|
|
||
|
|
## User Story
|
||
|
|
As an organization owner, I want to view analytics about how my organization uses the identity platform so that I can understand adoption and identify potential issues.
|
||
|
|
|
||
|
|
## Acceptance Criteria
|
||
|
|
- [ ] Dashboard showing key metrics (active users, logins, registrations)
|
||
|
|
- [ ] Time-series charts for login activity
|
||
|
|
- [ ] Most active users ranking
|
||
|
|
- [ ] Failed login attempts summary
|
||
|
|
- [ ] Authentication method breakdown (password, email link, 2FA)
|
||
|
|
- [ ] Date range selector for historical data
|
||
|
|
- [ ] Export analytics data (CSV, PDF)
|
||
|
|
|
||
|
|
## Technical Notes
|
||
|
|
- Need to aggregate login events per organization
|
||
|
|
- Consider time-series database or aggregation pipeline in MongoDB
|
||
|
|
- Privacy: show aggregates, not individual user activity details
|
||
|
|
- Cache analytics for performance
|
||
|
|
- Real-time updates via WebSocket for dashboard
|
||
|
|
|
||
|
|
## Related TODOs
|
||
|
|
- New feature - requires event logging infrastructure
|