Add the Ad SDK Dependency
Add the following dependency to your app-levelbuild.gradle file
📝 Note:
If you’re using the Ad Analytics SDK, you do not need to add the Analytics SDK dependency separately. The Ad SDK already includes all analytics features and events, and insights. However, you must initialize the SDK in yourApplicationclass.
Initializing Analytics SDK in Android
Initialize the SDK in yourApplication 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. twinalyze_demo_7356297484) |
Demo Account
Email: [email protected]
Password: 123
Password: 123
✅ Best Practice
Always callinitialize()inside yourApplicationclass not inside. an Activity to ensure complete session tracking.