Overview
vaivi-test · dashboard
Firebase Live
Dashboard Overview
vaivi-test · Updated live
⠿
Total Users
—
Loading…
⠿
Cases Today
—
Avg — / day
⠿
Token Cost Today
—
Gemini API
⠿
Active Today
—
Users with cases today
Cases Generated
New Users
Token Cost Trend
Top Departments Today
No cases yet today — data updates live from Firestore history/
Recent Admin Actions
No admin actions yet.
Case Analytics
Usage patterns, scores, cohort retention & AI performance
Total Cases
—
All time
Avg Score
—
Out of 5.0
High Accuracy
—
Score ≥ 4.0
Gemini Errors
—
Today
Score Distribution
% of cases by score band
Cases by Department
Cost per Department (Today)
Gemini Error Log
| Time | Function | Error | User | Retried |
|---|
Top 10 Users by Cases
| User | Dept | Cases | Avg Score | Tier |
|---|
Cohorts Tracked
—
Signup weeks
Best Week-4 Retention
—
Top cohort
Avg Week-4 Retention
—
Across all cohorts
Week-4 Retention Trend
% of signup-week users still active at W4
Cohort Grid
Derived from users/ joined dates & history/ activity
Loading cohort data…
Score Before vs After
Avg result score per prompt version
Version Summary
Loading…
Prompt Version History
Live from prompt_versions/
| Version | Function | Deployed | Cases Run | Avg Score | Status |
|---|
User Management
Loading…
Total Users
—
All time
Active This Week
—
lastCaseDate ≤ 7d
Inactive 7d+
—
No case in 7+ days
New This Month
—
Joined ≤ 30 days
New Users — Last 30 Days
| User | Tier | Rank | XP | Cases | Avg | Joined | Last Active | Status | Actions |
|---|
Community
Loading…
| Post | Author | Dept | ♥ | Comments | Flag | Actions |
|---|
Finance
Token costs, promo codes & revenue
Cost Today (₹)
—
Gemini API
Cost This Month
—
Budget: ₹25,000
Cost Per Case (₹)
—
Input + output tokens
Token Efficiency
—
After compression
Daily Cost — Last 30 Days (₹)
generateCase + evaluateSimulation
Cost by Cloud Function
generateCase
~1,800 tokens avg
₹—
evaluateSimulation
~2,400 tokens avg
₹—
draftLOR
~4,200 tokens avg
₹—
Cost Per Department (Today)
Active Codes
| Code | Discount | Applies To | Uses | Expires | Status | |
|---|---|---|---|---|---|---|
| LAUNCH20 | 20% | All plans | 48 / ∞ | 31 Mar 2026 | Active | |
| AIIMS50 | 50% | Pro only | 12 / 50 | 30 Apr 2026 | Active |
Code Performance
Revenue & MRR data will appear here once Razorpay webhook integration is complete.
Razorpay Webhook Integration Pending
Payment failure data (declined cards, retry attempts, recovery rates) will appear here once Razorpay webhook events are written to Firestore. See payment_events/ collection plan in the Firebase roadmap.
| User | Plan | Amount | Reason | Retries | Time | Status | Actions |
|---|---|---|---|---|---|---|---|
| No payment failure data yet — awaiting Razorpay integration | |||||||
Growth & Referrals
referrals/ · partners/ · partner_referral_requests/ collections
Total Referrals
—
All time
Coins Paid Out
—
× 1500 coins
Conversion Rate
—
Referred → paid
Top Referrer
—
—
Referrals Per Month
Signup Source
Email
Google
Top Referrers
| User | Referrals | Coins | Conv. |
|---|
Recent Chains
Subscriptions
Expiry queue, tier breakdown & history
Expiring in 3 days
0
Urgent
Expiring in 7 days
0
Due for reminder
Expiring in 30 days
0
Full pipeline
0 users selected
| User | Tier | Expires | Days Left | Cases/Mo | Reminder | Actions |
|---|
Tier Distribution
Tier Summary
| Tier | Count | % | Avg XP | Avg Cases |
|---|
Subscription history will be available once Razorpay integration is complete.
Security
Sessions, banned users & audit trail
Active Sessions
—
Right now
Multi-Device Alerts
0
Concurrent logins
Force-Logouts
—
Today
Banned Users
—
Total
Multi-device alerts will appear here when suspicious sessions are detected.
Total Banned
0
All time
Banned This Month
0
Recent actions
Appeals Pending
0
None active
| User | Banned By | Ban Date | Reason | Cases Before Ban | Appeal | Actions |
|---|
| Timestamp | Admin | Action | Target | Details | Reversible |
|---|
GCP Latency Metrics Not Available via Firestore
p50/p95/p99 Cloud Function latency and Firestore read costs require GCP Cloud Monitoring or a custom metrics layer. Call counts below are derived live from token_logs/.
generateCase calls (7d)
—
From token_logs/
evaluateSimulation calls (7d)
—
From token_logs/
draftLOR calls (7d)
—
From token_logs/
Scheduled CF Functions
Static schedule reference — actual runs via Cloud Scheduler
Loading…
App Version Distribution
Not tracked in Firestore yet
App version distribution requires instrumenting the Flutter app to write its version to Firestore on launch (e.g., user.appVersion field).
Engagement
Streaks · Flashcards · Milestones · LOR Tracker
Users With Active Streak
—
of active users
Streaks 30d+
—
↑ vs last week
Streak Breaks Today
—
Avg 31/day
Recovery Rate
—
Return within 48h
Streak Distribution
Streak Breaks Per Day — Last 14 Days
Top Streaks Right Now
| User | Streak | Last Active | Tier | Risk | Actions |
|---|
Cards Due Today
—
Across all users
Review Rate
—
↑ vs last week
Avg Retention Score
—
efactor average
Cards at Interval=1
—
Weak / forgotten cards
Due vs Reviewed — Last 14 Days
Most Skipped Departments
High skip rate = content worth improving
Loading flashcard data…
Users Within 10% of Each Milestone
Rank-Up Pipeline
Users within 10% of next XP threshold
Recent Milestone Achievements
Last 48 hours
| User | Milestone | Tier | Achieved At | Certificate | Notified |
|---|
Total Generated
—
All time
Pending Eligibility
—
Close to qualifying
Downloaded
—
of generated
| User | Tier | Cases | Avg Score | Generated | Downloaded | Status | Actions |
|---|
Total Coins in Circulation
—
Across all users
Avg Balance per User
—
Active users only
Users With 0 Coins
—
Never earned
Coin Balance Distribution
Live from users/ collection
Top Coin Holders
| User | Tier | Balance | Cases |
|---|
FCM Tap-Rate Analytics Not Yet Available
Notification open rates, tap rates, and delivery stats require Firebase FCM data export or a custom analytics layer. These are not stored in Firestore. Once a logging mechanism is in place (e.g. tracking notification_tap events in history/), this section will auto-populate.
Notification Tap Rate by Type
Pending FCM analytics
Tap rate data not available yet
Optimal Send Time
Pending FCM analytics
Time-of-day open rate data not available yet