YouTube is one of the most popular video sharing platforms widely used as embedments in websites. In October 2017, Google Tag Manager introduced built-in video metric tracking for YouTube videos making the marketers’ job much simpler.

In this blog, we will take you through all the steps required to track YouTube video plays on your website using GTM. Let’s get started!

Step 1: Creation of YouTube Video Trigger 

The first step is to select a trigger type. In Google Tag Manager, go to Triggers > New > Trigger Configuration and choose ‘YouTube Video’ as shown below.

Creation of YouTube Video Trigger - How to track Youtube video plays on your website using Google Tag Manager

In Trigger Configuration, you can check the boxes as per your tracking requirement. We recommend you to track Start, Complete and Progress. But for the purpose of this blog, we will cover tracking the number of visitors who started or finished watching the videos.

Creation of YouTube Video Trigger - How to track Youtube video plays on your website using Google Tag Manager

Step 2. Enable built-in video variables

In Google Tag Manager, go to Variables > Configure and enable all video-related variables as shown below.

Enable built-in video variables - How to track Youtube video plays on your website using Google Tag Manager

Step 3: Adding the Google Analytics Tag

Now, we will send this valuable data over to Google Analytics. In GTM, go to Tags > New > Google Analytics: Universal Analytics and fill in the following settings.

Adding the Google Analytics Tag - How to track Youtube video plays on your website using Google Tag Manager

Step 4: Testing

Testing - How to track Youtube video plays on your website using Google Tag Manager
Testing - How to track Youtube video plays on your website using Google Tag Manager
Testing - How to track Youtube video plays on your website using Google Tag Manager

Leave a Reply

Your email address will not be published. Required fields are marked *