ANYLYTICS

Provider Agnostic Analytics for Android

A flexible, decoupled library to track events across multiple providers without vendor lock-in. Built for modern Android with Jetpack Compose support.

Features

Why Anylytics?

bolt Provider Agnostic

Easily switch or combine multiple analytics providers like Firebase, Adobe, or your custom solution.

Flexibility Agnostic

layers Compose Ready

Native support for Jetpack Compose with dedicated composables and CompositionLocal providers.

Compose Kotlin

query_stats Type Safe

Structured event models for Views and Actions ensure consistency across your entire application.

Safety Type-Safe

Quick Start

Get up and running in minutes

1

Add Dependency

implementation("me.kartikarora.anylytics:anylytics:0.0.1")
2

Implement Interface

class MyAnalytics : AnylyticsInterface {
    override fun trackScreen(view: Event.View) { /* ... */ }
    override fun trackAction(action: Event.Action) { /* ... */ }
}
3

Track Events

TrackScreen("home_screen")