YouTube Video Tracking
From Market Ruler Help
Tracking YouTube videos is now handled seamlessly with an add-on library from ConversionRuler.
Requirements
Tracking YouTube Videos requires the following:
- Your site must use the jQuery library on the pages in question
- ConversionRuler currently supports tracking of iframe YouTube videos only (this is the modern version)
- To track old-style YouTube videos, employ the technique for tracking Flash
How to implement
- [[Install_the_tracking_snippet|Install ConversionRuler Tracking] normally on your site.
- If jQuery is already being used, add the following script after jQuery is loaded:
<script type="text/javascript" src="http://www.conversionruler.com/bin/youtube.js"></script>
- Edit your sites actions to add the following actions:
* "play" - When a video is played by the user * "pause" - When a video is paused by the user * "seek" - When a video is seeked by the user * "end" -> When a video reaches the end
- YouTube videos will now be tracked using the named actions as described below