# Using Self-Hosted Umami for Lightweight iOS App Analytics

Original title: Using self-hosted Umami for iOS app analytics

> Hacker News story 48905836 · language: en · submitted 2026-07-14
> Web version: https://zeli.app/story/48905836
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 66 · by [Sankra](<https://news.ycombinator.com/user?id=Sankra>) · 💬 10
[original](<https://hjerpbakk.com/blog/2026/07/14/umami-for-apps>) · [HN discussion](<https://news.ycombinator.com/item?id=48905836>)

## Summary

I built an open source Swift package to integrate my iOS apps with my self-hosted Umami instance, avoiding heavy SDKs and IDFA prompts. By treating app screens as web pages and sending events directly to my Fly.io server, I get unified visitor metrics without third-party data collection. This approach keeps analytics private, simple, and consistent with my website tracking.

## Key quote

> Nothing is written to the device, so there is no id to read back and usage on different days can't be linked.

## HN discussion (10 comments)

### [eleventen](<https://news.ycombinator.com/item?id=48968828>)

> My umami instance handles a modest 1-2K events per day but does so on 150MB of memory and approximately no cpu.  I switched from plausible, which might have been fine except clickhouse requires like 4 different containers and idles using 4+ GB.  I am very happy with never needing to even think about umami.

### [XCSme](<https://news.ycombinator.com/item?id=49004933>)

> Not for iOS, but for web apps, if you like self-hosted analytics that has more than basic stats, I'm really proud of what I've built with https://uxwizz.com

### [josters](<https://news.ycombinator.com/item?id=48969779>)

> Nice writeup and I really like the minimal aesthetic of your site!
>
> On unique users: I wonder if there is a way to set this up to work similar to TelemetryDeck's double-hashing anonymization[1]. Did you look into that before deciding to go purely session-based?
>
> [1]: https://telemetrydeck.com/docs/articles/anonymization-how-it...

---

## Cite

- Page: https://zeli.app/story/48905836
- Date: 2026-07-14
- Source: hjerpbakk.com (https://hjerpbakk.com/blog/2026/07/14/umami-for-apps)
- Hacker News: https://news.ycombinator.com/item?id=48905836

## Other languages

- zh: https://zeli.app/zh/story/48905836 · markdown: https://zeli.app/zh/story/48905836.md
- ja: https://zeli.app/ja/story/48905836 · markdown: https://zeli.app/ja/story/48905836.md
- ko: https://zeli.app/ko/story/48905836 · markdown: https://zeli.app/ko/story/48905836.md
- de: https://zeli.app/de/story/48905836 · markdown: https://zeli.app/de/story/48905836.md
- es: https://zeli.app/es/story/48905836 · markdown: https://zeli.app/es/story/48905836.md
