Repository navigation
Firebase Analytics and Telemetry
neil warner edited this page Oct 12, 2026
·
2 revisions
Firebase Project:
selahwordapp
GA4 Web Measurement ID:G-7LFS54TTFM
Android Package:com.example.selah_prototype_audio_13sep2026
Console Quick Link: Firebase Analytics Realtime | GA4 Dashboard
Selah unifies mobile and web analytics into a single data stream under Firebase and Google Analytics 4 (GA4):
graph TD
subgraph Web App
WA[Flutter Web App] -->|dart:js_interop| GT[gtag.js / G-7LFS54TTFM]
GT -->|HTTPS| GA4[Google Analytics 4 & Firebase]
end
subgraph Android App
AA[Flutter Android App] -->|Platform Channel| SDK[Firebase Analytics SDK]
SDK -->|Google Play Services| GA4
end
subgraph Console Dashboards
GA4 --> RT[Firebase Realtime Dashboard]
GA4 --> OV[Firebase Analytics Overview]
GA4 --> DV[DebugView Live Stream]
end
Yes! Both platforms stream into the exact same Firebase Analytics container:
- Android: Events dispatched via native Google Play Services Firebase Analytics SDK.
-
Web: Events dispatched via
gtag.jsloaded inweb/index.htmlwith measurement IDG-7LFS54TTFM, bridged via Dart interop inlib/src/core/analytics/web_gtag_helper_web.dart. - When users visit the Staging Web Preview or install the Android APK, all session, screen, passage, and loop events appear side-by-side in real-time.
- ๐ด Firebase Analytics Realtime Dashboard: Live map and minute-by-minute user activity.
- ๐ Firebase Analytics Overview: 30-day active user trends, user engagement, and retention curves.
- ๐ Firebase DebugView: Real-time, event-by-event stream for active debugging and test devices.
- ๐ Google Analytics 4 Admin: Deep analytics breakdown across platform dimensions, browser families, and referrers.
- ๐ Private Feedback Repository: Received user reflections and drawn screenshots.
Every event logged includes user properties to separate test traffic from real devotional listeners:
| User Property | Values | Description |
|---|---|---|
k_debug_mode |
"true", "false"
|
Identifies whether the app is running in debug mode or production. |
marionette_driving |
"true", "false"
|
Identifies whether an automated UI test driver (Marionette, Patrol, or Maestro) is operating the interface. |
app_version |
"0.3.1", "0.4.0"
|
Current client build semver. |
platform |
"web", "android", "ios"
|
Operating system or client environment. |
| Event Name | Parameters | Purpose |
|---|---|---|
app_open |
platform, app_version
|
Session start telemetry. |
passage_selected |
reference, translation, is_curated
|
Measures which scripture passage was chosen for meditation. |
repetition_knob_changed |
count (1, 3, 7, -1) |
Tracks loop preferences (endless vs fixed repetitions). |
playback_started |
reference, duration_seconds
|
Audio playback start and duration metrics. |
playback_completed |
reference, cycles_completed
|
Measures whether the user listened through full meditative cycles. |
feedback_submitted |
sentiment (happy, neutral, sad), rating, has_screenshot
|
Tracks satisfaction and feedback pipeline health. |
| Environment | Inspection Tool | Latency | Configuration Required |
|---|---|---|---|
| Web Realtime | Google Analytics Realtime Dashboard | 15โ30 seconds | None (G-7LFS54TTFM tag in web/index.html) |
| Web DebugView | Firebase Console > Analytics > DebugView | 1โ3 seconds | Auto-injected in debug mode ('debug_mode': true) or Chrome GA Debugger extension |
| Android ADB | adb logcat -s FA FA-SVC |
Instant (<500ms) | adb shell setprop debug.firebase.analytics.app <package_name> |
To stream real-time events from an Android test device (e.g., Pixel 9a) directly to Firebase DebugView:
# 1. Enable analytics debug mode on the device
adb shell setprop debug.firebase.analytics.app com.example.selah_prototype_audio_13sep2026
# 2. Monitor real-time event dispatch live in terminal
adb logcat -v time -s FA FA-SVCTo turn off debug mode when finished:
adb shell setprop debug.firebase.analytics.app .none.Overview
- ๐ Welcome Home
- ๐ Onboarding & Contributor Guide
- ๐ Soft Launch Checklist
- ๐ Review Guide Tomorrow Night
๐ฟ Product & Ministry
- Product & Ministry Home
- ๐ Sharing & Invitation Kit
- User Feedback & Prayer Triage
- Data-Driven Ministry Insights
โ๏ธ Engineering & Architecture
- Engineering Home
- Audio Platform Matrix: Web vs PWA vs APK
- Firebase Hosting Previews
- Feedback Technical Architecture
- Firebase Analytics & Telemetry
- Releases & Roadmap
- Acoustic Calibration Guide
- WhisperX Alignment ADR
๐ Quick Links