Transitions
Query page transition analytics — how users navigate between top-level fragments in your app.
Options
In addition to the common options, this command supports directional page filtering:
| Option | Abbr | Description |
|---|---|---|
--from |
-f |
Filter by source page name |
--to |
-t |
Filter by destination page name |
Note
The transitions command does not support --interval. Data is aggregated
over the entire time range specified by --range.
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 |
Filter by device platform (no short form — -t is reserved for --to) |
||
--from |
-f |
Filter by source page | |
--to |
-t |
Filter by destination page | |
--locale |
-l |
Filter by device locale | |
--country |
Filter by country | ||
--range |
-r |
Query the past N days | 7 |
Output Columns
| Column | Description |
|---|---|
| Channel | Channel name |
| Version | Deployment version |
| Platform | Device platform |
| Locale | Device locale |
| Country | Country code |
| From Page | Source page name |
| To Page | Destination page name |
| Count | Number of transitions |
| Avg % | Average percentage of users who made this transition |
| Avg Time | Average time spent on the source page before transitioning |
Columns corresponding to filters you specify are promoted to headers and removed from the table.
Examples
# All transitions over the past 7 days
$ xc analytics transitions
# Where do users go after the home page?
$ xc analytics transitions -f /home
# Who lands on the checkout page?
$ xc analytics transitions -t /checkout
# Specific flow on production, past 30 days
$ xc analytics transitions -f /home -t /products -c production -r 30
# iOS navigation patterns
$ xc analytics transitions --platform ios