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

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

Issue 2016913004: Track age and score of snippets that are shown (along with position). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@snippets-clicks-retake
Patch Set: Rebase #3 Created 4 years, 7 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
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetArticle.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 8353983edbd91f47590efa597200b7f9ba0b5282..d3b4c1183131cf0000387d8a0a176a6a121d782b 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -33965,13 +33965,17 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
-<histogram name="NewTabPage.Snippets.CardClickedAge" units="min">
+<histogram name="NewTabPage.Snippets.CardClickedAge" units="minutes">
<owner>jkrcal@chromium.org</owner>
<summary>
Android: The age of the snippets card on the NTP, that is clicked through to
the host website of the content. The age is measured from the moment the
content has been published. In each &quot;_x_y&quot; suffix of the
- histogram, only snippets on positions \gt;=x and \lt;=y are tracked.
+ histogram, only snippets on positions \gt;=x and \lt;=y are tracked. We
+ track the position the snippet had in the list when NTP was loaded. This
+ tracked position is thus different from the position observed by the user
+ whenever before scrolling down to the given snippet, the user discards some
+ snippets in the top of the list.
</summary>
</histogram>
@@ -33981,7 +33985,11 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
Android: The score of the snippets card on the NTP, that is clicked through
to the host website of the content. The recorded score is from the moment
the snippet was fetched, it could have changed since. In each &quot;_x&quot;
- suffix of the histogram, only snippets on positions \lt;=x are tracked.
+ suffix of the histogram, only snippets on positions \lt;=x are tracked. We
+ track the position the snippet had in the list when NTP was loaded. This
+ tracked position is thus different from the position observed by the user
+ whenever before scrolling down to the given snippet, the user discards some
+ snippets in the top of the list.
</summary>
</histogram>
@@ -34011,7 +34019,7 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<owner>knn@chromium.org</owner>
<summary>
Android: The position of the snippets card that is shown on the NTP. Each
- snippet (its position) is recorded whenever at least 1/3 of it height
+ snippet (its position) is recorded whenever at least 1/3 of its height
becomes visible by scrolling through the NTP. Each snippet is recorded at
most once for a given instance of NTP and a given data set of snippets that
is shown. We track the position the snippet had in the list when NTP was
@@ -34024,6 +34032,39 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="NewTabPage.Snippets.CardShownAge" units="minutes">
+ <owner>jkrcal@chromium.org</owner>
+ <summary>
+ Android: The age of the snippets card that is shown on the NTP. Each snippet
+ (its age) is recorded whenever at least 1/3 of its height becomes visible by
+ scrolling through the NTP. Each snippet is recorded at most once for a given
+ instance of NTP and a given data set of snippets that is shown. The age is
+ measured from the moment the content has been published. In each
+ &quot;_x_y&quot; suffix of the histogram, only snippets on positions \gt;=x
+ and \lt;=y are tracked. By this, we mean the position the snippet had in the
+ list when NTP was loaded. This tracked position is thus different from the
+ position observed by the user whenever before scrolling down to the given
+ snippet, the user discards some snippets in the top of the list.
+ </summary>
+</histogram>
+
+<histogram name="NewTabPage.Snippets.CardShownScore" units="score">
+ <owner>jkrcal@chromium.org</owner>
+ <summary>
+ Android: The score of the snippets card that is shown on the NTP. Each
+ snippet (its score) is recorded whenever at least 1/3 of its height becomes
+ visible by scrolling through the NTP. Each snippet is recorded at most once
+ for a given instance of NTP and a given data set of snippets that is shown.
+ The recorded score is from the moment the snippet was fetched, it could have
+ changed since. In each &quot;_x&quot; suffix of the histogram, only
+ snippets on positions \lt;=x are tracked. By this, we mean the position the
+ snippet had in the list when NTP was loaded. This tracked position is thus
+ different from the position observed by the user whenever before scrolling
+ down to the given snippet, the user discards some snippets in the top of the
+ list.
+ </summary>
+</histogram>
+
<histogram name="NewTabPage.Snippets.FetchHttpResponseOrErrorCode"
enum="CombinedHttpResponseAndNetErrorCode">
<owner>mastiz@chromium.org</owner>
@@ -95658,6 +95699,8 @@ To add a new entry, add it with any value and run test to compute valid value.
<suffix name="5_9" label="Only snippets on position 5-9"/>
<affected-histogram name="NewTabPage.Snippets.CardClickedAge"/>
<affected-histogram name="NewTabPage.Snippets.CardClickedScore"/>
+ <affected-histogram name="NewTabPage.Snippets.CardShownAge"/>
+ <affected-histogram name="NewTabPage.Snippets.CardShownScore"/>
</histogram_suffixes>
<histogram_suffixes name="PpapiPluginName">
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetArticle.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698