New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 813104 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Feature

Blocking:
issue 800418



Sign in to add a comment

Implement UMA for TWA

Project Member Reported by owe...@chromium.org, Feb 16 2018

Issue description

Steps:
- Decide what metrics we want
- Check they're implemented, or implement them
 

Comment 1 by peconn@chromium.org, May 16 2018

Owner: peconn@chromium.org
Status: Started (was: Untriaged)
From meeting with PM, we'd like metrics for:
- Usage time (over all clients).
- Usage counts (to compare with CCTs).
- Verification Outcome (including if the verification was cached, this will give us an insight into how often TWAs are used offline).
- Maybe UKM for clients (so we can see how many developers are using TWAs/what the most popular TWAs are).

Comment 3 by peconn@chromium.org, May 18 2018

Cc: bauerb@chromium.org
Bernhard, with regards to the UKM are we talking about Rappor here? I'm not sure it's suitable (specifically the expectation of receiving >500,000 reports per time interval).

Comment 4 by bauerb@chromium.org, May 18 2018

Components: UI>Browser>Mobile>CustomTabs
Labels: -Type-Bug Type-Feature
No, see go/ukm and go/ukm-api.
Project Member

Comment 5 by bugdroid1@chromium.org, Jun 4 2018

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

commit 5bc81b5837cd658c6d8b9fdccb56d0406527b3d9
Author: Peter E Conn <peconn@chromium.org>
Date: Mon Jun 04 09:43:14 2018

🔁 Collect UKM when verification succeeds for a TWA.

Collect an User Keyed Metric for when verification succeeds for a
Trusted Web Activity. This will give us info on what sites TWAs are
used for.

Bug:  813104 
Change-Id: Id391610553209baa027e5e32d80f7b25a4944f65
Reviewed-on: https://chromium-review.googlesource.com/1082444
Commit-Queue: Peter Conn <peconn@chromium.org>
Reviewed-by: Robert Kaplow <rkaplow@chromium.org>
Reviewed-by: Bernhard Bauer <bauerb@chromium.org>
Reviewed-by: Benoit L <lizeb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#564036}
[add] https://crrev.com/5bc81b5837cd658c6d8b9fdccb56d0406527b3d9/chrome/android/java/src/org/chromium/chrome/browser/browserservices/UkmRecorder.java
[modify] https://crrev.com/5bc81b5837cd658c6d8b9fdccb56d0406527b3d9/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java
[modify] https://crrev.com/5bc81b5837cd658c6d8b9fdccb56d0406527b3d9/chrome/android/java_sources.gni
[modify] https://crrev.com/5bc81b5837cd658c6d8b9fdccb56d0406527b3d9/chrome/browser/BUILD.gn
[add] https://crrev.com/5bc81b5837cd658c6d8b9fdccb56d0406527b3d9/chrome/browser/android/browserservices/ukm_recorder.cc
[modify] https://crrev.com/5bc81b5837cd658c6d8b9fdccb56d0406527b3d9/tools/metrics/ukm/ukm.xml

Status: Fixed (was: Started)

Sign in to add a comment