← ClaudeAtlas

apple-three-piece-analyticslisted

Choose analytics and metrics sources for a solo / small-team Apple app and decide whether a third-party tracking SDK is justified. Use when picking an analytics SDK; when asked "should I add Firebase / Mixpanel / Amplitude / TelemetryDeck"; when asked what App Store Connect Analytics, MetricKit (`MXMetricPayload`) or Game Center can measure without an SDK; when the analytics choice drives `PrivacyInfo.xcprivacy` or forces ATT. Does NOT own MetricKit perf wiring (ios-performance-engineering), App Review privacy-label parity (app-store-review-rejections), or sink code (telemetry-facade-pattern).
wei18/apple-dev-skills · ★ 18 · Code & Development · score 78
Install: claude install-skill wei18/apple-dev-skills
# Apple Three-Piece Analytics ## When to invoke - Deciding on an analytics SDK. - Evaluating Firebase / TelemetryDeck / Mixpanel / Amplitude / Sentry. - Writing `PrivacyInfo.xcprivacy`. - User asks "what metrics should I track", "what can I see without a third-party SDK". ## Scope Owns the source-selection decision and its PrivacyInfo/ATT consequence. Does NOT own MetricKit wiring or payload interpretation → `ios-performance-engineering`; sink code → `telemetry-facade-pattern`; App Review privacy-label parity → `app-store-review-rejections`. ## Default decisions ### v1 uses the Apple three-piece set | Source | What it provides | Where to view | |---|---|---| | **App Store Connect Analytics** | Downloads, sessions, active devices, retention, sources, store conversion | App Store Connect web | | **MetricKit** (`MXMetricPayload`, `MXDiagnosticPayload`) | Performance & diagnostics: crash / hang / launch time / jank / energy / memory | The App receives them → persist to log / optionally upload later | | **MetricKit, iOS / macOS 27+** (`MetricManager().metricReports` / `.diagnosticReports`, `for await`) | Same coverage; `MXMetricManager` / `MXMetricPayload` / `MXMetricManagerSubscriber` are deprecated starting iOS / macOS 27 | Same — catalog default is iOS 26, so no forced migration yet | | **Game Center** (if it's a game) | Leaderboards / achievement completion / peer-player comparison | Game Center API / Game Center app | > **macOS caveat**: Apple's API lists `MXMetricMan