# The Aptabase alternative for product analytics

Pug is the Aptabase alternative for product analytics: funnels, retention cohorts, and a profile per person. Both are AGPL-3.0 and self-hostable; here is the difference.

Source: https://pug.sh/compare/aptabase-alternative

Aptabase is open-source, privacy-first usage analytics for apps on nearly any stack, and it stops deliberately short of funnels, retention, and profiles, because it collects no identifier to build them from. Pug is the other side of that trade. Both are AGPL-3.0 and self-hostable, so here is the honest difference, including where Aptabase is the better tool.

Choose Pug if

- You need funnels, retention cohorts, and user flows
- You want one profile per person across app and web
- You identify users and want traits to filter every insight

Stick with Aptabase if

- Your app is React Native, Unity, Tauri, or Electron today
- Collecting no user identifier at all is a hard requirement
- You want usage numbers with nothing to configure

## Pug vs Aptabase, feature by feature

Each row sets what ships in Pug today against what Aptabase documents. A dash in Pug’s column is a feature Pug doesn’t have.

| Capability                             | Pug                                                      | Aptabase                                                 |
| -------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- |
| **Ownership & privacy**                |                                                          |                                                          |
| License                                | AGPL-3.0                                                 | AGPL-3.0                                                 |
| Open source                            | Yes                                                      | Yes                                                      |
| Self-hostable                          | Yes                                                      | Yes                                                      |
| Managed cloud                          | Yes                                                      | Yes                                                      |
| Persistent user identifier             | Anonymous id, then identify()                            | None, on purpose                                         |
| **Pricing (checked November 2026)**    |                                                          |                                                          |
| Free tier                              | 100k events a month                                      | 20,000 events a month, unlimited apps                    |
| Paid tiers                             | $1 a month + $20 per million events, falling with volume | $10 a month for 200,000 events, $20 for 1M, $140 for 10M |
| Past your tier                         | Never blocked or dropped                                 | Analytics pause until you upgrade or the month ends      |
| **What you can ask**                   |                                                          |                                                          |
| Usage over time                        | Yes                                                      | Yes                                                      |
| Top events, devices, versions, geo     | Yes                                                      | Yes                                                      |
| Live view of activity                  | Yes                                                      | Yes                                                      |
| Funnels                                | Yes                                                      | No                                                       |
| Retention cohorts                      | Yes                                                      | No                                                       |
| User-flow Sankey                       | Yes                                                      | No                                                       |
| Per-person profile timeline            | Yes                                                      | No                                                       |
| **Instrumentation**                    |                                                          |                                                          |
| Mobile SDKs                            | Android (Kotlin), iOS (Swift), Flutter                   | Swift, Kotlin, Flutter, React Native                     |
| Desktop & game engines                 | Not in Pug                                               | Electron, Tauri, .NET MAUI, Unity, Unreal, Godot, C++    |
| Web SDK                                | Yes                                                      | Yes                                                      |
| Server-side SDK                        | Node, Go, Ruby                                           | Python                                                   |
| Autocapture on web                     | Yes                                                      | No                                                       |
| Typed well-known events                | Yes                                                      | No                                                       |
| **AI assistants**                      |                                                          |                                                          |
| MCP server                             | Hosted, reads plus dashboard edits                       | Unofficial, read-only                                    |
| **Single sign-on**                     |                                                          |                                                          |
| SSO through your own identity provider | Yes                                                      | No                                                       |
| Require SSO for your domain            | Yes                                                      | No                                                       |
| **Practical**                          |                                                          |                                                          |
| Errors view alongside analytics        | Not in Pug                                               | Yes (beta)                                               |

