feat(analytics): Phase 2 — operational events for onboarding, feedbac…#130
Merged
Conversation
…k, errors, modules (ADFA-4466) Extends the Firebase analytics from Phase 1 (all consent-gated, no-op unless the operator opted in; operational only, no PII/content). Same single AnalyticsClient module. - onboarding_completed: SetupSectionFragment.completeSetup() (setup funnel). - feedback_sent: FeedbackFragment, on a successful send only (no content — just that it happened). - app_error: K2GoUncaughtExceptionHandler logs a coarse type = exception class simple name (never the message/stacktrace), consent-gated and wrapped so it can never mask the crash; the Application now passes a Context into the handler. - module_install: per module in InstallService's queue loop (module = fixed-catalog key, result = success/failed) — deployment config (what the operator provisions), not what an end user opens. Fires on each runrole terminal (success, ansible-failed, and proot error). New GA4 custom dimensions to register: type (app_error), module + result (module_install). No new strings, no new pure logic (AnalyticsBuckets test still covers bucketing).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…k, errors, modules (ADFA-4466)
Extends the Firebase analytics from Phase 1 (all consent-gated, no-op unless the operator opted in; operational only, no PII/content). Same single AnalyticsClient module.
New GA4 custom dimensions to register: type (app_error), module + result (module_install). No new strings, no new pure logic (AnalyticsBuckets test still covers bucketing).