- Add the SDK Dependency
build.gradle file
build.gradle make sure the following plugins are configured:
- Initializing Analytics SDK in Android
Application class to start tracking sessions, events, and insights.
Parameter Reference
Parameter Reference
| Parameter | Description |
|---|---|
application | Android application context |
apiKey | Your Project API key |
orgId | Your organization ID (e.g. twinnet_demo) |
✅ Best Practice
Always callinitialize()inside yourApplicationclass — not inside an Activity — to ensure complete session tracking.