Hello guys it has been a few weeks since I have posted to my blog. Recently I came across a few clients who wanted to track the YouTube videos on their website. Interestingly most of them already tried a few methods without any luck. I found a couple of extensions in the Adobe Launch catalog which can be used for this purpose. In this blog post, we will be going to learn How to install and use YouTube Video tracking Extension via Launch.
Certainly, you can also the legacy methods for tracking YouTube videos, however, I found these extensions work flawlessly and don’t need to write any code. For this example, I will be using the official Video Tracking for YouTube extension published by Adobe Consulting Team.
Technical Details
Video Tracking | YouTube 2.0.0
Install the above-listed extension.
id=”player1” width=”560” height=”315” src=”https://www.youtube.com/embed/xpatB77BzYE?enablejsapi=1&rel=0” frameborder=”0” allow=”accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture” allowfullscreen
The sample webpage will look like this:
<!DOCTYPE html> <head> <script src="//[Adobe Launch Script]" async></script> </head> <body> <iframe id="playerID" type="text/html" width="640" height="360" src="https://www.youtube.com/embed/[Replace it with your YouTube video id]?enablejsapi=1&rel=0" frameborder=”0” allow= "accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> </body> </html>
Feel free to modify the page based on your requirements.
Now we have the webpage ready, we may proceed with creating the rule which is supposed to be to fire a server call.
The overall rule will look like this:
You will need to create similar rules for the rest of the events you need to capture.
Once you are done with creating the rule, it’s time to publish the changes to the library and test them on the webpage.
Playing the video on the webpage should fire a custom link call as below:
Implementing the Youtube tracking video has its own advantage. You can see the website performance and video performance in the same dashboard and no need to check the YouTube Analytics dashboard. Implementing the YouTube video tracking for Adobe Analytics has become fairly easier using the Launch Extension. I would highly recommend using it.
Thank you for reading my blog. In case you have any questions feel free to contact me.
**Featured image is taken from https://exchange.adobe.com/experiencecloud.details.104659.video-tracking-youtube.html only for presentation purposes.
Microsoft is said to be developing a version of Bing, its search engine, using ChatGPT,…
Maruti Suzuki, India's top car manufacturer, is enhancing its customer experience by launching a virtual…
Study shows that blue dragonflies can assist in the development of improved robots. According to…
The U.S. House of Representatives has issued an order for its staff and lawmakers to…
Starting a career in the Web3 industry is easy if you know how to start…
The value of Elon Musk's Tesla stocks has decreased as the company fell short of…