Aptabase is an Open Source alternative to Google Firebase Analytics for Android Apps
Use the Kotlin SDK for Aptabase to instrument your app. You're in total control of what events to track.
Here's an example 👇
Aptabase.instance.trackEvent("play_music", mapOf<String, Any>(
"name" to "here_comes_the_sun"
)) Full install and setup steps in the quickstart below .
That's it! You'll now see the data on your dashboard as the events come through from your app.
Use Cases
You can't improve what you don't measure. Aptabase helps you get valuable insights from your Android Apps in a privacy-friendly manner.
Are you aware of the features in your app that users engage with most frequently? What configurations that majority of your users prefer? Gaining insights into these areas allows you to make well-informed decisions on future focus points for enhancing your Android/Kotlin app's user experience.
Understanding the geographical distribution of your user base can significantly inform the decision to localize your Android/Kotlin app, thereby enhancing its global accessibility and visibility on the Google Play Store.
Aptabase proficiently collects data related to the various versions of Android utilized by your users. Such invaluable insights empower you to streamline your efforts in creating superior user experiences, meticulously customized to the most prevalent Android versions.
Quickstart
Install the Kotlin (Android) SDK, initialize it with your App Key and track your first
event. Get the App Key from the dashboard's Instructions
menu — keys look like A-EU-*, A-US-*.
Package: com.github.aptabase:aptabase-kotlin (JitPack)
implementation("com.github.aptabase:aptabase-kotlin:0.0.8") Add the JitPack repository in settings.gradle.kts:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { url = uri("https://www.jitpack.io") }
}
} Then add the dependency in your module-level build.gradle.kts: implementation("com.github.aptabase:aptabase-kotlin:0.0.8").
Initialize in your Application class:
class MyApplication : Application() {
override fun onCreate() {
super.onCreate()
Aptabase.instance.initialize(applicationContext, "<YOUR_APP_KEY>")
}
} Aptabase.instance.trackEvent("app_started")
Aptabase.instance.trackEvent("screen_view", mapOf("name" to "Settings")) Privacy front and center
In the realms of user tracking and privacy, Aptabase employs a unique strategy to secure the privacy of your users.
Free up to 20,000 events/month. Paid plans from $10/month for 200,000 events up to $450/month for 50,000,000 events. No overage fees.