Skip to content

Commit fe1414a

Browse files
committed
Only track plays when the play icon is clicked. It won't appear when the video is playing so it should never track a pause action.
1 parent d6c3de9 commit fe1414a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotcom-rendering/src/components/LoopVideoPlayer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ export const LoopVideoPlayer = forwardRef(
166166
type="button"
167167
onClick={handlePlayPauseClick}
168168
css={playIconStyles}
169-
data-link-name="video-play-pause"
169+
data-link-name={`gu-video-loop-play-${atomId}`}
170170
>
171171
<PlayIcon iconWidth="narrow" />
172172
</button>

0 commit comments

Comments
 (0)