Measure Engine
AnalyticsThe Measure Engine is the foundation of Appflow v2. It captures every user interaction, processes subscription lifecycle events in real time, and transforms raw data into actionable analytics. From daily active users to monthly recurring revenue, cohort retention curves to conversion funnels, the Measure Engine gives you a complete picture of how your app is performing.
Key Features
Daily & Hourly Metrics
Track DAU, sessions, events, and revenue at daily or hourly granularity. All metrics are pre-aggregated for instant dashboard queries.
Cohort Retention
Automatically group users by install date and measure retention at weekly or monthly intervals. Spot drop-off points and measure the impact of product changes.
Funnel Analysis
Define multi-step funnels with any sequence of events. Measure conversion rates between steps and identify where users abandon key flows.
MRR Tracking
Real-time monthly recurring revenue calculations with breakdowns by plan, country, and acquisition source. Track new, expansion, contraction, and churned MRR.
Real-Time Event Streams
Events are available for querying within seconds of ingestion. Monitor live dashboards showing DAU, revenue, and events per minute as they happen.
Subscription State Machine
A deterministic state machine tracks every subscription through its lifecycle: trial, active, billing retry, grace period, expired, and resubscribed.
API Examples
All endpoints require an Authorization: Bearer YOUR_API_KEY header. The base URL for all requests is https://api-v2.appflow.ai.
Related Guides
Quick Start
Get from zero to your first event in under 5 minutes
iOS SDK Reference
Full API reference for the Swift SDK including event tracking
Apple Webhooks
Connect App Store Server Notifications for real-time subscription events
Build Engine
Create paywalls and experiments informed by Measure data
Optimize Engine
Use analytics data to power LTV predictions and churn scoring