Checked November 21, 2026 by [Praveen Kumar](https://github.com/poluruprvn), who builds Pug. **Sources:** [Aptabase pricing](https://aptabase.com/pricing), [llms.txt (license, SDKs, privacy model)](https://aptabase.com/llms.txt), [MCP server](https://github.com/aptabase/aptabase-mcp), [sign-in code](https://github.com/aptabase/aptabase/blob/main/src/Features/Authentication/AuthController.cs), [errors view](https://github.com/aptabase/aptabase/tree/main/src/webapp/features/analytics/errors), [Swift SDK](https://github.com/aptabase/aptabase-swift). Prices change, so confirm them on Aptabase’s site before you decide.

## Why look for an Aptabase alternative

### Counts answer “how many”, not “where they drop”

Aptabase gives you key metrics, top events, and breakdowns by device, version, and country. Pug adds the questions that need a sequence: which onboarding step loses people, what path they took, and what they did before they left.

### Retention needs someone to come back

Cohort retention only exists if you can recognise a returning user. Aptabase deliberately keeps no identifier, so it measures sessions; Pug ties events to a person and shows the return curve by install or signup week.

### One person, app and web

identify() merges anonymous history into a single profile, so a funnel can start on your marketing site and finish in the app, and traits like plan or source filter every insight afterwards.

## Where Aptabase is still the better choice

Aptabase has each of these and Pug doesn’t. If your team needs one, Aptabase is the better fit.

- SDKs for React Native, .NET MAUI and C++
- Desktop and game targets: Electron, Tauri, Unity, Unreal and Godot
- No device identifier or persistent user id collected at all
- An errors view (beta) next to the analytics
- A built-in dashboard with nothing to configure

## Moving from Aptabase to Pug

Aptabase has one call, trackEvent(). Moving to Pug keeps that call under a new name, and adds identify(), the call Aptabase leaves out on purpose.

| Aptabase                                                                | Pug                                                                              | What changes                                                                                                                                      |
| ----------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Aptabase.shared.initialize(appKey: "<KEY>")`                           | `try Pug.initialize(projectId: "<ID>", options: Pug.Options(apiKey: "pub_..."))` | Pug takes a project id and a public key, and throws on a blank one so a misconfiguration shows at launch.                                         |
| `Aptabase.shared.trackEvent("app_started")`                             | `Pug.track("app_started")`                                                       | Same name. Pug event names take ASCII letters, digits, _, . and -.                                                                                |
| `Aptabase.shared.trackEvent("screen_view", with: ["name": "Settings"])` | `Pug.screen("Settings")`                                                         | The iOS SDK already tracks a screen_view per view controller. Pug.screen() covers other screens, and .pugScreen("Products") names a SwiftUI view. |

- Aptabase sends only the events you track. Pug’s iOS and Android SDKs also send app_open, app_close, app_install, app_update and screen_view on their own, so expect more events per session in Pug’s bill.
- Add Pug.identify(userId, traits: [...]) where your app learns who the user is. That one call is what per-person funnels, retention and profiles are built on, and the iOS and Android SDKs send it at once, with no cookieless mode.

Pug has no importer for Aptabase’s history, so it counts from the day its SDK goes in: run both until the reports you rely on are rebuilt in Pug. To bring an export across, the Node SDK’s track() takes a timestamp option.

- [Web, Android, iOS, Flutter, Node, Go & Ruby SDKs](https://pug.sh/sdks)
- [Pug docs](https://docs.pug.sh)

## What ships in Pug today

Pug ships autocapture on the web, seven insight types (trends, funnels, retention cohorts, segmentation, user flows, Top-K and a map), unified profiles, dashboards and a Live view, in the AGPL-3.0 server and on Pug Cloud alike. A self-hosted install is the pug Go binary on PostgreSQL, ClickHouse, NATS and Dragonfly, with no plans or limits.

- [How the Pug pipeline works](https://pug.sh/platform)
- [The insight types](https://pug.sh/analytics)
- [Self-hosting docs](https://docs.pug.sh/self-hosting/)
- [Add Pug to an Android app](https://pug.sh/integrations/android)
- [Add Pug to an iOS app](https://pug.sh/integrations/ios)
- [Add Pug to a Flutter app](https://pug.sh/integrations/flutter)
- [All open-source analytics tools](https://pug.sh/open-source-analytics)

## Questions about switching from Aptabase

### Is Pug an Aptabase alternative?

For product analytics, yes. Pug adds funnels, retention cohorts, user flows, and a profile per person. But they are aimed at different jobs: Aptabase is privacy-first usage analytics for apps on almost any stack, and if your questions are “how many people, on what versions, doing which events”, it already answers them.

### Does Aptabase have funnels or retention?

No, and that follows from its design rather than being a gap it means to close. It collects no unique identifier, so there is no one to follow between steps or across weeks. Its dashboard covers key metrics, usage over time, top events, breakdowns by country, device, OS and app version, and a live view of sessions.

### Both are AGPL-3.0 and self-hostable: what is the real difference?

Identity. Aptabase measures sessions with nothing tying them together; Pug gives every visitor an anonymous id and merges that history into a person when you call identify(). Everything else (funnels, retention, profiles, trait filters) follows from that one decision, as does Aptabase’s stronger privacy claim.

### How much does Aptabase cost?

Aptabase’s free plan covers 20,000 events a month across unlimited apps. Paid tiers are $10 a month for 200,000 events, $20 for 1M, $140 for 10M and $450 for 50M, billed monthly, with no overage fees: past your tier, analytics pause until you upgrade or the next month starts (checked November 2026). Pug Cloud is free up to 100k events a month, then $1 a month plus graduated per-event rates, and going over never pauses anything: 1M events a month bills $19.00, and 10M bills $167.00.

### Which has better mobile SDK coverage?

Aptabase, by one platform on mobile and several beyond it. Both ship Swift, Kotlin and Flutter SDKs; Aptabase adds React Native, then Electron, Tauri, Unity, Unreal and Godot. Pug’s Android and iOS SDKs record app opens and closes, installs and updates, and screen views on their own, and keep unsent events through restarts. Pug’s React Native SDK is in development.

### Can we sign in with our company identity provider?

With Pug, yes: Google Workspace or any OIDC provider such as Okta or Microsoft Entra ID, with verified domains and Require SSO, on every plan. Aptabase signs people in by email, GitHub, or Google, with no way to connect your own identity provider or require SSO for your domain.

### Can I run both?

Yes, and for some teams that is the sensible answer: Aptabase for a React Native, Unity or Electron app it already supports, Pug for the web product where identity and funnels matter. They are independent tools with independent pipelines.

### Is Pug more private than Aptabase?

No. Aptabase collects no unique identifier, which is the stronger position by definition. Pug is built for the case where you do want to recognise a person: it supports cookieless operation and consent gating, but recognising returning users is the point of the product.

## Other Pug comparisons

- [vs PostHog](https://pug.sh/compare/posthog-alternative)
- [vs Mixpanel](https://pug.sh/compare/mixpanel-alternative)
- [vs Amplitude](https://pug.sh/compare/amplitude-alternative)
- [vs Heap](https://pug.sh/compare/heap-alternative)
- [vs Plausible](https://pug.sh/compare/plausible-alternative)
- [vs Matomo](https://pug.sh/compare/matomo-alternative)
- [vs Umami](https://pug.sh/compare/umami-alternative)
- [vs Segment](https://pug.sh/compare/segment-alternative)
- [vs Google Analytics](https://pug.sh/compare/google-analytics-alternative)
- [Replace GA4, step by step](https://pug.sh/compare/google-analytics-replacement)
- [vs Firebase](https://pug.sh/compare/firebase-analytics-alternative)
- [vs Countly](https://pug.sh/compare/countly-alternative)
