In focus counts

This page covers the In focus counts reporting metric. See In focus for how to collect this variable.

The In focus counts metric reports the number of times the player gained focus during a session. Each focus state-start event increments the count. Pair with Streams impacted by in focus for session-level boolean rollups and with In focus total duration for total time in state.

How this metric is calculated

The media backend increments the count field in the inFocus entry of mediaReporting.states[] on every focus state-start event. The metric is reported on the close call.

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