SmolAnalytics.swift (the agent adds this) · open source (MIT) · ask in plain English

Add analytics to your iOS app iOS.

Most iOS analytics means integrating a heavy SDK, then hand-adding a track call to every screen. smolanalytics does it differently: connect your repo and your coding agent opens a PR that wires it in. The client is one small file (no third-party SDK bloat) with an offline-safe queue, sessions and device context out of the box. Then you ask your numbers in plain English from your editor.

SmolAnalytics.swift (the agent adds this)
import SmolAnalytics

// once, in your App / AppDelegate
SmolAnalytics.initialize(writeKey: "WRITE_KEY", host: "https://YOUR-INSTANCE")

SmolAnalytics.track("signup", ["plan": "pro"])
SmolAnalytics.screen("Checkout")
SmolAnalytics.identify("user-123") // on login

Connect your repo and the agent wires this up for you. It's open source (github.com/Arjun0606/smolanalytics), and the write key is public (send-only) so it's safe to ship.

how do I add analytics to ios?

Most iOS analytics means integrating a heavy SDK, then hand-adding a track call to every screen. smolanalytics does it differently: connect your repo and your coding agent opens a PR that wires it in. The client is one small file (no third-party SDK bloat) with an offline-safe queue, sessions and device context out of the box. Then you ask your numbers in plain English from your editor.

On mobile there is no autocapture, so the events that matter are explicit: app_open, sign up, purchase, the screens people actually reach. The client tracks app_open and sessions automatically and attaches device, OS version and app version to every event, so your breakdowns just work. You add track() on the two or three moments that matter, or let the agent find them.

The part nobody else has: because your coding agent installs and instruments it, and it lives in your repo alongside your analytics, you can ask "did my last release move retention?" from Cursor or Claude Code and get the real number out of your own instance. Self-host the open-source binary free or run it hosted free up to 1M events/mo, cookieless with no consent banner.

Honest pricing: 14-day full trial, no credit card. Then Pro $19/mo, never metered on seats or sites. Overage is $6 per million, with an emailed receipt, the dashboard never locks, and self-hosting the single Go binary is free forever (MIT).

Add analytics to iOS tonight.

One snippet, or one endpoint. Tomorrow morning the verdict tells you which part of the funnel to fix.

questions

How do I add analytics to iOS?
Most iOS analytics means integrating a heavy SDK, then hand-adding a track call to every screen. smolanalytics does it differently: connect your repo and your coding agent opens a PR that wires it in. The client is one small file (no third-party SDK bloat) with an offline-safe queue, sessions and device context out of the box. Then you ask your numbers in plain English from your editor.
Do I need a cookie banner?
Not in cookieless mode. smolanalytics can run without storing anything on the device, so there is no consent banner to add. You still get visitors, referrers, funnels, retention, and paths, and AI-assistant referrals (chatgpt.com, claude.ai, perplexity.ai) show up as their own channel.
Is it enough for a real product, or just page counts?
It does funnels, retention, paths, cohorts, and a daily verdict on what to fix, from the same events, and you ask it in plain English. It also ships feature flags, A/B experiments, click heatmaps, in-product surveys, and a session inspector that replays a user's journey from their events; the one thing it skips is pixel-perfect DOM session recording. If you want a straight answer on what to fix, plus the full toolkit, that you own and can self-host free, it fits.

keep reading