Agent commands

asc web analytics commands: the App Store Connect analytics dashboards as data: overview, sources, product pages, in-app events, App Clips, campaigns, sales, subscriptions, offers, benchmarks, metrics, retention and cohorts.

Reads the App Store Connect Analytics dashboards as the website shows them. This is separate from the Analytics Reports API behind asc analytics (see asc: analytics and finance).

These commands use the Team owner’s Apple web session; see The web session. Picking an Apple team (--auth), output, pagination, --confirm and exit codes work as described on the asc page. The flag tables leave out --output and --pretty (see Output) and, where a command has them, --limit, --next and --paginate (see Pagination). Commands with --developer-team need it only in the case described under The web session.

Every web analytics command only reads; none of them changes anything in App Store Connect. --app is required on all of them; without it the app ID comes from ASC_APP_ID. Dates are YYYY-MM-DD, and --end must be on or after --start. Wrong or missing flags fail before anything is sent to Apple (--app is required, --start is required, --start must be YYYY-MM-DD, --end must be on or after --start). If Apple answers 403, the Apple account’s role lacks access to Analytics for this app or the web session expired: check with asc web auth status.

With --output table or --output markdown the commands print the dashboard as labeled sections or rows (for example Acquisition, Sales, Subscriptions), with values formatted as percentages or amounts. With JSON output they print the full data, described for each command below.

Subcommands

Subcommand What it does
overview The Analytics overview dashboard.
sources Acquisition › Sources: product page views by source.
product-pages Whether the Product Pages tab is available for the app.
in-app-events Acquisition › In-App Events: events and the first event’s metrics.
app-clips Whether the App Clips tab is available for the app.
campaigns Acquisition › Campaigns.
sales Monetization › Sales.
subscriptions The subscriptions summary.
offers Whether the Offers tab is available for the app.
benchmarks The Benchmarks summary for the latest available week.
metrics Any analytics measures over a date range.
retention App retention over a date range.
cohorts Cohort data such as download-to-paid or subscription retention.

web analytics overview

The Analytics overview: acquisition, sales and subscription summary cards, top breakdowns, retention and cohorts.

Flag What it does Default
--app App ID. Required, or set ASC_APP_ID. —
--start First day, YYYY-MM-DD. Required. —
--end Last day, YYYY-MM-DD. Required. —
Terminal window
asc web analytics overview --app "123456789" --start 2025-12-24 --end 2026-03-23

Prints appId, startDate, endDate and:

  • acquisition: first-time downloads, redownloads, conversion rate, impressions, product page views and updates.
  • sales: proceeds, paying users and In-App Purchases.
  • subscriptions: active plans, paid plans and monthly recurring revenue.
  • planTimeline: net paid plans, paid plan starts and paid plan churn over the range.
  • downloadToPaid: download-to-paid cohorts at day 1, 7 and 35.
  • retention: app retention for the 30 days ending on --end.
  • featureBreakdowns and appUsageBreakdowns: app opens by in-app event, total downloads by campaign and crashes by app version.

Each summary card has measure, total, previousTotal (the period before) and percentChange (a ratio: 0.25 is +25%).

web analytics sources

Acquisition › Sources: product page views (unique devices) by source over the date range.

Flag What it does Default
--app App ID. Required, or set ASC_APP_ID. —
--start First day, YYYY-MM-DD. Required. —
--end Last day, YYYY-MM-DD. Required. —
Terminal window
asc web analytics sources --app "123456789" --start 2025-12-24 --end 2026-03-23

Covers the top 10 sources, with daily values. Prints appId, startDate, endDate, measure (pageViewUnique), groupDimension (source) and result.results, one entry per source with its group and daily data. The table and markdown views show, per source, the daily average, the total and the last day’s value.

web analytics product-pages

Whether the Product Pages tab is available for the app, with the measures and dimensions that tab uses.

Flag What it does Default
--app App ID. Required, or set ASC_APP_ID. —
Terminal window
asc web analytics product-pages --app "123456789"

Prints appId, page, status (available when the app has at least one custom product page, otherwise unavailable), reason, relevantMeasures, relevantDimensions and hints (customProductPages count and bundleId). If Apple returns no analytics information for the app, the command fails with analytics app-info returned no results for app …: check the app ID.

web analytics in-app-events

Acquisition › In-App Events: the app’s events and the metrics of the first event in the list (event impressions, total downloads and app opens).

Flag What it does Default
--app App ID. Required, or set ASC_APP_ID. —
--start First day, YYYY-MM-DD. Required. —
--end Last day, YYYY-MM-DD. Required. —
Terminal window
asc web analytics in-app-events --app "123456789" --start 2025-12-24 --end 2026-03-23

The range is cut down to the days Analytics has data for. Prints appId, requestedStartDate, requestedEndDate, effectiveStartTime and effectiveEndTime (the range actually used), selectedEventId, events (each with id, name, status, published, start, end) and selectedMetrics. With no events, the list is empty and there are no metrics. If the whole range lies outside the days Analytics has data for, the command fails with requested range is outside the available analytics window: pick more recent dates.

web analytics app-clips

Whether the App Clips tab is available for the app, with the measures that tab uses.

Flag What it does Default
--app App ID. Required, or set ASC_APP_ID. —
Terminal window
asc web analytics app-clips --app "123456789"

Prints the same fields as product-pages. status is available when the app has an App Clip, otherwise unavailable; relevantMeasures are App Clip views, installs, sessions and crashes; hints are hasAppClips and bundleId.

web analytics campaigns

Acquisition › Campaigns.

