collectForSession().
What is Device Fingerprinting?
Device fingerprinting is the process of collecting various data points from a device to create a unique identifier. This fingerprint helps Kount’s fraud detection system:- Identify returning devices across different sessions
- Detect suspicious patterns and anomalies
- Assess risk levels for transactions
- Distinguish between legitimate users and fraudsters
The device fingerprint is not based on personally identifiable information (PII). It uses technical device characteristics that are privacy-safe.
Data Categories
The SDK collects data from several categories to build a comprehensive device profile:Hardware Information
- Device model and manufacturer
- Screen resolution and density
- Available sensors
- CPU architecture
- Memory specifications
Software Information
- Android OS version
- Installed app packages (if available)
- System fonts and languages
- Browser user agent
- Time zone and locale settings
Network Information
- IP address
- Network type (WiFi, cellular, etc.)
- Connection characteristics
- Network operator information
Location Information
- GPS coordinates (if permission granted)
- City-level location data
- Time zone offset
The SDK automatically adapts data collection based on Android version and available permissions. On devices without location permissions, for example, the SDK still collects all other data points.
Collection Process
Here’s how data collection works:Collection Lifecycle
Initialization
When you call
collectForSession(), the SDK initializes all data collectors based on your configuration and available permissions.Data Gathering
Multiple collectors run in parallel to gather device information efficiently. This process typically takes 1-3 seconds depending on device capabilities.
Data Transmission
Collected data is encrypted and transmitted to Kount’s servers. The SDK uses secure HTTPS connections to protect data in transit.
Privacy Considerations
Kount takes privacy seriously and follows industry best practices:No PII Collection
No PII Collection
The SDK does not collect:
- User names or email addresses
- Phone numbers or contact lists
- Photos, files, or media
- Passwords or authentication tokens
- Messages or communication content
- Precise GPS coordinates without explicit permission
Data Encryption
Data Encryption
All data transmitted from the device is encrypted using industry-standard TLS/SSL protocols. Data at rest on Kount’s servers is also encrypted.
Compliance
Compliance
The SDK is designed to comply with:
- GDPR (General Data Protection Regulation)
- CCPA (California Consumer Privacy Act)
- PCI DSS requirements
- Android’s privacy guidelines
User Consent
User Consent
For location data collection, the SDK respects Android’s permission system. You must request and obtain user consent for
ACCESS_FINE_LOCATION permission. See the Permission Handling guide for details.Collection Timing
When should you trigger data collection?Recommended Timing Scenarios
| Scenario | When to Collect | Example |
|---|---|---|
| E-commerce | When user views checkout page | After adding items to cart, before payment |
| Account Creation | When signup form is displayed | Before user submits registration |
| Login | When login screen loads | Before authentication attempt |
| In-App Purchases | When purchase flow starts | Before displaying payment options |
| High-Risk Actions | Before sensitive operations | Money transfer, password change, etc. |
Collection Performance
The SDK is optimized for minimal performance impact:- Asynchronous: All collection happens on background threads
- Non-blocking: Your UI remains responsive during collection
- Efficient: Typical collection completes in 1-3 seconds
- Battery-friendly: Minimal battery consumption
- Network-optimized: Small payload size (typically < 50KB)
Enhanced Data Collection
Starting with version 4.0.0, the SDK includes enhanced data collection capabilities:Features are automatically enabled based on the device’s Android version. You don’t need to write version-specific code—the SDK handles it for you.
Monitoring Collection Status
You can check the collection status at any time:Next Steps
Session Management
Learn how session IDs work and how to use them
Permission Handling
Implement location permissions for enhanced collection
Analytics Collection
Enable optional behavioral analytics
API Reference
Explore the complete SDK API
