Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(660)

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 2301263004: Add WebAPK installation metrics. (Closed)
Patch Set: domnickn@'s comments. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index fb9037b503330289916dfb4956ee1dac297a8504..6867c1ae88d49c86d062877cd0c8a18bcb089344 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -65287,6 +65287,43 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="WebApk.Install.InstallEvent" enum="WebApkInstallEvent">
+ <owner>hanxi@chromium.org</owner>
+ <owner>pkotwicz@chromium.org</owner>
+ <owner>yfriedman@chromium.org</owner>
+ <summary>
+ WebAPKs are PWAs wrapped in an Android apk, installed from an app banner or
+ the add to homescreen menu item. This stat tracks the WebAPKs installation
+ events, including whether the banner is ignored, whether the banner is
+ dismissed by the user before or during the installation, as well as whether
+ the installation was successful.
+ </summary>
+</histogram>
+
+<histogram name="WebApk.Install.StartType" enum="WebApkStartType">
+ <owner>hanxi@chromium.org</owner>
+ <owner>pkotwicz@chromium.org</owner>
+ <owner>yfriedman@chromium.org</owner>
+ <summary>
+ WebAPKs are PWAs wrapped in an Android apk, installed from an app banner or
+ the add to homescreen menu item. If the installation is via app banner, user
+ could either accept to install or dismiss the banner; while via add to
+ homescreen menu, the installation will start automatically. This stat tracks
+ whether the installation is triggered by app banner, as well as the ways
+ that user accepets to install a WebAPK.
+ </summary>
+</histogram>
+
+<histogram name="WebApk.Install.UserAction" enum="WebApkUserAction">
+ <owner>hanxi@chromium.org</owner>
+ <owner>pkotwicz@chromium.org</owner>
+ <owner>yfriedman@chromium.org</owner>
+ <summary>
+ This stat tracks whether user clicks the Open button on the banner after a
+ WebAPK is installed.
+ </summary>
+</histogram>
+
<histogram name="Webapp.Splashscreen.BackgroundColor"
enum="SplashscreenColorStatus">
<owner>mlamouri@chromium.org</owner>
@@ -97945,6 +97982,25 @@ To add a new entry, add it with any value and run test to compute valid value.
<int value="4" label="Session, Warmup"/>
</enum>
+<enum name="WebApkInstallEvent" type="int">
+ <int value="0" label="WebAPK banner is ignored"/>
+ <int value="1" label="Banner with the add toHomescreen button is dismissed"/>
+ <int value="2" label="Banner with the Adding button is dismissed"/>
+ <int value="3" label="Success"/>
+ <int value="4" label="Failed"/>
+</enum>
+
+<enum name="WebApkStartType" type="int">
+ <int value="0" label="Installation triggered from the banner"/>
+ <int value="1" label="Installation started from the banner"/>
+ <int value="2" label="Installation started from the add to homescreen menu"/>
+</enum>
+
+<enum name="WebApkUserAction" type="int">
+ <int value="0" label="Open button clicked"/>
+ <int value="1" label="Open button dismissed"/>
+</enum>
+
<enum name="WebBluetoothConnectGATTOutcome" type="int">
<int value="0" label="Success"/>
<int value="1" label="Device no longer in range"/>

Powered by Google App Engine
This is Rietveld 408576698