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

Issue 713724 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocked on:
issue 836064
issue 836461

Blocking:
issue 718993
issue 680790



Sign in to add a comment

Add metrics for collecting interstitial showing information

Project Member Reported by sgu...@chromium.org, Apr 20 2017

Issue description

We want to collect information on Safebrowsing interstitial showing metrics. Since the API and the interstitial showing is not finalized yet, this serves as a placeholder but we want to know how frequently these are shown:

1. Large interstitials
2. medium interstitials
3. small interstitials
4. application custom interstitials.

Relatedly, it would be good to know the proceed to safety and error reporting percentages separately for our large interstitials vs. application custom interstitials.
 

Comment 1 by sgu...@chromium.org, Apr 20 2017

Blocking: 680790
Cc: jialiul@chromium.org
Labels: SafeBrowsing-Triaged
Status: Assigned (was: Untriaged)

Comment 4 by f...@chromium.org, Apr 27 2017

#4 is the hard part. I'll make sure #1-#3 are done, but I don't even know whether #4 will work. Can we split WV metrics by app, by any chance?

Comment 5 by sgu...@chromium.org, Apr 27 2017

we cannot get app specific metrics.

4. is possible as we are going to provide a callback for apps to show their UI. 

Comment 6 by f...@chromium.org, Apr 27 2017

ah boo. maybe in the future we can explore using UKM for getting app specific metrics? but i am not sure whether that would fit the policy.

well, still better than nothing :)
Blocking: 718993
Cc: sgu...@chromium.org
Owner: ntfschr@chromium.org

Comment 9 by sgu...@chromium.org, Sep 27 2017

Cc: -sgu...@chromium.org
Labels: WebView-SafeBrowsing
Labels: Hotlist-EnamelAndFriendsFixIt
Project Member

Comment 12 by bugdroid1@chromium.org, Nov 21 2017

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

commit 32bbd06a56b6048f101bcbe0e1d4763cc8718c54
Author: Nate Fischer <ntfschr@chromium.org>
Date: Tue Nov 21 03:27:50 2017

AW: UMA metrics for Quiet vs Loud interstitials

This CL adds UMA metrics to track how often we see particular
interstitial types. Currently these are for QUIET_GIANT, QUIET_SMALL,
and LOUD.

This adds the metric for WebView only, since Chrome currently only uses
loud interstitials.

Bug:  713724 
Test: check that metrics are logged under chrome://histograms/SafeBrowsing
Change-Id: I36af496078bf5a502a76b2cbdf481acf30a208bc
Reviewed-on: https://chromium-review.googlesource.com/777945
Commit-Queue: Nate Fischer <ntfschr@chromium.org>
Reviewed-by: Ilya Sherman <isherman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#518081}
[modify] https://crrev.com/32bbd06a56b6048f101bcbe0e1d4763cc8718c54/android_webview/browser/aw_safe_browsing_blocking_page.cc
[modify] https://crrev.com/32bbd06a56b6048f101bcbe0e1d4763cc8718c54/android_webview/browser/aw_safe_browsing_blocking_page.h
[modify] https://crrev.com/32bbd06a56b6048f101bcbe0e1d4763cc8718c54/tools/metrics/histograms/enums.xml
[modify] https://crrev.com/32bbd06a56b6048f101bcbe0e1d4763cc8718c54/tools/metrics/histograms/histograms.xml

Project Member

Comment 13 by bugdroid1@chromium.org, Nov 21 2017

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

commit 9cb724958606a901fe92e1b434b3e1099910ad78
Author: Nate Fischer <ntfschr@chromium.org>
Date: Tue Nov 21 04:02:36 2017

AW: UMA metrics for CanShowInterstitial

This CL adds UMA metrics to track how often we show interstitials vs.
immediately create a network error (because we believe the WebView to be
not visible).

