Closed jonathanmayer closed 4 years ago
Chatted with @benjaminhkaiser about attention tracking for link exposure. We think two metrics for link exposure make sense, at least for the initial pilot:
We'll likely want to eventually use a simple threshold in combination with one of these metrics.
Done. LinkExposure uses a threshold (10 secs) for the links that are considered for accounting.
Feedback from an initial code review:
display: none
.document.visibilityState
. The long-term fix is to connect this content script to events from the PageEvents module.width
andheight
properties fromElement.getBoundingClientRect
.visited
for links that have been processed.Intersection Observer
API to monitor link visibility.