AmplitudeTracker

Amplitude tracker: Send events to amplitude analytics library

Implements ITracker

Get unique api key from Amplitude Get API Key from Amplitude

val amplitudeTracker = AmplitudeTracker.init(this, "your unique api key")
val eventTracker = EventTracker.Builder().addTracker(amplitudeTracker).build()

Check amplitude documentations for more info

Parameters

context

Application context

apiKey

Unique API key for your project

sessions

Boolean to enable session events tracking

appLifecycles

Boolean to enable app lifecycle events tracking

deepLinks

Boolean to enable deeplink events tracking

screenViews

Boolean to enable screen view events tracking

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun track(eventName: String, eventParameters: HashMap<String, Any>)
Link copied to clipboard
open override fun trackAll()