Fix NewTabPage.SuggestionsImpression.* histograms |
|||
Issue descriptionThe NewTabPage.SuggestionsImpression.* histograms are broken on desktop - they're recorded multiple times per NTP impression, at least under some circumstances. Fix them.
,
Jul 8 2016
,
Jul 15 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/61b6eba8e654d433215a148f03f7eeac708c73ab commit 61b6eba8e654d433215a148f03f7eeac708c73ab Author: sfiera <sfiera@chromium.org> Date: Fri Jul 15 13:12:28 2016 Record impressions/navigations only once per tile. Track when we have logged an impression or navigation for a tile, then ignore it if we are asked to log an additional one for the same tile. If we detect that the user has returned to the NTP after navigating away, reset the tracker (and has_emitted_) so that we can collect stats again. BUG= 625163 , 626681 Review-Url: https://codereview.chromium.org/2124903003 Cr-Commit-Position: refs/heads/master@{#405751} [modify] https://crrev.com/61b6eba8e654d433215a148f03f7eeac708c73ab/chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc [modify] https://crrev.com/61b6eba8e654d433215a148f03f7eeac708c73ab/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h [modify] https://crrev.com/61b6eba8e654d433215a148f03f7eeac708c73ab/chrome/browser/ui/webui/ntp/ntp_user_data_logger_unittest.cc
,
Jul 15 2016
|
|||
►
Sign in to add a comment |
|||
Comment 1 by sfiera@chromium.org
, Jul 5 2016Status: Started (was: Available)