iOS app analytics in Swift, with revenue
One Swift file, no dependencies. Count screens and events in your iPhone and iPad app and see which ones lead to a purchase.
What Sumly reads
- Screens, with a .sumlyScreen modifier in SwiftUI
- Events with properties
- Who the person is once they sign in
- App version, device and country
Good to know
- The install id is kept in UserDefaults, a required-reason API: declare it in your privacy manifest (most apps already do).
Add it to your app
One file, no dependencies. Add Sumly.swift to your app target.
// App.init or application(_:didFinishLaunchingWithOptions:)
Sumly.configure(siteKey: "sl_…")
// SwiftUI: counts the view as a screen each time it appears
HomeView().sumlyScreen("Home")
// UIKit
Sumly.screen("Home")
Sumly.track("signup", props: ["plan": "pro"])
Sumly.identify(id: user.id, email: user.email, name: user.name)
Trace each payment to its visit
Set Purchases.shared.attribution.setAttributes(["sumly_visitor_id": Sumly.visitorID]) for RevenueCat. How attribution works.
Questions
What goes in App Privacy?
Product interaction and coarse location, plus user id, e-mail or name if you call identify. None of it used for tracking.
Other integrations
Try it with your own projects
Sumly opens to a few founders at a time. Leave your address and what you would connect; we write when your place is ready.
Or look around first: open the live demo.