Prerequisites:
- Minimum Android API level 21 (Android 5.0)
- Your Permutive Workspace ID and API Key (available from your Permutive dashboard)
- Your project enabled for Android by Permutive (contact your Customer Success Manager if unsure)
Add the Dependency
Add the Permutive SDK to your app’s Sync your project with Gradle files.
build.gradle.kts or build.gradle file:Initialize the SDK
Initialize Permutive in your
Application class. The Permutive object should be created once as a singleton.Track Your First Page View
Track a page view from an Activity using
PageTracker. PageTracker is the recommended approach as it integrates with Permutive’s standard events and enables richer insights.Next Steps
Page Tracking Guide
Learn how to track user engagement with content
Identity Management
Connect user behavior across sessions and devices
Google Ad Manager
Integrate with GAM for personalized advertising
Xandr/AppNexus
Integrate with Xandr ad platform
Video Tracking
For video streaming or CTV applications
Verification Guide
Comprehensive verification and troubleshooting
Troubleshooting
Error fetching configuration - please check that your workspace id & API key is correct
Error fetching configuration - please check that your workspace id & API key is correct
Cause: Invalid credentials or Android not enabled for your workspace.Solution:
- Verify your Workspace ID and API Key are correct
- Ensure you’re using
workspaceId(not the deprecatedprojectId) - Contact your Customer Success Manager to verify Android is enabled
Events showing as 'Rejected'
Events showing as 'Rejected'
Cause: Event schema doesn’t match what’s configured in your Permutive dashboard.Solution:
- Ensure the event name matches exactly (case-sensitive)
- Verify property names and types match your schema
- Check logs for detailed validation errors
No logs appearing
No logs appearing
Cause: Debug logging not enabled.Solution: Enable developer mode or use ADB commands shown in Step 4.
More Troubleshooting
See the complete troubleshooting guide for solutions to more issues