Skip to content

Downloads

Query deployment download analytics — how often each version bundle is fetched by client apps from the content server.

$ xc analytics downloads [options]

Options

In addition to the common options, this command accepts no extra filters.

Full Option Reference

Option Abbr Description Default
--workspace -w Workspace to query
--project -p Project to query Current project
--channel -c Filter by channel name
--version -v Filter by version number
--platform -t Filter by device platform
--locale -l Filter by device locale
--country -n Filter by country
--range -r Query the past N days 7
--interval -i Aggregation granularity daily

Output Columns

Column Description
Period Time bucket based on the selected interval
Channel Channel name
Version Deployment version
Platform Device platform
Locale Device locale
Country Country code
Cache Hits Number of cache hits (served without a full download)
Downloads Number of full bundle downloads
Errors Number of download errors

Columns corresponding to filters you specify are promoted to headers and removed from the table.

Examples

# Downloads over the past 7 days, daily
$ xc analytics downloads

# Filter to production channel, past 30 days
$ xc analytics downloads -c production -r 30

# iOS downloads only, weekly aggregation
$ xc analytics downloads -t ios -i weekly

# Specific version on a specific channel
$ xc analytics downloads -c staging -v 1.2.0