Flag What it does Default
--app App ID. Required, or set ASC_APP_ID. —
--start First day, YYYY-MM-DD. Required. —
--end Last day, YYYY-MM-DD. Required. —
Terminal window
asc web analytics campaigns --app "123456789" --start 2025-12-24 --end 2026-03-23

Prints appId, startDate, endDate and result.results, one entry per campaign with its title and measures: impressions, total downloads, proceeds and sessions. When Apple has no campaign data for the range, the table shows “No campaigns data”.

web analytics sales

Monetization › Sales: summary cards, revenue cohort cards and top revenue breakdowns.

Flag What it does Default
--app App ID. Required, or set ASC_APP_ID. —
--start First day, YYYY-MM-DD. Required. —
--end Last day, YYYY-MM-DD. Required. —
Terminal window
asc web analytics sales --app "123456789" --start 2025-12-24 --end 2026-03-23 --output markdown

Prints appId, startDate, endDate and:

  • summary: proceeds, paying users and In-App Purchases, each with total, previousTotal and percentChange.
  • downloadToPaid and proceedsPerDownload: cohorts at day 1, 7, 14, 35 and 60.
  • revenueByPurchase and revenueByTerritory: proceeds by In-App Purchase and by territory.

web analytics subscriptions

The subscriptions summary: active and paid plans, monthly recurring revenue, net plan timeline, active plans by subscription and retention cohorts.

Flag What it does Default
--app App ID. Required, or set ASC_APP_ID. —
--start First day, YYYY-MM-DD. Required. —
--end Last day, YYYY-MM-DD. Required. —
Terminal window
asc web analytics subscriptions --app "123456789" --start 2025-12-24 --end 2026-03-23 --output table

Prints appId, startDate, endDate and:

  • summary: active plans, paid plans and monthly recurring revenue.
  • planTimeline: net paid plans, paid plan starts and paid plan churn over the range.
  • activePlansBySubscription: active plans per subscription on the --end day.
  • subscriptionRetention: retention at month 1, 3, 6 and 12 for the 12 completed months up to --end (if --end is not the last day of a month, up to the month before).

web analytics offers

Whether the Offers tab is available for the app, with the measures that tab uses.

Flag What it does Default
--app App ID. Required, or set ASC_APP_ID. —
Terminal window
asc web analytics offers --app "123456789"

Prints the same fields as product-pages. status is unavailable when the app has no subscriptions. Otherwise it is unknown: Apple does not say whether subscription offers exist, and the tab may stay disabled until they do. hints are hasSubscriptions and bundleId.

web analytics benchmarks

The Benchmarks summary for the latest available week.

Flag What it does Default
--app App ID. Required, or set ASC_APP_ID. —
Terminal window
asc web analytics benchmarks --app "123456789"

Compares the app with its peer groups in its primary category. Prints appId, category, weekStart, weekEnd, peerGroupIds, selectedGroups and metrics: conversion rate, proceeds per paying user, crash rate, day 1, 7 and 28 retention, day 35 proceeds per download and day 35 download-to-paid conversion. Each metric has the app’s value (appValue) and the peers’ 25th, 50th and 75th percentiles (p25, p50, p75). If Apple has no Analytics data range for the account yet, the command fails with benchmarks settings did not include analytics data range.

web analytics metrics

Any analytics measures over a date range.

Flag What it does Default
--app App ID. Required, or set ASC_APP_ID. —
--start First day, YYYY-MM-DD. Required. —
--end Last day, YYYY-MM-DD. Required. —
--measures Comma-separated measure keys, e.g. units,redownloads. Required. —
--frequency day, week or month. day
Terminal window
asc web analytics metrics --app "123456789" --start 2025-12-24 --end 2026-03-23 --measures units,redownloads

Measure keys are App Store Connect’s own, for example units (first-time downloads), redownloads, totalDownloads, conversionRate, impressionsTotal, pageViewUnique, pageViewCount, updates, proceeds, payingUsers, iap, sessions and crashes. Prints appId, startDate, endDate, frequency and result.results, one entry per measure with measure, total, previousTotal, percentChange and the series in data. Without --measures it fails with --measures is required; any other --frequency fails with --frequency must be one of day, week, month.

web analytics retention

App retention over a date range.

Flag What it does Default
--app App ID. Required, or set ASC_APP_ID. —
--start First day, YYYY-MM-DD. Required. —
--end Last day, YYYY-MM-DD. Required. —
--frequency day, week or month. day
Terminal window
asc web analytics retention --app "123456789" --start 2026-02-22 --end 2026-03-23

Prints appId, startDate, endDate, frequency and result.results, one entry per download cohort (appPurchase, the cohort’s date) with data points of date, retentionPercentage and value. Any other --frequency fails with --frequency must be one of day, week, month.

web analytics cohorts

Cohorts, such as download-to-paid or subscription retention.

Flag What it does Default
--app App ID. Required, or set ASC_APP_ID. —
--start First day, YYYY-MM-DD. Required. —
--end Last day, YYYY-MM-DD. Required. —
--measures Comma-separated cohort measure keys, e.g. cohort-download-to-paid-rate. Required. —
--periods Comma-separated cohort periods, e.g. d1,d7,d35 or m1,m3,m6,m12. Required. —
--frequency day, week or month. day
Terminal window
asc web analytics cohorts --app "123456789" --start 2025-12-24 --end 2026-03-23 --measures cohort-download-to-paid-rate --periods d1,d7,d35

Cohort measure keys include cohort-download-to-paid-rate, cohort-download-proceeds-per-download-average and cohort-subscription-retention-rate. Prints appId, startDate, endDate, frequency, measures, periods and result.results, a set of parallel columns: date, period and one column per measure. Without --measures or --periods it fails with --measures is required or --periods is required; any other --frequency fails with --frequency must be one of day, week, month.