How to track youtube embedded videos via adobe launch | Community
Skip to main content
Level 2
June 3, 2025
Solved

How to track youtube embedded videos via adobe launch

  • June 3, 2025
  • 4 replies
  • 1234 views

Hi all, I have a use-case where I have to implement the analytics tracking for youtube embedded videos. I have tried using two extension one being youtube playback and other one is youtube player embed but neither is giving me the desired outcome.

 

I am thinking if the videos are inside the iframe tag which is the primary reason it is not getting loaded.

 

Does anyone has experience on handing this use-case and provide an appropriate solution.

Best answer by yuhuisg

Hi @ishanchopra , i am the developer of the YouTube Playback extension. Could you elaborate more on your problem? Also, how did you setup the video tracking with my extension which did not result in your desired results?

If possible, can you share a link to a page with the video that you're trying to track? I could then take a look at the page and video to try to understand more about how the video has been embedded in your page.

4 replies

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
June 3, 2025

HI @ishanchopra,

 

YouTube videos require a parameter called "enablejsapi" to be included in the iFrame link (and set to 1), in order for the connections to properly function.

 

I know this article is GTM specific, but the same basic need is the same:

https://www.analyticsmania.com/post/youtube-tracking-google-tag-manager-solved/

 

 

First check that you have this on your videos.

 

 

What behaviour are you experiencing with your tracking? Is it not working at all? Or is it sporadically working?

bjoern__koth
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
June 3, 2025

Hi @ishanchopra 

do your Youtube URLs contain a "enablejsapi=1" query parameter set? This is needed in the first place to enable tracking capabilities.

https://developers.google.com/youtube/player_parameters#enablejsapi 

Cheers from Switzerland!
harishkumar
Level 2
June 3, 2025

@ishanchopra  you can refer below adobe link for youtube video tracking. it cover step by step instruction. I hope this help 

https://experienceleague.adobe.com/en/docs/experience-cloud-kcs/kbarticles/ka-15023

 

yuhuisg
Community Advisor
yuhuisgCommunity AdvisorAccepted solution
Community Advisor
June 3, 2025

Hi @ishanchopra , i am the developer of the YouTube Playback extension. Could you elaborate more on your problem? Also, how did you setup the video tracking with my extension which did not result in your desired results?

If possible, can you share a link to a page with the video that you're trying to track? I could then take a look at the page and video to try to understand more about how the video has been embedded in your page.

Level 2
June 4, 2025

I have made some changes in my saw the load the youtube embedded video with this option and it works. I already have another extension for youtube but since these videos were embedded into the page and inside the iFrame tag it was not getting loaded but with option I am able to get the play. I hope I will be able to get all the required attributes like video name, milestones, length of video etc. with this extension.

 

 

yuhuisg
Community Advisor
Community Advisor
June 4, 2025

Ok, that's great that it's working for you now.

Yes, it's better to leave that option selected. Even if the YouTube IFrame API script happens to be loaded elsewhere, e.g. your developers load it in the web page itself, then not to worry, having this option selected won't cause the script to get loaded  again. So you can leave this selected always.