You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/rn-codepush/codepush-analytics.md
+26-20Lines changed: 26 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,39 +4,45 @@ description: Installation and usage metrics for OTA updates
4
4
weight: 8
5
5
---
6
6
7
-
Customers using a CodePush server managed by Codemagic get access to analytics about their monthly usage as well as detailed deployment metrics on the OTA Updates page.
7
+
CodePush analytics are available via the dashboard or CLI so you can use the one suitable to your workflow.
8
8
9
-
These metrics allow developers to:
9
+
## Accessing your metrics
10
10
11
-
- monitor update adoption
12
-
- detect installation problems
13
-
- evaluate rollout success
14
-
- understand overall OTA usage
11
+
### Dashboard
15
12
16
-
Analytics are typically visible in the Codemagic **OTA Updates dashboard**.
13
+
The Codemagic OTA Updates dashboard gives a visual overview of your team's OTA activity.
17
14
18
-
These insights help teams decide when to proceed with a rollout, adjust or halt rollout using the CodePush CLI, or roll back—see [Production control](/rn-codepush/production-control/).
15
+
The main page shows team-level totals for the current month:
19
16
20
-
## Usage analytics
17
+
-**Downloads** - total update downloads across all projects
18
+
-**Installs** - total successful installs across all projects
21
19
22
-
The main OTA Updates page gives an overview of your team's OTA usage across all projects (apps), grouped by month.
20
+
It also includes a time-series chart of succeeded and failed installs, updated hourly.
23
21
24
-
***Downloads** - the total number of update downloads across all projects in a given month
25
-
***Installs** - the total number of successful update installs across all projects in a given month
22
+
Each project is listed below with its latest release and per-release download, install, and failure counts. Clicking through to a project shows time-series charts for downloads, installs, and failures broken down by release version, with a configurable date range.
26
23
27
-
Additionally, the page includes an installation chart showing the daily number of successful and failed installs, helping you understand when end users install updates and identify trends or potential issues.
24
+
### CLI
28
25
29
-
{{<notebox>}}
30
-
**Note**: Data on the page is updated hourly.
31
-
{{</notebox>}}
26
+
You can view per-release metrics directly in the terminal.
32
27
33
-
## Projects and release metrics
28
+
|**Metric**|**Description**|
29
+
| --- | --- |
30
+
| Active | Number of devices currently running this release |
31
+
| Total | Total successful installs of this release |
32
+
| Pending | Downloaded but not yet installed |
33
+
| Rollbacks | Number of automatic client-side rollbacks |
34
34
35
-
Your projects (apps) on the server are listed in the **Projects** section of the OTA Updates page.
35
+
Run the following command to list deployment metrics for an app:
36
36
37
-
To view detailed metrics for a specific project and deployment channel, click the **arrow** icon next to the project and select the desired **Deployment channel** at the top of the page.
37
+
{{< highlight bash "style=paraiso-dark">}}
38
+
code-push deployment ls <app_name>
39
+
{{< /highlight >}}
40
+
41
+
The following command shows these metrics for all recent releases in a deployment, which is useful for comparing adoption across versions.
38
42
39
-
The page then lists all updates to the project for the selected deployment channel and shows the number of downloads, successful installs, and failed installs for each update. You can also select a time period at the top of the page to track adoption trends over time.
43
+
{{< highlight bash "style=paraiso-dark">}}
44
+
code-push deployment history <app_name> Production
0 commit comments