A skipped paywall, a broken rating prompt and six file types: what anonymous counts showed me about my app
For a long time I couldn’t tell whether the paywall in Code Viewer’s onboarding was working. Once I could count it, the answer was plain: 95% of people closed it within three seconds, without reading it. That’s one of three things I learned from my own app’s numbers, without collecting a single piece of personal data.
What I wanted to know
As an independent developer, I need a handful of answers: where people drop out of onboarding, which paywall turns into purchases, and which version people actually run. Not who they are, just counts.
The usual options each cost something:
- Firebase Analytics puts Google’s SDK in your app and extra answers in your App Store privacy labels.
- Hosted tools such as TelemetryDeck are good, but the bill grows with your app, and the data lives on someone else’s servers.
- Building your own is easy to get wrong: one free-text field and you’re collecting personal data by accident.
The idea: the server decides what can be stored
Most analytics tools promise not to collect personal data. In skoro-stats the server enforces it. Each app has a schema of the events it may send, and every property has a fixed list of allowed values:
{
"export": {
"format": ["pdf", "markdown", "text"],
"outcome": ["done", "failed", "cancelled"]
}
}
Anything else (an unknown event, property or value) is dropped before it’s stored. Free text never fits the schema, so it can’t leak. There are no user IDs, no IP addresses and no device fingerprints: each launch gets a random session id that’s never saved on the device.
How it works
Two Cloudflare Workers and one D1 database: one Worker takes the events, the other is the dashboard. It’s
sized to fit Cloudflare’s free plan, which took more care than I expected. D1 counts a sort as a second read
of every row, so the dashboard avoids GROUP BY and works out its totals in JavaScript, and a test fails any
query that would read a whole table. A 30-day view of an app with about 1,500 sessions a month reads
around 8,000 rows, against a free allowance of 5 million a day.
What I learned from my own numbers
I built skoro-stats for Code Viewer, my app for reading code and reviewing pull requests on iPhone and iPad. Three things changed what I worked on.
The onboarding paywall was skipped, not read
I couldn’t tell if the onboarding paywall was doing anything. The paywall table counts how long each paywall stays open before it’s closed, in buckets, and for the onboarding paywall 95% of the closes were in the first one: under three seconds. People weren’t weighing the offer and saying no; they weren’t reading it at all.
So we redid the onboarding paywall, and changed the paywall flow so it looks different depending on where it’s opened, instead of one screen for every case. The onboarding paywall had never led to a purchase before the redesign; since then it has led to its first few. The numbers are still small, but the direction is clear.
The rating prompt was broken
The app asks for an App Store rating at good moments, yet the ratings weren’t growing. Counting the prompts showed why: far fewer were shown than should have been. The mechanism had a bug, and only a small share of the people who qualified were ever asked. After the fix, the prompt appeared in about 30% of sessions, up from about 9% before, comparing two versions with a similar number of sessions. Without the count I’d have blamed the timing or the wording, not a bug.
Six file types out of hundreds
Code Viewer opens almost any file, with syntax highlighting for more than 30 languages, so I never knew where better reading would matter most. A panel counting the file types people open settled it: HTML, Java, Markdown, C#, JSON and Python, far ahead of the rest. That’s where the reading improvements go next, along with tools that fit those files.
What it doesn’t do
No retention cohorts and no user journeys: sessions can’t be linked across launches, by design. No web SDK. And it needs a Cloudflare account. If you want analytics you don’t run yourself, a hosted service is the better choice.
Try it
The live demo is the real dashboard with made-up numbers. To run your own, the README takes about five minutes, or paste its prompt into Claude Code and let it set up everything for your app. It’s open source, MIT licensed: skorostats.com.