![]() ![]() Tie YouTube videos to the page on which they are embedded.Here is what my video tracking script does, in a nutshell: Step-4: Create / Customize video tracking script I am just building upon the work done by ‘Cardinal Path’ and give them the full credit for it. Note: Instead of writing the whole video tracking script from scratch, I modified the video tracking script which was originally developed by ‘ Cardinal Path’. Being an ex-programmer, I understand how difficult it can be to write a script from scratch.ĭespite its shortcomings, this is the best video tracking script I have found so far. However, you don’t need to worry about understanding the YouTube Player API. I have done all of the hard work for you. You just need to understand and use my video tracking script. I used the YouTube Player API for iframe embeds to access and control the YouTube player which has been embedded via iframe. ![]() This article is not about tracking videos hosted by other video hosting players like: ‘Vimeo’ or ‘Wistia’. This article is only about tracking YouTube videos that are embedded on your website. You can’t track the YouTube videos embedded on in Google Analytics via my video tracking script. While this is a no-brainer, I have seen many people trying to track YouTube videos when no such videos have been embedded on their website or trying to track Vimeo videos using the YouTube video tracking script. This article is related to Google Tag Manager (GTM). If you are brand new to GTM then I would suggest reading this article first: Beginners guide to Google Tag Manager.įollow the steps below to install Google Tag Manager YouTube Video Tracking: Step #1: Embed YouTube video players on your website and use the API for iframe embedsīefore you can track YouTube videos, you need to embed them on your web page(s):
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |