The YouTube Video trigger is used to fire tags based on interactions with embedded YouTube videos on web pages.
To create a new YouTube Video trigger :
- Click triggers and select new & name as YouTube video trigger
- Click Trigger Configuration and choose the YouTube Video
- Select the default buttons which is Start/complete/pause/progress/JavaScript API
- Give the condition to this trigger fires on video URL for the specific landing page
- Create a tag and give the specific video name to be tracked
- Select the tag type to Google Analytics
- Select the track type to Event
- Give the category name as per you need
- Give the action name as per your requirement
- You can provide the conditions in the label section
- Select the default Google Analytics Variable
- Once done, Save both tag and trigger and test in preview mode, If working fine then push it to live.
YouTube video trigger
YouTube video tag
GTM Preview Mode :