Skip to main content

Mostly Good Metrics

Simple analytics for products that ship.

No complex setup, no data warehouses, no SQL required. Just drop in an SDK and start understanding how people use your app.


Get Started in 5 Minutes

1. Create a project

Sign up at app.mostlygoodmetrics.com and create a project. You'll get an API key that looks like mgm_proj_xxxx.

2. Install the SDK

// Package.swift
.package(url: "https://github.com/Mostly-Good-Metrics/mostly-good-metrics-swift-sdk", from: "0.5.5")

3. Start tracking

import MostlyGoodMetrics

// Initialize once at app launch
MostlyGoodMetrics.configure(apiKey: "mgm_proj_your_api_key")

// Track events
MostlyGoodMetrics.track("button_clicked")
MostlyGoodMetrics.track("purchase_completed", properties: [
"product_id": "SKU123",
"price": 29.99
])

// Identify users
MostlyGoodMetrics.identify(userId: "user_123")

That's it! Your events will appear in the dashboard within seconds.


What the SDKs handle for you

  • Offline support — events persist locally and sync when back online
  • Batching — events are grouped for efficient network usage
  • Automatic retries — failed requests are retried automatically
  • Lifecycle tracking — app opens, installs, and updates are tracked for you

Learn more