docs · v1 · SDK

Android SDK

Gradle module setup and first event.

Dependency

The current repository distribution is a Gradle module. Use a signed Maven artifact only after its release job publishes one.

Initialize

Initialize from Application before tracking.

MicroTarget.init(context = applicationContext, apiKey = "mt_live_YOUR_KEY")
MicroTarget.logEvent("onboarding_test", mapOf("source" to "quickstart"))