Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
SOLVED

Iframe youtube videos milestone tracking

Avatar

Level 1

Hi All,

 

I am trying to capture milestone of YouTube videos placed in an iframe.

 

I have tried all the methods available online, but nothing is working.

 

Could someone help me how to achieve that in adobe launch ?

 

Thanks in advance. 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Since you're using Adobe Launch, you can try my YouTube Player extension. It makes it easy to track all YouTube playback events, including milestone tracking.

1. Install the extension.

2. In a Rule that fires with the "DOM Ready" event, add the action "Enable video playback tracking".

yuhuisg_0-1621583374256.png

3. Now, create a new Rule. Add the "Video Milestone" event. Specify the milestones that you want to track.

yuhuisg_1-1621583436503.png

4. In that same Rule, add an action to track what you want to track, e.g. Video Title, Video URL, Video Milestone, etc.

You can also track other YouTube playback events. Just follow steps 3 and 4 for those events.

With the above setup, you should be able to track the milestones for all YouTube videos that are loaded when your web page loads.

If your YouTube videos are loaded dynamically, e.g. the user needs to click a link, you can use the instructions at Example: enabling a dynamically loaded YouTube player · yuhui/launchext-youtube-playback Wiki · GitH....

Let me know if you need more help with my extension.

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Since you're using Adobe Launch, you can try my YouTube Player extension. It makes it easy to track all YouTube playback events, including milestone tracking.

1. Install the extension.

2. In a Rule that fires with the "DOM Ready" event, add the action "Enable video playback tracking".

yuhuisg_0-1621583374256.png

3. Now, create a new Rule. Add the "Video Milestone" event. Specify the milestones that you want to track.

yuhuisg_1-1621583436503.png

4. In that same Rule, add an action to track what you want to track, e.g. Video Title, Video URL, Video Milestone, etc.

You can also track other YouTube playback events. Just follow steps 3 and 4 for those events.

With the above setup, you should be able to track the milestones for all YouTube videos that are loaded when your web page loads.

If your YouTube videos are loaded dynamically, e.g. the user needs to click a link, you can use the instructions at Example: enabling a dynamically loaded YouTube player · yuhui/launchext-youtube-playback Wiki · GitH....

Let me know if you need more help with my extension.