YouTube Video Tracking

From Market Ruler Help
Revision as of 17:26, 19 August 2013 by Admin (talk | contribs)
Jump to: navigation, search

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

  1. [[Install_the_tracking_snippet|Install ConversionRuler Tracking] normally on your site.
  2. 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>
  1. 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
  1. YouTube videos will now be tracked using the named actions as described below