Description[NTP] Fix article suggestion clicks contributing to Most Visited tiles
There's a need to distinguish clicks on different elements on the NTP:
a) clicks on Most Visited tiles.
b) clicks on (newly introduced) article suggestions (aka snippets).
The first should contribute to Most Visited tiles (i.e. boost tiles
that have been clicked in the past). The second shouldn't.
We do this by introducing a new page transition qualifier, which marks
a visit as to-be-ignored. The qualifier is only used for NTP article
suggestions for now.
History sync is extended analogously to allow server-side generation of
Most Visited tiles adopt a similar filtering.
We've considered other competing approaches to achieve the same:
1. Use page transition types (LINK vs AUTO_BOOKMARK) to distinguish
tile clicks from article suggestion clicks: unfortunately both types
have been used in the past (older versions of Chrome).
2. Introduce a dedicated page transition type (split from
AUTO_BOOKMARK): this is more intrusive and complex wrt to history
sync, since older versions of Chrome would need to deserialize new
protos as AUTO_BOOKMARK for backward compatibility.
3. Use the referrer to expose details about which section of the NTP
has been clicked: however referrers are required to use http/https
or are cleared out otherwise.
BUG=645895
Patch Set 1 #
Total comments: 4
Patch Set 2 : Addressed renaming suggested by bauerb@ #Patch Set 3 : Restricted to ARTICLES category. #
Total comments: 1
Patch Set 4 #
Total comments: 2
Patch Set 5 : Add test coverage to HistoryBackend. #Patch Set 6 : Add test coverage to HistoryBackend. #
Messages
Total messages: 24 (15 generated)
|