title: How to track how much of a youtube video the user has watched?
body: <p>I need to track how much of an embedded youtube video the user has watched on my site. I need it to fire a tag at 25%, 50%, 75% and 100% of the length of the video. It should work similarly as a scrolling page track.</p>
  
  <p>The only access I have to the site is through Googletag manager, so any solution would have to be through there.</p>
  
  <p>I´ve researched and aparently there are ways to do this using youtube api. I even tried this step-by-step guide: <a href="http://www.cardinalpath.com/youtube-video-tracking-with-gtm-and-ua-a-step-by-step-guide/" rel="nofollow noreferrer">http://www.cardinalpath.com/youtube-video-tracking-with-gtm-and-ua-a-step-by-step-guide/</a> But it didn´t work. </p>
  
  <p>I guess the problem is that the site uses fancybox the play the video. Here is a pick of the website´s code:</p>
  
  <p><img src="https://i.stack.imgur.com/43dUA.png" alt="enter image description here"></p>
  
  <p>I have no idea where to start.</p>