March 12, 2026
How to Put PostHog Analytics on Your iPhone Home Screen
PostHog is one of the most popular open-source product analytics platforms, but it doesn't have a mobile app. If you want to check your visitor counts, conversion metrics, or trend direction without opening a laptop, you need a third-party client.
PocketHog is a native iOS app that connects to your PostHog account and displays your metrics in a mobile-first feed — and, crucially, as home screen widgets that update in the background.
Here's how to set it up in under five minutes.
Step 1: Create a PostHog Personal API Key
PocketHog uses your PostHog Personal API key to read your project data. This is different from a Project API key (which is used for event ingestion and won't work).
- Open PostHog and go to Settings → Personal API Keys.
- Click Create Personal API Key.
- Enable these scopes:
- project (read)
- query (read)
- event_definition (read)
- Optionally enable annotation (read and write) if you want to view and create chart annotations.
- Copy the key. It starts with
phx_.
Step 2: Connect PocketHog
- Install PocketHog from the App Store.
- Paste your Personal API key on the onboarding screen.
- Select your region: US Cloud, EU Cloud, or Self-Hosted (enter your instance URL).
- Tap Connect to PostHog.
PocketHog will load all your projects and display them in a scrollable feed with visitor counts, sparkline charts, and delta percentages.
Step 3: Add a Home Screen Widget
- Long-press your iPhone home screen and tap the + button.
- Search for PocketHog.
- Choose a small or medium widget size.
- Long-press the widget and tap Edit Widget to select which project it displays.
The widget shows your project name, visitor count, conversion metric (if configured), and a sparkline trend chart. It refreshes automatically every 30 minutes.
Step 4: Configure a Conversion Metric (Optional)
Each project can track a secondary conversion event alongside visitors. Tap Configure on any project card and pick an event — signups, purchases, activations, or any custom event you've set up in PostHog. PocketHog suggests your most common events to get you started fast.
What You Get
- Live visitor counts and trend direction at a glance
- Period-over-period deltas (weekly and monthly)
- Conversion tracking with any PostHog event
- Chart annotations overlaid on your metric trends
- Deep links to PostHog Max AI for detailed analysis
- Background refresh — metrics stay current without opening the app
Next Steps
If you haven't added PostHog to your app yet, read our guide on adding analytics to your vibe-coded iOS app. Not sure if PostHog is the right choice? See best analytics for indie iOS apps.
PocketHog is an independent third-party client and is not affiliated with PostHog, Inc.