← 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 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 · ★ 19 · Code & Development · score 78
Install: claude install-skill wei18/apple-dev-skills
# Apple Three-Piece Analytics ## When to invoke - Starting a new App and 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 | | **Game Center** (if it's a game) | Leaderboards / achievement completion / peer-player comparison | Game Center API / Game Center app | > **macOS caveat**: macOS 12–15 only send `MXDiagnosticPayload`; macOS 26 and later send a daily `MXMetricPayload` just like iOS. Only a deployment target below macOS 26 needs to fall back to App Store Connect Analytics + targeted `OSSignposter` traces. ### Privacy / Manifest - **`PrivacyInfo.xcprivacy` is a require