Bug:  713724 
Test: check metrics are logged under chrome://histograms/SafeBrowsing
Change-Id: I5882491289de69d49e2f011de58c134c52af2ae3
Reviewed-on: https://chromium-review.googlesource.com/780360
Commit-Queue: Nate Fischer <ntfschr@chromium.org>
Reviewed-by: Ilya Sherman <isherman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#518101}
[modify] https://crrev.com/9cb724958606a901fe92e1b434b3e1099910ad78/android_webview/browser/aw_safe_browsing_ui_manager.cc
[modify] https://crrev.com/9cb724958606a901fe92e1b434b3e1099910ad78/tools/metrics/histograms/histograms.xml

Cc: changwan@chromium.org
Labels: -Hotlist-EnamelAndFriendsFixIt
Project Member

Comment 16 by bugdroid1@chromium.org, Feb 23 2018

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

commit 4fd98c9e833e4af00a899ea68ae30e466477c6cf
Author: Nate Fischer <ntfschr@chromium.org>
Date: Fri Feb 23 03:17:10 2018

AW: UMA metric for Safe Browsing manifest opt-in

No change to logic, this just adds UMA metrics.

This adds the "SafeBrowsing.WebView.AppOptIn" metric, which tracks
application opt-in preference for Safe Browsing. Most applications will
be in the "no opt-in prefernce" category, but it may be useful to see if
there's a change in "opt-out" or "opt-in" numbers, especially as we
begin to enable Safe Browsing by default.

This won't give us per-application metrics, but this should still
indicate (1) if a popular app(s) explicitly opts out of Safe Browsing,
and (2) a rough idea of how often users are protected by WebView Safe
Browsing (although this doesn't account for user opt-in preference).

Bug:  713724 
Test: check that metric is logged under chrome://histograms/SafeBrowsing
Change-Id: I2fa01a7938eabd61aeacbb31f09e7729115254d3
Reviewed-on: https://chromium-review.googlesource.com/933290
Commit-Queue: Nate Fischer <ntfschr@chromium.org>
Reviewed-by: Ilya Sherman <isherman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538684}
[modify] https://crrev.com/4fd98c9e833e4af00a899ea68ae30e466477c6cf/android_webview/java/src/org/chromium/android_webview/AwSafeBrowsingConfigHelper.java
[modify] https://crrev.com/4fd98c9e833e4af00a899ea68ae30e466477c6cf/tools/metrics/histograms/enums.xml
[modify] https://crrev.com/4fd98c9e833e4af00a899ea68ae30e466477c6cf/tools/metrics/histograms/histograms.xml

Project Member

Comment 17 by bugdroid1@chromium.org, Feb 24 2018

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

commit 5cc567ff658af8af479d28a7b8299a4f0c858995
Author: Nate Fischer <ntfschr@chromium.org>
Date: Sat Feb 24 03:17:37 2018

AW: UMA metric for Safe Browsing user opt-in

No change to logic, this just adds UMA metrics.

Following up to http://crrev/c/933290, this is to log user opt-in
preference. This adds "SafeBrowsing.WebView.UserOptIn" to track
potential spikes/changes in user opt-outs.

Bug:  713724 
Test: check that metric is logged under chrome://histograms/SafeBrowsing
Change-Id: Ieb32dc07d930705e5348fbe66d03b267b5562d7b
Reviewed-on: https://chromium-review.googlesource.com/935483
Commit-Queue: Nate Fischer <ntfschr@chromium.org>
Reviewed-by: Ilya Sherman <isherman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538976}
[modify] https://crrev.com/5cc567ff658af8af479d28a7b8299a4f0c858995/android_webview/java/src/org/chromium/android_webview/AwSafeBrowsingConfigHelper.java
[modify] https://crrev.com/5cc567ff658af8af479d28a7b8299a4f0c858995/tools/metrics/histograms/enums.xml
[modify] https://crrev.com/5cc567ff658af8af479d28a7b8299a4f0c858995/tools/metrics/histograms/histograms.xml

Blockedon: 836064
Blockedon: 836461
Status: Fixed (was: Assigned)
No manual verification necessary.
Status: Verified (was: Fixed)
Bulk edit: marking stale 'fixed' bugs as 'verified' since they don't need verification at this point.

Sign in to add a comment