# Aptabase

Aptabase is an open-source, self-hostable analytics platform for mobile, desktop, and web applications.

Canonical page: https://ourlocalhost.com/app/8312/aptabase

## Description

Aptabase is an open-source, self-hostable analytics platform for mobile, desktop, and web applications. It tracks events and sessions with SDKs for Swift, React Native, Flutter, Electron, Kotlin, and more, feeding a built-in dashboard for essential product metrics. It collects minimal usage data without unique identifiers, complying with GDPR, CCPA, and PECR, making it ideal for developers who want Firebase or Google Analytics-style insights without compromising user privacy. Self-host it to keep full control of your analytics data.

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

74/100 (Good), based on 4 of 5 factors.
- Maintained: 93 (last commit 8 days ago)
- Popular: 65 (1,882 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 94 (no serious findings, 1 minor, CI, tests)

## Links

- Official website: https://aptabase.com/
- Documentation: https://aptabase.com/docs/build-modes
- GitHub: https://github.com/aptabase/aptabase

## Common questions

### What services does a self-hosted Aptabase setup require?

Aptabase depends on PostgreSQL as the main database, ClickHouse for analytics storage, and Mailcatcher (which catches test emails). These are started together via Docker Compose.

### Why does Aptabase fail to start with an empty database error?

Database migrations must be run before first launch. You need to install the FluentMigrator CLI tool and run the migration command with your actual database connection string, otherwise the app fails to start.

### Do I need to configure anything before launching Aptabase locally?

Yes, copy launchSettings.example.json to launchSettings.json before running the app. This file holds your local startup configuration such as ports and settings, and without it the app won't launch properly.

### How do debug and release events stay separate in Aptabase?

Every SDK supports Debug and Release build modes, and data is kept separate between them. During development events are sent in Debug mode, and a normal release build automatically switches to Release mode — no configuration is needed, and the dashboard lets you toggle between the two.

### Can I export my analytics data from Aptabase?

Yes, you own your data and can export it at any time.

### Where can I find instructions for self-hosting Aptabase?

Self-hosting is free but you are responsible for maintenance and updates. The setup instructions live in the dedicated self-hosting repository on GitHub, and the self-hosted version offers the same core functionality as the cloud version.

## Alternatives

- Counter
- Firebase: Firebase, provided by Google, is a backend service and application development platform.
- Google Analytics: Gain insights into website traffic with Advanced Segmentation, Custom Reporting, and data visualization.
- Supabase: The open source Firebase alternative.
- Tableau: Tableau helps the world’s largest organizations unleash the power of their most valuable assets: their data and their people.
- Tianji: Tianji is a self-hosted website analytics and uptime monitoring platform that combines visitor traffic insights, service availability check…

---
Source: Our Local Host (https://ourlocalhost.com/app/8312/aptabase), the self-hosted and open-source app directory.
