Prerequisites:
- SDK installed and initialized
- adb (Android Debug Bridge) installed on your computer
- Device configured for developer mode
Enable Debug Logging
Debug logging is disabled by default. Enable it using one of these methods:- Via ADB (Recommended)
- Via Code
Enable debug logging via command line:To disable later:
What to Verify
SDK Startup
When the SDK starts successfully, you should see:If you see an error:Check your Workspace ID, API Key, and ensure Android is enabled for your workspace.
This confirms SDK initialized successfully and credentials are correct.
Identity Tracking
When identity is set, you should see:Common aliases:
- aaid - Android Advertising ID (if using AaidAliasProvider)
- default - Default anonymous ID
- user_id - Custom user ID
- email_sha256 - Hashed email
Event Tracking
When events are tracked and accepted:If events are rejected, you’ll see schema validation errors with details about what needs to be fixed.
All events accepted = Your integration is working correctly!
PageTracker Lifecycle
If you’re using the PageTracker API, verify this sequence in logs:Page started
Page started
pageTracker = permutive.trackPage(...) is called.Page paused
Page paused
pageTracker.pause() is called (typically in onPause()).Page resumed
Page resumed
pageTracker.resume() is called (typically in onResume()).Page stopped
Page stopped
pageTracker.close() is called (typically in onDestroy()).Percentage viewed updated
Percentage viewed updated
pageTracker.updatePercentageViewed() is called.Schema Validation Errors
If events are rejected due to schema violations:- Unknown property - Remove property or add it to your schema in the dashboard
- Type mismatch - Fix the property type in your code:
Common Verification Issues
No logs appearing
No logs appearing
Solutions:
- Verify logging is enabled:
adb shell setprop log.tag.Permutive VERBOSE - Check adb is connected:
adb devices - Restart logcat:
adb logcat -cthenadb logcat -s Permutive - Verify SDK is initialized
Events not showing in dashboard
Events not showing in dashboard
Causes:
- Dashboard requires time to process events (5-10 minutes)
- Event filtering in dashboard
- Date/time range in dashboard
- Wait 10 minutes and refresh dashboard
- Check dashboard filters
- Verify date/time range includes now
Identity not persisting
Identity not persisting
Causes:
- Clearing app data between sessions
- Not setting identity on initialization
- Using test/emulator that resets
- Don’t clear app data during testing
- Set identity or use AAID provider at initialization
- Test on physical device
Verification Checklist
Use this checklist to verify your integration:Basic Setup
- SDK starts successfully (“Starting Permutive v1.10.0”)
- Configuration fetched without errors
- Workspace ID and API Key are correct
Identity
- Identity log appears on first launch
- Correct aliases are shown
- Identity persists across app restarts
Event Tracking
- Events are being published
- All events show “Accepted” (not rejected)
- No schema validation errors
- Correct event names (case-sensitive)
PageTracker (if using)
- “Page started” log appears
- “Page paused” when activity pauses
- “Page resumed” when activity resumes
- “Page stopped” when activity destroyed
Ad Targeting (if using)
- Segments appended to ad requests
- Targeting log appears when ads load
Dashboard
- Events appearing in dashboard (may take a few minutes)
- User cohorts showing (after qualifying events)
Next Steps
Once verification is complete:- Remove debug logging from production builds
- Test all user flows that include tracking
- Verify dashboard data after 24 hours of live usage
- Monitor for errors in production logs