From 4eafdc8c89054e7057ed4b803a434c3c09a916da Mon Sep 17 00:00:00 2001 From: Sam Hession Date: Wed, 22 Apr 2026 15:07:02 +0100 Subject: [PATCH] Consistently sets self hosted video tracking ID across inpage click and media events --- dotcom-rendering/src/components/SelfHostedVideoPlayer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotcom-rendering/src/components/SelfHostedVideoPlayer.tsx b/dotcom-rendering/src/components/SelfHostedVideoPlayer.tsx index c7902a2bb4e..e4d70724436 100644 --- a/dotcom-rendering/src/components/SelfHostedVideoPlayer.tsx +++ b/dotcom-rendering/src/components/SelfHostedVideoPlayer.tsx @@ -206,7 +206,7 @@ export const SelfHostedVideoPlayer = forwardRef( const showProgressBar = canShowProgressBar && currentRefExists; const showIcons = canShowIcons && currentRefExists; - const dataLinkName = `gu-video-${videoStyle}-${ + const dataLinkName = `gu-video-${videoStyle.toLowerCase()}-${ showPlayIcon ? 'play' : 'pause' }-${atomId}`;