Overview
The Analytics API provides powerful insights into your community’s engagement, helping you measure success, identify trends, and optimize your gamification strategies. Access real-time and historical data across all aspects of your platform.Base URL
Replace
{subdomain}
with your organization’s subdomain (e.g., acme-corp.nudj.cx
).Authentication
Analytics tokens require read-only
analytics
scope. Data is automatically filtered to your organization based on the subdomain + token binding. See the Authentication guide for setup instructions.Available Analytics
User Analytics
Track user engagement, activity patterns, and progression metrics
Community Insights
Monitor overall community health, growth, and activity trends
Challenge Performance
Analyze challenge completion rates, participation, and user journeys
Achievement Tracking
Measure achievement unlock rates and milestone progression
Rewards Analytics
Track reward distributions, redemptions, and inventory management
Key Metrics Available
Engagement Metrics
- Daily/weekly/monthly active users
- Session duration and frequency
- Feature adoption rates
- User retention cohorts
Gamification Performance
- Points and XP distribution
- Challenge completion funnels
- Achievement unlock patterns
- Leaderboard dynamics
Rewards & Incentives
- Reward redemption rates
- Inventory turnover
- Distribution efficiency
- User satisfaction scores
Community Health
- Content creation volume
- Social interaction rates
- Community growth velocity
- User lifecycle stages
Quick Start
Common Use Cases
Building Executive Dashboards
Building Executive Dashboards
Combine community overview, user metrics, and rewards analytics to create comprehensive executive dashboards showing ROI and engagement trends.
User Segmentation Analysis
User Segmentation Analysis
Use user analytics endpoints to segment users by activity level, achievement progress, and reward redemption patterns for targeted campaigns.
Challenge Optimization
Challenge Optimization
Analyze challenge funnel metrics to identify drop-off points and optimize difficulty curves for better completion rates.
Reward Inventory Management
Reward Inventory Management
Track reward redemption velocity and forecast inventory needs using rewards analytics endpoints.
Engagement Reporting
Engagement Reporting
Generate automated weekly/monthly reports showing user activity, content creation, and community growth metrics.
Response Format
All Analytics API responses follow a consistent structure:Best Practices
- Use pagination for large datasets
- Cache responses client-side for dashboard displays
- Batch requests when fetching multiple metrics
- Handle rate limits gracefully with exponential backoff
Privacy & Compliance
The Analytics API provides operational data necessary for rewards management and user engagement tracking. Access to user data is controlled through role-based permissions and audit logging.
Data Access Levels
Analytics API (This API)
- Operational data: Includes user identifiers, emails, and activity data necessary for:
- Reward distribution and redemption tracking
- Winner selection and giveaway management
- User engagement monitoring and support
- Fraud detection and prevention
- Access control: Requires admin-level API tokens with analytics scope
- Audit trail: All data access is logged for compliance
Public/Integration APIs
- Anonymized data: No PII exposed to end users
- User-specific data: Only accessible via authenticated user sessions
- Aggregated metrics: Statistics presented without individual identification
Compliance Framework
Access to user data through the Analytics API is justified under legitimate business interests for platform administration and service delivery.
Legal Basis for PII Processing
- Contract fulfillment: Required for reward delivery and service provision
- Legitimate interests: Platform administration, fraud prevention, and user support
- Consent: Users agree to data processing via Terms of Service
- Legal obligations: Tax reporting for high-value rewards, anti-money laundering
Security Controls
- Role-based access: Only authorized administrators can access PII
- API token scoping: Tokens limited to specific operations and data sets
- Encryption: Data encrypted in transit (TLS 1.3) and at rest (AES-256)
- Access logging: Comprehensive audit trail of all data access
- Data minimization: Only necessary fields exposed for each use case
Compliance Features
- GDPR compliance:
- Data portability exports available
- Right to erasure supported via Admin API
- Privacy-by-design architecture
- Geographic controls: Data residency options for EU/US/APAC
- SOC 2 Type II: Annual audits for security controls
- ISO 27001: Information security management certification
Best Practices for PII Handling
- Access Control
- Data Handling
- Compliance Monitoring
- Implement principle of least privilege
- Rotate API tokens regularly (90 days recommended)
- Use separate tokens for different environments
- Enable IP allowlisting for production access
- Require MFA for admin accounts that generate tokens
Reward-Specific Compliance
For reward distribution and redemption:- Tax reporting: Requirements vary by jurisdiction and prize value
- Audit trails: Complete history of reward allocations and redemptions
- Fraud prevention: Pattern detection and manual review capabilities