Index: tools/metrics/ukm/ukm.xml |
diff --git a/tools/metrics/ukm/ukm.xml b/tools/metrics/ukm/ukm.xml |
index 2b0ced9612fd509fa6d7bba9db2702b2df57638c..9996aba153b5324327c73bc2b565768a032a6acf 100644 |
--- a/tools/metrics/ukm/ukm.xml |
+++ b/tools/metrics/ukm/ukm.xml |
@@ -159,6 +159,81 @@ be describing additional metrics about the same event. |
</metric> |
</event> |
+<event name="ContextualSearch"> |
+ <owner>donnd@chromium.org</owner> |
+ <summary> |
+ Metrics related to a Contextual Search Tap event on a page, for use with |
+ Ranker. These metrics are recorded each time the user triggers the |
+ Contextual Search UI via a tap gesture (when enabled). |
+ </summary> |
+ <metric name="DURATION_AFTER_SCROLL_MS"> |
+ <summary> |
+ Duration in MS between showing the UI and a subsequent scroll event, or |
+ not recorded if there was no subsequent scroll. |
+ </summary> |
+ </metric> |
+ <metric name="DURATION_BEFORE_SCROLL_MS"> |
Donn Denman
2017/05/19 15:06:01
One quick comment -- these upper-case names seem v
|
+ <summary> |
+ Duration in MS between showing the most recent scroll event and showing |
+ the UI, or 0 if no previous scroll event occurred. |
+ </summary> |
+ </metric> |
+ <metric name="OUTCOME_WAS_PANEL_OPENED"> |
+ <summary> |
+ Whether the user opened the overlay panel. This is the primary outcome |
+ metric. |
+ </summary> |
+ </metric> |
+ <metric name="OUTCOME_WAS_QUICK_ACTION_CLICKED"> |
+ <summary> |
+ Whether the user clicked within the overlay panel when a Quick-Action was |
+ shown. This is a secondary outcome metric. |
+ </summary> |
+ </metric> |
+ <metric name="OUTCOME_WAS_QUICK_ANSWER_SEEN"> |
+ <summary> |
+ Whether the user could see a Quick-Answer caption within the overlay |
+ panel. This is a tertiary outcome metric. |
+ </summary> |
+ </metric> |
+ <metric name="PREVIOUS_28DAY_CTR_PERCENT"> |
+ <summary> |
+ The CTR of the overlay panel for this user, aggregated over a previous 28 |
+ day period, expressed as an integer between 0-99. |
+ </summary> |
+ </metric> |
+ <metric name="PREVIOUS_28DAY_IMPRESSIONS_COUNT"> |
+ <summary> |
+ The count of views of the overlay panel for this user, aggregated over a |
+ previous 28 day period. |
+ </summary> |
+ </metric> |
+ <metric name="PREVIOUS_WEEK_CTR_PERCENT"> |
+ <summary> |
+ The CTR of the overlay panel for this user, aggregated over the previous |
+ week, expressed as an integer between 0-99. |
+ </summary> |
+ </metric> |
+ <metric name="PREVIOUS_WEEK_IMPRESSIONS_COUNT"> |
+ <summary> |
+ The count of views of the overlay panel for this user, aggregated over the |
+ previous week. |
+ </summary> |
+ </metric> |
+ <metric name="SCREEN_TOP_DPS"> |
+ <summary> |
+ The location of the tap relative to the top of the screen, expressed in |
+ DPs. |
+ </summary> |
+ </metric> |
+ <metric name="WAS_SCREEN_BOTTOM"> |
+ <summary> |
+ The location of the tap relative to the bottom of the screen, expressed as |
+ an integer with 0 meaning not at the bottom and 1 meaning at the bottom. |
+ </summary> |
+ </metric> |
+</event> |
+ |
<event name="PageLoad" singular="True"> |
<owner>bmcquade@chromium.org</owner> |
<summary> |