Playing Field: GTM + Youtube Video

Demo of Youtube tracking using GTM custom listener + dataLayer.

Google Tag Manager and Universal Analytics page view.

A custom GTM listener will detect the presence of the Youtube video and load the Youtube API (watch for those additional scripts being loaded).

A custom HTML tag will fire an event for 0%,25%,50%,75% and 100% video play, as well as play & pause.

When including the IFRAME for the Youtube video, don't forget to add "?enablejsapi=1&origin=" to the SRC

Copyright Cardinal Path © 2014, All Rights Reserved. Privacy and Copyright Policies.