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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 2301263004: Add WebAPK installation metrics. (Closed)
Patch Set: Rebase. 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..35420f35b92ec276ab25c3297e0f3a82e3d8041c 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">
dominickn 2016/09/09 08:14:12 Make sure you update this description when you ren
Xi Han 2016/09/09 15:37:32 This won't be renamed to InstallStateOnDismiss:( T
+ <owner>hanxi@chromium.org</owner>
+ <owner>pkotwicz@chromium.org</owner>
+ <owner>yfriedman@chromium.org</owner>
+ <summary>
+ WebAPKs are installed via App banners or via user clicking Add-To-Homescreen
dominickn 2016/09/09 08:14:12 Nit: change the first sentence for all of these to
Xi Han 2016/09/09 15:37:32 Done.
+ from the app menu. This stat tracks the WebAPKs installation events,
+ including whether the banner is ignored, whether the banner is dismissed by
+ user before or during the installation, as well as whether the installation
dominickn 2016/09/09 08:14:12 Nit: by the user
Xi Han 2016/09/09 15:37:32 Done.
+ is sucessful or failed.
dominickn 2016/09/09 08:14:12 Nit: whether the installation was successful.
Xi Han 2016/09/09 15:37:32 Done.
+ </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 installed via App banners or via user clicking Add-To-Homescreen
+ from the app menu. 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="Banner is ignored"/>
dominickn 2016/09/09 08:14:12 WebAPK banner was ignored
Xi Han 2016/09/09 15:37:32 Done.
+ <int value="1" label="Banner with the Add-to-Homescreen 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