Join the Tagmate Family to get latest updates and blog recommendations every week.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Blog
GTM
How To Setup YouTube Video Tracking Via GTM
GTM
How To Setup YouTube Video Tracking Via GTM
By
4 min read
April 5, 2023
Out of the total websites in the world, more than 40% are built using WordPress. That’s a huge number for any CMS platform and hence, there is a great chance that your website is built using WordPress. Also, you probably use the WordPress Contact Form 7 plugin for your website's contact us form.
So tracking of WordPress contact form 7 is extremely important.
We will show two ways to track WordPress contact form 7
Traditional Google tag manager way that would take a lot of time.
Google Tag Manager (GTM) is a must-have tool for anyone with a website as it enables Google Analytics to function optimally. GTM and Google Analytics 4 help them make sense of what is happening on their site and what they need to do in terms of UI, marketing efforts, and their business at large.
While Google has the largest market share among search engines, when it comes to video search engines, YouTube is the market leader and embedding YouTube videos on websites helps both SEO and UX. Having said that, it is noteworthy that many marketers struggle to use GTM for video tracking.
In this article, I will cover how to track video views, pauses, and completions using GTM.
Let’s begin:
Why Track Video Views?
Video is unarguably among the most popular forms of online content even for business purposes. According to a recent study by Wyzowl, 91% of businesses use video as a marketing tool, and 87% of video marketers report that video has increased dwell time on their website.
With video being such an effective way to engage with website visitors, it's incredibly important to track how users interact with video content to unravel insights and optimize the overall user experience.
Step-By-Step Process To Track YouTube Videos Using GTM
In this section, we will go through the process of setting up YouTube video tracking with the help of Google Tag Manager.
Let’s begin:
Step 1: Go To GTM And Create The ‘YouTube Video’ Trigger
Go to your Google Tag Manager account and select the container where you want to create the trigger for tracking YouTube videos.
Navigate to Triggers and click on the ‘New’ button.
Now, click on ‘Choose a trigger type to begin setup…’ in the new window
Scroll down and select the ‘YouTube Video’ trigger
You can also track the video progress by checking its respective box and entering the percentage values separated by commas.
Enable Add JavaScript API support to all Youtube videos for increasing the odds of proper tracking
Hit on Save
Step 2: Enable Configure Built-in Variables
Navigate to the Variables tab.
Click on ‘Configure’ button
Scroll down to the videos section and check all boxes
Step 3: Create a new Google Analytics 4 Tag
Go to the ‘Trigger’ tab and click on ‘New’.
Now, click on ‘Choose a tag type to begin setup…’ under Tag Configuration
Click on Google Analytics: GA 4 Event
Next, enter the details including Event Name and Event Parameters:
Hit the ‘Save’ button
It is recommended to use the same naming convention as Enhanced Measurement’s video tracking and choose only the event parameters that are relevant to your aims.
In the triggering section, select the previously created YouTube Video Trigger
Step 4: Testing
Go to ‘Preview’ Mode and locate the video events. You can find if the Google Analytics Tag is fired by clicking on any one of them.
You can verify it using Google Analytics 4’s Debug View
Wrap Up
Tracking video views, pauses, and completions can provide valuable insights into how users are interacting with your website's video content. It also gives you an understanding of how well your video content serves their intention to know about your business/topic.
By using GTM to track these events, you can gain pinpointed insights into which videos are most engaging, which parts of a video users are re-watching, and more. I hope that this video helps you track YouTube videos like a pro!
Want to do more with your website but don’t have time? You may use Tagmate, a no code-low code (NCLC) SaaS tool that makes web tagging simpler and quicker with powerful automation and privacy compliant logics.
Lorem ipsum dolor sit amet consectetur. Viverra ut feugiat id ipsum morbi. A ipsum massa consequat ut urna vestibulum enim. Mauris id dignissim eu donec. Nibh urna eu nisl volutpat ut purus amet habitant fermentum.
Lorem ipsum dolor sit amet consectetur?
Lorem ipsum dolor sit amet consectetur. Sodales pellentesque enim sed dolor. Vel elementum ullamcorper adipiscing nec tristique. Egestas tellus amet praesent pulvinar quis.
Lorem ipsum dolor sit amet consectetur bibendum diam vel aliquet aliquam fringilla amet turpis varius srcu tincidunt potenti in ut amet ac aliquet donec volutpat ?
Lorem ipsum dolor sit amet consectetur. Aliquam diam magnis imperdiet pulvinar posuere. Pretium leo sed nunc morbi. In nibh risus purus ipsum amet. Leo sed laoreet orci faucibus. Ut lorem augue eget id venenatis odio tortor nec. Adipiscing bibendum tellus neque tortor.
Lorem ipsum dolor sit amet consectetur vel id viverra ultricies sed hendrerit et nulla?
Lorem ipsum dolor sit amet consectetur. Viverra ut feugiat id ipsum morbi. A ipsum massa consequat ut urna vestibulum enim. Mauris id dignissim eu donec. Nibh urna eu nisl volutpat ut purus amet habitant fermentum.
Lorem ipsum dolor sit amet consectetur bibendum diam vel aliquet?
Lorem ipsum dolor sit amet consectetur. Viverra ut feugiat id ipsum morbi. A ipsum massa consequat ut urna vestibulum enim. Mauris id dignissim eu donec. Nibh urna eu nisl volutpat ut purus amet habitant fermentum.
Subscribe to get our latest updates
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
eBook
Nunc lectus tempus dolor libero vulputate dui sed velit Augue enim malesuada
Get served hottest tracking posts from industry-experts every week.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
This is some text inside of a div block.
Heading
This is some text inside of a div block.
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.