Skip to content

WS-SKIP-RATE-PV [10%] - Create Skip-Rate & Completion Rate metrics for Portrait Video [DNM]#13743

Draft
pvaliani wants to merge 14 commits intolatestfrom
add-skip-rate-completion-metric-10-percent
Draft

WS-SKIP-RATE-PV [10%] - Create Skip-Rate & Completion Rate metrics for Portrait Video [DNM]#13743
pvaliani wants to merge 14 commits intolatestfrom
add-skip-rate-completion-metric-10-percent

Conversation

@pvaliani
Copy link
Contributor

@pvaliani pvaliani commented Feb 20, 2026

Resolves JIRA: N/A - 10% Project

Summary

  • Creates new completion rate and skip rate metrics to be sent to Reverb for Portrait Video Carousels
  • Adds video SessionExitReason logic to provide context on how the user exits the player:

navigation: the user moved from one video to another
autoplay-end: the current video finished and the player automatically moved to the next one
playlist-sync: the player loaded a different video than the one we thought was active, so tracking caught up
close-button: the user closed the modal using the close button (the external Simorgh close in Desktop view only)
backdrop: the user closed the modal by clicking/tapping outside the video area
escape: the user pressed the Esc key to close the modal
fullscreen-exit: the player exited fullscreen and that closed the modal.
unmount: the modal/component disappeared and we sent a fallback event during cleanup

Code changes

  • Routes eventGroupingName from sendEventBeacon through to useSwipeTracker so that skip/completion rate events are grouped correctly in Reverb while the item and group tracker payload carries the actual analytics context

Testing

  1. List the steps required to test this PR.
  • Need to figure out what happens when a user skips a section of video and plays to the end? the completion rate currently is still 1

Useful Links

@pvaliani pvaliani changed the title WS-SKIP-RATE-PV [10%] - Create Skip-Rate & Completion Rate metrics for Portrait Video WS-SKIP-RATE-PV [10%] - Create Skip-Rate & Completion Rate metrics for Portrait Video [DNM] Feb 20, 2026
@pvaliani pvaliani self-assigned this Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant