Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Iframe youtube videos milestone tracking

DannyAnalysis
Level 1
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 Reply
yuhuisg
Community Advisor
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.