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()
Content copied to clipboard
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
Functions
Link copied to clipboard
Link copied to clipboard
Set device id Check amplitude documentations for more info
Link copied to clipboard
Set EU server zone Check amplitude documentations for more info
Link copied to clipboard
Set server url Check amplitude documentations for more info
Link copied to clipboard
Set user id Check amplitude documentations for more info
Link copied to clipboard
Set US server zone Check amplitude documentations for more info