Streams impacted by in focus

This page covers the Streams impacted by in focus reporting metric. See In focus for how to collect this variable.

The Streams impacted by in focus metric counts sessions in which the player was in focus at least once. The metric is a session-level boolean — multiple focus events within the same session count as one impacted stream. For total focus event volume, use In focus counts.

How this metric is calculated

The media backend sets the isSet flag in mediaReporting.states[] for the inFocus entry to true the first time a media.statesUpdate event with inFocus in statesStart is received. The metric is reported on the close call.

Reporting system
Source
Adobe Analytics
Automatically collected from context data a.media.states.infocus.set when Player State Tracking is enabled.
Customer Journey Analytics
mediaReporting.states[] entry where name = "inFocus", field isSet
Data feeds
event_list, post_event_list (see event.tsv lookup)
Audience Manager
c_contextdata.a.media.states.infocus.set
recommendation-more-help
media-analytics-help