SDKs
Client SDKs for sending events, metrics, and funnels to OwlMetry.
OwlMetry provides two SDKs, both with zero runtime dependencies. They handle batching, gzip compression, retry with exponential backoff, and automatic lifecycle events out of the box.
Available SDKs
- Swift SDK — Native SDK for iOS, iPadOS, and macOS apps. Distributed as a Swift Package. Covers event logging, screen tracking, structured metrics, funnels, identity management, A/B experiments, network monitoring, and app launch time measurement.
- Node.js SDK — Server-side SDK for Express, Fastify, and serverless functions. Pure ESM package. Covers event logging, structured metrics, funnels, identity scoping, serverless support, and A/B experiments.
Comparison
| Feature | Swift | Node.js |
|---|---|---|
| Events with log levels | Yes | Yes |
| Structured metrics | Yes | Yes |
| Funnel tracking | Yes | Yes |
| A/B experiments | Yes | Yes |
| Auto screen tracking | Yes | — |
| Network monitoring | Yes | — |
| App launch time | Yes | — |
| Serverless support | — | Yes |
| User scoping | Owl.identify() | Owl.withUser() |
| Persistence | Keychain | Filesystem |
| Compression | Gzip | Gzip |
| Min runtime | iOS 16 / macOS 14 | Node.js 20 |
Choosing an SDK
- Building an iOS, iPadOS, or macOS app → Swift SDK
- Building a backend service, API, or serverless function → Node.js SDK
- Building a cross-platform app with a backend → use both. Events from all platforms appear in the same project dashboard.
