insights command generates actionable metrics and comparisons from App Store analytics and sales data, helping you track app performance over time.
Overview
Insights commands analyze your appβs data to provide:- Week-over-week comparisons - Compare current week metrics to previous week
- Day-over-day comparisons - Track daily changes in subscription renewals
- Multiple data sources - Combine analytics metadata and sales reports
- App-scoped metrics - Automatically filter for your app and linked in-app purchases
Weekly Insights
Compare metrics between the current week and the previous week.--app- App ID (orASC_APP_IDenv)--source- Data source:analyticsorsales--week- Week start date (YYYY-MM-DD, Monday)
- sales: Requires
--vendor(orASC_VENDOR_NUMBERenv)
--output- Output format:json(default),table,markdown--pretty- Pretty-print JSON output
Analytics Source
Provides metadata-based insights from analytics report requests: Metrics:completed_requests- Number of completed analytics requestsreports_available- Number of unique reports availableinstances_available- Number of report instances availablebusiness_conversion_rate- Not derivable (marked unavailable)
Sales Source
Provides transaction-level insights from sales reports: Metrics:download_units- App downloads (free or paid)monetized_units- Units with revenue (app + IAP/subscriptions linked to app)units- Total units across all transaction typesdeveloper_proceeds- Total developer proceedscustomer_price- Total customer pricereport_rows- Number of sales report rows processedactive_devices- Not derivable (marked unavailable)
- Rows where
Apple Identifiermatches the app ID (for downloads) - Rows where
Parent Identifiermatches the app SKU or app ID (for IAP/subscriptions)
Daily Insights
Track day-over-day changes in subscription renewal metrics.--app- App ID (orASC_APP_IDenv)--vendor- Vendor number (orASC_VENDOR_NUMBERenv)--date- Report date (YYYY-MM-DD)
--output- Output format:json(default),table,markdown
renewal_rows- Count of rows whereSubscriptioncontains βRenewalβrenewal_units- Units from renewal rowsrenewal_developer_proceeds- Developer proceeds from renewalssubscription_rows- Count of rows with subscription datasubscription_units- Units from subscription rowssubscription_developer_proceeds- Developer proceeds from subscriptionsmonetized_units- Total units with revenue (app + linked IAP/subscriptions)report_rows- Total rows processed
Understanding Metrics
Metric Status
ok- Metric calculated successfully with both current and previous period dataunavailable- Metric cannot be calculated (with reason inreasonfield)
Delta Calculations
delta- Absolute difference:thisWeek - lastWeekorthisDay - previousDaydeltaPercent- Percentage change:((thisWeek - lastWeek) / lastWeek) * 100
Week Windows
Weeks run from Monday (start) through Sunday (end):- Week of
2026-02-16:2026-02-16(Mon) to2026-02-22(Sun) - Previous week:
2026-02-09(Mon) to2026-02-15(Sun)
Data Availability
Analytics Source:- Requires existing analytics report requests for the app
- Only counts completed requests within the week window
- Reports unavailable if API key lacks analytics permissions
- Requires valid vendor number
- Reports must be available for both the current and previous period
- Weekly reports use the Sunday end date (e.g.,
2026-02-22for week ending Sunday) - Daily reports use the exact date specified
Subscription Renewal Tracking
Daily insights identify renewal transactions by matching theSubscription column:
Recognized renewal states:
- Exact match: βRenewalβ (case-insensitive)
- Partial match: Any value containing βrenewβ (e.g., βAuto-Renew Subscriptionβ)
subscription_* and renewal_* metrics.
Output Formats
JSON (Default)
Deterministic, machine-readable output for automation:Table
Human-readable table format:Markdown
Markdown tables for documentation:Common Workflows
Weekly Performance Dashboard
Daily Subscription Monitor
Related Commands
- Analytics - Download raw analytics and sales reports
- Finance - Financial reports and payment data
- Subscriptions - Manage subscription products and pricing
