Overview
The Permutive Android SDK enables user segmentation, personalization, and ad targeting in your Android application. Track user behavior, manage identities across devices, and deliver targeted advertising through integrations with major ad platforms. Current Version: 1.10.0 (Core) | 2.2.0 (Google Ads) | 1.7.0 (AppNexus)What’s New in 1.10.0: Contextual Cohorts for real-time content-based targeting, plus Dagger dependency injection support.
Getting Started
New to the Permutive Android SDK? Start here.Quick Start Guide
Get up and running with your first page view in minutes
Installation
Detailed installation and dependency setup
Initialization
SDK initialization patterns and configuration
Verification
Verify your integration is working correctly
Core Concepts
Understand the fundamental concepts of the Permutive SDK.Identity Management
Track users across devices and sessions
Event Properties
Structure and validate event data
Cohorts and Activations
Understanding user segmentation
Contextual Data
Content-based real-time targeting
Features
Detailed guides for specific SDK features.Page Tracking
Track pageviews and user engagement (recommended approach)
Event Tracking
Track custom events
Video Tracking
Track video content viewing
Video Ad Tracking
Track video advertisement engagement
Triggers Provider
React to cohort changes in real-time
Integrations
Connect Permutive with ad platforms and other services.View All Integrations
Google Ad Manager, Xandr, and more
AAID Provider
Automatic advertising ID tracking
Common Tasks
Track a Page View (Recommended)
Track a Page View (Recommended)
PageTracker is the recommended approach for tracking user interactions as it integrates with Permutive’s standard events and provides richer insights.
Set User Identity
Set User Identity
React to Cohort Changes
React to Cohort Changes
Target Google Ads
Target Google Ads
Requirements
| Requirement | Version |
|---|---|
| Android API | 21+ (Android 5.0 Lollipop) |
| Compile SDK | 34+ |
| Java | 8+ (JVM target 1.8) |
| Kotlin | 1.6+ (if using Kotlin) |
Key Concepts
Cohorts vs. Activations
Cohorts vs. Activations
- **Cohorts**: All segments a user belongs to - **Activations**: Cohorts configured for specific ad platforms
Behavioral vs. Contextual
Behavioral vs. Contextual
- **Behavioral**: Based on user history (e.g., "sports enthusiast") - **Contextual**: Based on current content (e.g., viewing sports article right now)
Identity Resolution
Identity Resolution
Multiple identifiers (email, user ID, ad ID) linked to single user profile for cross-device tracking.
Additional Resources
- Guides
- Reference
Best practices, patterns, and how-tos.
- Migration: v1.9.x to v1.10.x - Upgrade to the latest version
Coming Soon: Architecture Patterns, Testing Strategies, GDPR Compliance, and Performance Optimization guides are being developed.
FAQ
What's the difference between PageTracker and EventTracker?
What's the difference between PageTracker and EventTracker?
PageTracker is the recommended approach for most use cases. It automatically tracks Pageview events, measures engagement time and scroll depth, and enables contextual cohorts when URLs are provided.EventTracker is for specialized cases where you need to track custom events that don’t fit the page model.
How do I enable debug logging?
How do I enable debug logging?
Enable developer mode in your code:Or via ADB:
What identifiers should I use for identity management?
What identifiers should I use for identity management?
Use hashed emails (SHA-256), internal user IDs, or mobile advertising IDs. Never send plain text PII. See the Identity Management guide for details.
How long does it take for events to appear in the dashboard?
How long does it take for events to appear in the dashboard?
Events typically appear within 5 minutes. If you see “Accepted: 1 / 1” in your debug logs, the event was successfully sent.
Getting Help
- Troubleshooting Guide - Solutions to common issues
- Customer Success Manager (CSM) - For enabling features and exploring use cases
- Technical Services - For technical setup and configuration
- Support - For troubleshooting and help