Engagement/Analytics/Webtrends/Tracking: Difference between revisions

Line 64: Line 64:
  <code>&lt;div <font color=red><b>id="video-player"</b></font> class="mozilla-video-control"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;video<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color=red ><b>id="video"</b></font><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width="640"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;height="360"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;controls="controls" preload="metadata"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;poster="/img/covehead/video/poster-brand.jpg"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;src="http://videos-cdn.mozilla.net/your_video.webm"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/video&gt;<br>&lt;/div&gt;</code>
  <code>&lt;div <font color=red><b>id="video-player"</b></font> class="mozilla-video-control"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;video<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color=red ><b>id="video"</b></font><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width="640"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;height="360"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;controls="controls" preload="metadata"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;poster="/img/covehead/video/poster-brand.jpg"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;src="http://videos-cdn.mozilla.net/your_video.webm"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/video&gt;<br>&lt;/div&gt;</code>


Notice that the id of the div tag is highlighted.  This is required the reporting engine can differentiate a video play from other type of events.  It must always be set to <b>video-player</b>.  Also, the id value in the video tag should designate the name of the video.  This will allow Webtrends to distinguish it from other videos on your site.
Notice that the id of the div tag is highlighted.  This is required so the reporting engine can differentiate a video play from other type of events that may occur on your page.  It must always be set to <b>video-player</b>.  Also, the id value in the video tag should designate the name of your video.  This will allow Webtrends to distinguish it from other videos on your site.


== DCS Tracking: How to Create a Report  ==
== DCS Tracking: How to Create a Report  ==
165

edits