Count number of times play button clicked on video | XM Community
Skip to main content
I would like to record how many times the play button of a video was clicked.
Hey @profjm,

The only way I can think of is a click eventListener on the video and adding one to a Counter variable, then using the Qualtrics question API setEmbeddedData to write the value back to the survey. This makes the result visible for use in the Data & Analysis tab. You _may_ be able to write a report that does the math for you, or perhaps an action that adds up the Counter variable for all surveys taken, but you could still get your result the 'old fashioned' way by showing that field in Data & Analysis and adding up the numbers in the column.

Leave a Reply