Create a Youtube Video Trigger
It all starts with a trigger. In Google Tag Manager, go to Triggers > New > Trigger Configuration and choose Youtube Video, then enter the following settings:
Enable built-in Youtube video variables
In Google Tag Manager, go to Variables > Configure and enable all video-related variables.
Create a Google Analytics 4 tag
Now, it’s time to send the Youtube video data to Google Analytics. In Google Tag Manager, go to Tags > New > Google Analytics: GA4 Event and enter the following settings.
Event Name:- video_{{Video Status}}
Event Parameters
video_current_timevideo_durationvideo_percentvideo_providervideo_titlevideo_url

