New issue
Advanced search Search tips

Issue 781659 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Dec 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Add UMA metric to determine how often a WebAPK is launched from a deep link from Chrome

Project Member Reported by pkotw...@chromium.org, Nov 6 2017

Issue description

According to

https://uma.googleplex.com/p/chrome/histograms/?endDate=20171104&dayCount=28&histograms=Launch.HomeScreenSource&fixupData=true&showMax=true&filters=channel%2Ceq%2C4%2Csimple_version%2Ccnt%2C62.%2Cisofficial%2Ceq%2CTrue&implicitFilters=isofficial

37% of WebAPK launched are from a deep link. This is awesome only if those launches are not from a "deep link from Chrome." We should add a UMA metric to determine this.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Dec 12 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c6e70f8eaa56a217bd3843e095bbc3774d80ddc7

commit c6e70f8eaa56a217bd3843e095bbc3774d80ddc7
Author: Peter Kotwicz <pkotwicz@chromium.org>
Date: Tue Dec 12 16:48:24 2017

[Android WebAPK] Add metric for WebAPK being launched by Chrome external intent

This CL adds a new ShortcutSource for a WebAPK getting launched via an external
intent from Chrome. The purpose of the metric is to help quantify the user
benefit of WebAPKs. In particular:
- A user launching a WebAPK from an external app (e.g. from GMail) improves
the user's engagement with the web browser.
- A user launching a WebAPK from Chrome does not affect the user's engagement
with the web browser. Launching a WebAPK might be worsening the user
experience because the site that the user wants to visit takes longer to load
because a new APK needs to be launched and a new renderer process needs to be
spun up.

This CL divides the existing EXTERNAL_INTENT launch source for WebAPKs into
two buckets - one for intents originated from the browser that hosts the WebAPK
(i.e. links in the tabbed browser that were intercepted), and one for intents
that originated from other Android apps.

BUG= 781659 

Change-Id: I4fa9d0a7d57d79a33df6a3de88986dba49a373e9
Reviewed-on: https://chromium-review.googlesource.com/754594
Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org>
Reviewed-by: Dominick Ng <dominickn@chromium.org>
Reviewed-by: Xi Han <hanxi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#523452}
[modify] https://crrev.com/c6e70f8eaa56a217bd3843e095bbc3774d80ddc7/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInfo.java
[modify] https://crrev.com/c6e70f8eaa56a217bd3843e095bbc3774d80ddc7/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappInfo.java
[modify] https://crrev.com/c6e70f8eaa56a217bd3843e095bbc3774d80ddc7/chrome/android/junit/src/org/chromium/chrome/browser/webapps/WebApkInfoTest.java
[modify] https://crrev.com/c6e70f8eaa56a217bd3843e095bbc3774d80ddc7/chrome/android/webapk/shell_apk/shell_apk_version.gni
[modify] https://crrev.com/c6e70f8eaa56a217bd3843e095bbc3774d80ddc7/chrome/android/webapk/shell_apk/src/org/chromium/webapk/shell_apk/HostBrowserLauncher.java
[modify] https://crrev.com/c6e70f8eaa56a217bd3843e095bbc3774d80ddc7/chrome/android/webapk/shell_apk/src/org/chromium/webapk/shell_apk/MainActivity.java
[modify] https://crrev.com/c6e70f8eaa56a217bd3843e095bbc3774d80ddc7/chrome/android/webapk/shell_apk/src/org/chromium/webapk/shell_apk/ShareActivity.java
[modify] https://crrev.com/c6e70f8eaa56a217bd3843e095bbc3774d80ddc7/chrome/browser/android/shortcut_info.h
[modify] https://crrev.com/c6e70f8eaa56a217bd3843e095bbc3774d80ddc7/tools/metrics/histograms/enums.xml

Status: Fixed (was: Started)

Sign in to add a comment