Skip to content

Add outreach analytics dashboard and response tracking#614

Merged
bokelley merged 1 commit into
mainfrom
bokelley/outreach-analytics
Jan 5, 2026
Merged

Add outreach analytics dashboard and response tracking#614
bokelley merged 1 commit into
mainfrom
bokelley/outreach-analytics

Conversation

@bokelley

@bokelley bokelley commented Jan 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add API endpoints for response rates by goal type (/api/admin/outreach/stats/by-goal) and time-series stats (/api/admin/outreach/stats/time-series)
  • Add migration with analytics views (outreach_goal_stats, outreach_time_stats)
  • Enhance user context page with detailed outreach history and conversation thread links
  • Add Analytics tab to admin-outreach.html with goal performance metrics including sentiment breakdown

Test plan

  • Verify API endpoints return data correctly
  • Check Analytics tab loads and displays goal stats
  • Verify outreach history shows on user context modal with thread links
  • Confirm empty state handling when no outreach data exists

🤖 Generated with Claude Code

- Add API endpoints for response rates by goal type and time-series stats
- Add migration 136_outreach_goal_stats.sql with analytics views
- Enhance user context page with detailed outreach history and thread links
- Add Analytics tab to admin-outreach.html with goal performance metrics
- Fix null check in getOutreachTimeStats() for empty data
- Use encodeURIComponent for thread_id in URLs

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bokelley bokelley merged commit 245b6db into main Jan 5, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant