<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Engaging Analytics with Michael C. Cook</title>
	<atom:link href="http://analytics.pdxpcd.org/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://analytics.pdxpcd.org</link>
	<description>Analytics and Technology</description>
	<lastBuildDate>Fri, 20 Aug 2010 17:06:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>“The Web Isn’t Dead”</title>
		<link>http://analytics.pdxpcd.org/?p=62</link>
		<comments>http://analytics.pdxpcd.org/?p=62#comments</comments>
		<pubDate>Fri, 20 Aug 2010 17:06:49 +0000</pubDate>
		<dc:creator>Michael C. Cook</dc:creator>
				<category><![CDATA[Analytics]]></category>
		<category><![CDATA[Data]]></category>
		<category><![CDATA[History]]></category>

		<guid isPermaLink="false">http://analytics.pdxpcd.org/?p=62</guid>
		<description><![CDATA[Wired Magazine released an article earlier this week declaring “The Web Is Dead. Long Live the Internet.” Now, don’t get me wrong, I enjoy reading Wired’s articles. Most of the time what they produce is informed and interesting. However, the article in question is an obvious attempt to create controversy and get eyeball. The basic [...]]]></description>
			<content:encoded><![CDATA[<p>Wired Magazine released an article earlier this week declaring <a href="http://www.wired.com/magazine/2010/08/ff_webrip/all/1">“The Web Is Dead. Long Live the Internet.”</a>  Now, don’t get me wrong, I enjoy reading Wired’s articles.  Most of the time what they produce is informed and interesting.  However, the article in question is an obvious attempt to create controversy and get eyeball.</p>
<p>The basic premise of the article is that since “the web” accounts for less overall bandwidth traffic on the internet, that internet users are abandoning the traditional web for other types of interaction (e.g., apps and such).</p>
<p>The core issue is the basic premise is completely off the mark.  It shows how easy it is to distort data by using the right visualization.  Let’s look at the graph of data that is the core problem.  The graph shows that the portion of bandwidth dedicated to video traffic video has grown tremendously, overtaking “web” traffic by a tidy amount. </p>
<p><a href="http://analytics.pdxpcd.org/wp-content/uploads/2010/08/wired.png"><img src="http://analytics.pdxpcd.org/wp-content/uploads/2010/08/wired.png" alt="" title="wired" width="600" height="347" class="alignnone size-full wp-image-64" /></a></p>
<p>The issue with this visualization is multi-fold:</p>
<p>1)	It is an overall percentage based chart.  While the percentage of the overall bandwidth dedicated to “the web” has decreased, the overall pie has increase significantly.  If we map out the total overall estimated traffic for the web you can see it has grown by about 100 times what it was in 2000.</p>
<p><a href="http://analytics.pdxpcd.org/wp-content/uploads/2010/08/the_web.png"><img src="http://analytics.pdxpcd.org/wp-content/uploads/2010/08/the_web.png" alt="" title="the_web" width="509" height="316" class="alignnone size-full wp-image-65" /></a></p>
<p>Wow! That looks much different, right?</p>
<p>2)	The graph equates overall size with actual consumption.  Not all media is created equal.  While video files are much larger, the impact of the data is well overstated.  If I spend 5 minutes reading a blog post and another 30 seconds watching a short video, the blog post will have arguably engaged me more.  However, would appear much larger if you charted it out.  Look at the following chart…</p>
<p><a href="http://analytics.pdxpcd.org/wp-content/uploads/2010/08/chart2.png"><img src="http://analytics.pdxpcd.org/wp-content/uploads/2010/08/chart2.png" alt="" title="chart2" width="408" height="231" class="alignnone size-full wp-image-66" /></a></p>
<p>Do you see Blog on there?  It’s on there I promise, it’s just super small.  This is a case of measuring the wrong piece of data.  We should be looking at actual engagement rather than overall file size.</p>
<p>3)	What is “The Web” anyway? This is a question of how the taxonomy is set up.  While a majority of content might be video, I’m sure a great portion of that comes via the browser via sites like YouTube and Hulu.  There are a number of set-top boxes out there that can stream internet content, but these are the vast minority.</p>
<p>Also, one wonders where music falls on this graph.  Is that “The Web”?  Certainly the bandwidth taken up by podcasts and streaming media services like Pandora should have shown up somewhere.  They are conspicuously absent. </p>
<p>So what’s the deal?  Certainly internet traffic is growing exponentially.  Where is this traffic coming from if “the web” isn’t suffering?  The population growth can’t explain it and people don’t suddenly have additional hours of free time they didn’t have before.</p>
<p>The truth is “the web” isn’t being replaced, but traditional media delivery methods are.  Traditional media has been hit hard by the move to the internet.  Newspaper and magazine subscriptions are down across the board (yes, including Wired).</p>
<p>But probably more significant is the growth of online video as an alternative to TV.  Even the finales of American Idol manage to only pull in a small portion of what the audiences TV used to pull in.  Just as people have abandoned their landlines to move to just having mobile phones as their main phone, younger demographics are dumping their TVs, in favor of a PC or mobile viewing devices.  And who could blame them?  With the availability of content and the convenience of all in one device, a TV seems redundant.</p>
<p>That’s not to say traditional media is dead or being completely replaced by online activity either.  For example, after some mid-decade stalling, movie box office receipts are higher than they’ve ever been and continue to trend up.  The front-porch newspaper and magazines might be close to dead, but truly savvy media organizations (The New York Times, The Economist, even Wired Magazine) are sure to exist in some format for many years to come thanks to their mobile, audio and web presence.  How we interact with these brands may be different, but they are likely to remain.  Look at what Wired managed to do with an simple online article. </p>
]]></content:encoded>
			<wfw:commentRss>http://analytics.pdxpcd.org/?feed=rss2&amp;p=62</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Office SharePoint Server 2007 &#8211; Let’s Make This Easy</title>
		<link>http://analytics.pdxpcd.org/?p=58</link>
		<comments>http://analytics.pdxpcd.org/?p=58#comments</comments>
		<pubDate>Thu, 16 Apr 2009 23:00:36 +0000</pubDate>
		<dc:creator>Michael C. Cook</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://analytics.pdxpcd.org/?p=58</guid>
		<description><![CDATA[Check out my post on the Webtrends blog about the groundbreaking new Webtrends MOSS 2007 solution: http://tinyurl.com/d3u4fc]]></description>
			<content:encoded><![CDATA[<p>Check out my post on the Webtrends blog about the groundbreaking new Webtrends MOSS 2007 solution:<br />
<a href="http://tinyurl.com/d3u4fc">http://tinyurl.com/d3u4fc</a></p>
]]></content:encoded>
			<wfw:commentRss>http://analytics.pdxpcd.org/?feed=rss2&amp;p=58</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Meta Tag DOMination</title>
		<link>http://analytics.pdxpcd.org/?p=52</link>
		<comments>http://analytics.pdxpcd.org/?p=52#comments</comments>
		<pubDate>Fri, 21 Nov 2008 15:17:16 +0000</pubDate>
		<dc:creator>Michael C. Cook</dc:creator>
				<category><![CDATA[Data]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Meta Tags]]></category>

		<guid isPermaLink="false">http://analytics.pdxpcd.org/?p=52</guid>
		<description><![CDATA[(For WebTrends users using SmartSource (JavaScript) Data Collection (SDC)) From time to time content developers have to deal with systems that do not allow them to add meta tags to their pages. Some portal based systems do not even access the main page content until after the HTML document head has been rendered. Or perhaps [...]]]></description>
			<content:encoded><![CDATA[<p>(For WebTrends users using SmartSource (JavaScript) Data Collection (SDC))</p>
<p>From time to time content developers have to deal with systems that do not allow them to add meta tags to their pages.  Some portal based systems do not even access the main page content until after the HTML document head has been rendered.  Or perhaps you&#8217;re working with a content management system that does not allow you access to the main page templates where you would usually place meta data content.</p>
<p>However, if you&#8217;re able to enter JavaScript in the page content areas you do control, you can still add meta data to the page.  JavaScript has a DOM or Document Object Model.  This DOM gives you access to the content of the HTML document.  Not only can you scan content, but you can also add content to the DOM.</p>
<p>In the following example we are adding a tag called test2 (called DCSext.test2 so the WebTrends tag will pick it up) with a value of &#8220;test good&#8221;.  The following code creates a JavaScript parameter with the two values. It then accesses the DOM via the head and adds the meta data tags to the document.</p>
<p><code>&lt;script type="text/javascript"&gt;<br />
var meta;<br />
if (document.createElement &amp;&amp; (meta = document.createElement('meta')))<br />
{<br />
meta.name = "DCSext.test2";<br />
meta.content = "test good";<br />
document.getElementsByTagName('head').item(0).appendChild(meta);<br />
}<br />
&lt;/script&gt;</code></p>
<p>Since the WebTrends base tag access the meta tag DOM directly, it will read the new meta data and send it to your SmartSource Data Collector.  This strategy is an easy way to tackle some of the common pain you have when you cannot fully control the page creation.</p>
]]></content:encoded>
			<wfw:commentRss>http://analytics.pdxpcd.org/?feed=rss2&amp;p=52</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WT Blog</title>
		<link>http://analytics.pdxpcd.org/?p=46</link>
		<comments>http://analytics.pdxpcd.org/?p=46#comments</comments>
		<pubDate>Tue, 18 Nov 2008 16:34:49 +0000</pubDate>
		<dc:creator>Michael C. Cook</dc:creator>
				<category><![CDATA[Analytics]]></category>
		<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Data]]></category>
		<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://analytics.pdxpcd.org/?p=46</guid>
		<description><![CDATA[Make sure to check out the official WT Blog.  Better yet, make sure to check out my introductory post about Measuring Blog Engagement: http://blog.webtrends.com/2008/11/17/measuring-blog-engagement/.]]></description>
			<content:encoded><![CDATA[<p>Make sure to check out the official WT Blog.  Better yet, make sure to check out my introductory post about Measuring Blog Engagement: <a title="http://blog.webtrends.com/2008/11/17/measuring-blog-engagement/" href="http://blog.webtrends.com/2008/11/17/measuring-blog-engagement/" target="_blank">http://blog.webtrends.com/2008/11/17/measuring-blog-engagement/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://analytics.pdxpcd.org/?feed=rss2&amp;p=46</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>T-Mobile&#8217;s G1 Delivers The First Google Android Phone &#8211; WebTrends Delivers The Reporting</title>
		<link>http://analytics.pdxpcd.org/?p=44</link>
		<comments>http://analytics.pdxpcd.org/?p=44#comments</comments>
		<pubDate>Thu, 25 Sep 2008 18:23:31 +0000</pubDate>
		<dc:creator>Michael C. Cook</dc:creator>
				<category><![CDATA[Analytics]]></category>
		<category><![CDATA[Data]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://analytics.pdxpcd.org/?p=44</guid>
		<description><![CDATA[Yesterday, T-Mobile announced the G1, the first phone leveraging Google&#8217;s mobile operating system, Android.  The phone, priced at a reasonable $179, will launch on October 22. WebTrends On Demand will be able to track this new platform when it launches.  Users will be able to see what effect, if any, this new platform has on [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday, T-Mobile announced the G1, the first phone leveraging Google&#8217;s mobile operating system, Android.  The phone, priced at a reasonable $179, will launch on <span id="intellitxt">October 22. </span><span id="intellitxt">WebTrends On Demand will be able to track this new platform when it launches.  Users will be able to see what effect, if any, this new platform has on mobile traffic to their websites. </span></p>
<p>The phone&#8217;s browser is based on the WebKit Open Source Project&#8217;s platform.  This is the same platform used by the Safari and Chrome browsers.</p>
]]></content:encoded>
			<wfw:commentRss>http://analytics.pdxpcd.org/?feed=rss2&amp;p=44</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Chrome On The Map</title>
		<link>http://analytics.pdxpcd.org/?p=42</link>
		<comments>http://analytics.pdxpcd.org/?p=42#comments</comments>
		<pubDate>Mon, 22 Sep 2008 23:25:23 +0000</pubDate>
		<dc:creator>Michael C. Cook</dc:creator>
				<category><![CDATA[Data]]></category>
		<category><![CDATA[Visitors]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://analytics.pdxpcd.org/?p=42</guid>
		<description><![CDATA[Four weeks after its launch, Google Chrome is the fourth most popular browser. According to a report released by WebTrends last week, The Daily Telegraph&#8217;s website, Chrome registered nearly 2% of the browser share. The Telegraph is Britain&#8217;s highest selling newspaper, making it a good measure of general adoption rates. Google Chrome has effectively leapfrogged [...]]]></description>
			<content:encoded><![CDATA[<p>Four weeks after its launch, Google Chrome is the fourth most popular browser.  According to a report released by WebTrends last week, The Daily Telegraph&#8217;s website,  Chrome registered nearly 2% of the browser share.  The Telegraph is Britain&#8217;s highest selling newspaper, making it a good measure of general adoption rates.</p>
<p>Google Chrome has effectively leapfrogged of Opera, but is far from unseating Safari, Firefox or Internet Explorer.</p>
<p>It&#8217;s worth noting that I am seeing Google Chrome actually dropping in market share.  It&#8217;s not significant, but it suggests a lot of users played with it and decided to go back to their primary browser.  Once Google adds what many users consider necessary features (let&#8217;s face it, despite the fanfare, it&#8217;s very bare bones right now), it will be interesting to see if it can be a real competitor.</p>
<p><a href="http://www.webtrends.com/AboutWebTrends/NewsRoom/NewsRoomArchive/2008/DailyTelegraphWitnessesIncreasedUsageofGoogleChrome.aspx">See the WebTrends press release.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://analytics.pdxpcd.org/?feed=rss2&amp;p=42</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebTrends On Demand Tracking Google Chrome</title>
		<link>http://analytics.pdxpcd.org/?p=38</link>
		<comments>http://analytics.pdxpcd.org/?p=38#comments</comments>
		<pubDate>Wed, 10 Sep 2008 14:04:41 +0000</pubDate>
		<dc:creator>Michael C. Cook</dc:creator>
				<category><![CDATA[Analytics]]></category>
		<category><![CDATA[Data]]></category>
		<category><![CDATA[Visitors]]></category>
		<category><![CDATA[Browsers]]></category>

		<guid isPermaLink="false">http://analytics.pdxpcd.org/?p=38</guid>
		<description><![CDATA[On Monday, WebTrends began tracking the new Google Chrome browser.  WebTrends On Demand users can now evaluate the effect the browser is having on their visitors&#8217; activities. Post edited based on additional clarification from visitors.]]></description>
			<content:encoded><![CDATA[<p>On Monday, WebTrends began tracking the new Google Chrome browser.  WebTrends On Demand users can now evaluate the effect the browser is having on their visitors&#8217; activities.</p>
<p><em>Post edited based on additional clarification from visitors.</em></p>
<div class="wp-caption alignright" style="width: 402px"><img title="Chrome in WTOD" src="http://analytics.pdxpcd.org/uploads/chrome_wt.png" alt="A report from Monday, showing Google Chrome Traffic." width="392" height="164" /><p class="wp-caption-text">A report from Monday, showing Google Chrome Traffic.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://analytics.pdxpcd.org/?feed=rss2&amp;p=38</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tracking Windows Media Player Content Automatically</title>
		<link>http://analytics.pdxpcd.org/?p=18</link>
		<comments>http://analytics.pdxpcd.org/?p=18#comments</comments>
		<pubDate>Fri, 25 Jul 2008 17:11:31 +0000</pubDate>
		<dc:creator>Michael C. Cook</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://analytics.pdxpcd.org/?p=18</guid>
		<description><![CDATA[One of the most difficult issues faced by analytics professionals using tag based data collection is the tracking of online video. Adobe Flash and Microsoft Silverlight are fairly simple to track once you understand the concept of inserting data collection calls at certain points in the media timeline. Things are much more difficult when tracking [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-30 alignleft" title="wmp_copy" src="http://analytics.pdxpcd.org/wp-content/uploads/2008/07/wmp_copy.jpg" alt="Windows Media Logo" width="180" height="180" align="left" /></p>
<p>One of the most difficult issues faced by analytics professionals using tag based data collection is the tracking of online video.  Adobe Flash and Microsoft Silverlight are fairly simple to track once you understand the concept of inserting data collection calls at certain points in the media timeline.</p>
<p>Things are much more difficult when tracking other types of embedded players.  Many organizations standardized on Windows Media, QuickTime or Real Media years ago and do not have the option of changing to Flash based media players.</p>
<p>There&#8217;s not much to be done for organizations linking directly to media content unless you want to just analyze the initial click, analyze the streaming server log files or set up the streaming server to send data based on the media conditions. Neither option is very scalable or easy to deal with.</p>
<p>For organizations that embedded the media on their pages they do have additional options.  All of the common media players do have JavaScript object hooks that can be used to access the player and the data.  The example I provide below works with Windows Internet Explorer using Windows Media Player 7 or higher.  Version 7 has been around since 2000, so this should catch almost all user using Internet Explorer.  Firefox 3, Opera and Safari implement the Window Media Player slightly differently, so I will need to update this script using a completely different methodology.  That will come later.</p>
<p><a href="/uploads/wmv_test_clean.html" target="_blank">You can view my Media Player test page here</a></p>
<p>Lets dive down into the code a little:</p>
<blockquote><p>&lt;OBJECT ID=&#8221;MediaPlayer&#8221; width=&#8221;320&#8243; height=&#8221;240&#8243;  CLASSID=&#8221;CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6&#8243; type=&#8221;application/x-oleobject&#8221;&gt;<br />
&lt;PARAM NAME=&#8221;URL&#8221; VALUE=&#8221;http://www.mediacollege.com/video/format/windows-media/streaming/videofilename.wmv&#8221;&gt;<br />
&lt;PARAM NAME=&#8221;SendPlayStateChangeEvents&#8221; VALUE=&#8221;True&#8221;&gt;<br />
&lt;PARAM NAME=&#8221;AutoStart&#8221; VALUE=&#8221;False&#8221;&gt;<br />
&lt;!&#8211; BEGIN PLUG-IN HTML FOR FIREFOX&#8211;&gt;<br />
&lt;embed type=&#8221;application/x-mplayer2&#8243; pluginspage = &#8220;http://www.microsoft.com/Windows/MediaPlayer/&#8221; src=&#8221;http://www.mediacollege.com/video/format/windows-media/streaming/videofilename.wmv&#8221; align=&#8221;middle&#8221;<br />
width=176 height=144 defaultframe=&#8221;rightFrame&#8221; showstatusbar=true&gt;&lt;/embed&gt;</p>
<p>&lt;!&#8211; END PLUG-IN HTML FOR FIREFOX&#8211;&gt;<br />
&lt;/OBJECT&gt;</p></blockquote>
<p>This is the standard code for embedding Windows Media Player content in a page.  Note that the ID is &#8220;MediaPlayer&#8221;.  This identifies our player to the JavaScript.  If you want to reuse this code you will need to either change the JavaScript references or change to a standard id of &#8220;MediaPlayer&#8221;.  Since there&#8217;s not really an advantage to naming each Media Player instance something different (unless you have more than one on a page), this will not be an issue for most users.</p>
<blockquote><p>//Sets state to.  This means we can detect plays<br />
state = 0;</p></blockquote>
<p>This JavaScript code sets a value of 0.  The point of doing this is initiate a gatekeeper value to ensure multiple requests are not sent to the data collector without our permission.  We will be looking at the next elements out of order.</p>
<blockquote><p>&lt;<span class="start-tag">SCRIPT</span><span class="attribute-name"> LANGUAGE</span>=<span class="attribute-value">&#8220;JavaScript&#8221; </span><span class="attribute-name">FOR</span>=<span class="attribute-value">&#8220;MediaPlayer&#8221; </span><span class="attribute-name">EVENT</span>=<span class="attribute-value">&#8220;playStateChange(NewState)&#8221;</span>&gt;<br />
switch (NewState){</p>
<p>// Play<br />
case 3:</p>
<p>//Grabs video title<br />
VideoTitle = document.MediaPlayer.currentMedia.getItemInfo(&#8216;Title&#8217;);</p></blockquote>
<p>This is the &#8220;play&#8221; state for the media clip. When a user starts to play<br />
a clip this action is kicked off. The first thing we do is grab the<br />
media title. If there is no media title, it will grab the filename.</p>
<blockquote><p>// checks to see if state is not equal to one.  If it is not equal to one, a Multitrack<br />
call is executed and state is set to one<br />
// The reason for setting the state is to ensure that multiple (incorrect) plays are not<br />
sent to the data collector<br />
if (state &lt; 1) {<br />
dcsMultiTrack(&#8216;DCS.dcsuri&#8217;,'/Video &#8216; + VideoTitle + &#8216; Play&#8217;,'WT.ti&#8217;,'Video: &#8216; +<br />
VideoTitle + &#8216; Play&#8217;,'WT.clip_t&#8217;,'Windows Media&#8217;,'WT.clip_ev&#8217;,'v&#8217;,'WT.clip_n&#8217;,VideoTitle);</p>
<p>// place event here and set state to 1 so it cannot occur again<br />
state = 1;<br />
}<br />
break;</p></blockquote>
<p>This next block of code checks to see if we have a value of 0 for the media player state we set before. If we do, an event is sent to the WebTrends data collection server and the state is set to 1. We set the state to one because the Media Player may hit the play state a number of times during a clip. If a user pauses the content or fast forwards, we could have a number of media request that I consider to be invalid.</p>
<p>The request to the WebTrends server includes standard metrics and parameters including our video title.  </p>
<blockquote><p>//8 	MediaEnded 	Media item has completed playback.<br />
case 8:<br />
//fire event and set state back to 0.  Additional plays will now be detected.<br />
dcsMultiTrack(&#8216;DCS.dcsuri&#8217;,'/Video &#8216; + VideoTitle + &#8216; Finish&#8217;,'WT.ti&#8217;,'Video: &#8216; +<br />
VideoTitle + &#8216; Finish&#8217;,'WT.clip_t&#8217;,'Windows Media&#8217;,'WT.clip_ev&#8217;,'f&#8217;,'WT.clip_n&#8217;,VideoTitle);</p>
<p>//Sets state back to 0.  We can now track replays.<br />
state = 0;<br />
break;</p></blockquote>
<p>This block of code is executed when the media has completed playing. It also set the state back to 0 so any additional media plays will be captured.</p>
<p>So now we have &#8220;plays&#8221; and &#8220;completions&#8221; without a whole lot of fuss.  Pretty cool, right?</p>
<p>But what if we want to dig a little deeper?  What if we want to know if a user hit a certain milestone?  Did the user get 25% through the clip?  50%?  Knowing the clip fall off rate is very important when judging online video content.  Are your clips too long?  Are there key points where you are losing viewers?  Without that data you are left without the insight you really need.  Let&#8217;s grab that extra data.</p>
<blockquote><p>//Set function to ping the player for status<br />
function CheckPlayer() {<br />
window.setInterval(&#8220;checkPlayerDCS()&#8221;,100);<br />
}</p>
<p>//Set function to ping the player for status<br />
function checkPlayerDCS() {</p></blockquote>
<p>This bit of code sets up a Media Player checker.  Since there is no event when a user hits 25%<br />
of a clip we need to actively check the state of the player to get the data.</p>
<blockquote><p>window.setTimeout(&#8220;CheckPlayer()&#8221;,1000);</p></blockquote>
<p>This bit of code simply kicks off the checker.</p>
<blockquote><p>VideoPercent = parseInt(document.MediaPlayer.controls.currentPosition / document.MediaPlayer.currentMedia.duration*100);</p></blockquote>
<p>Now we need to do a little bit of math. We need to calculate the percentage complete. This can be achieved by taking the current position dividing it by the full duration of the clip and multiplying by 100 so we have a whole number percentage base.</p>
<blockquote><p>// checks to see if state is equal to one.  If so, a Multitrack call is executed and state is<br />
set to two.<br />
// The reason for setting the state is to ensure that multiple (incorrect) plays are not sent<br />
to the data collector<br />
if (VideoPercent &gt; 24 &amp;&amp; state == &#8220;1&#8243;) {<br />
dcsMultiTrack(&#8216;DCS.dcsuri&#8217;,'/Video &#8216; + VideoTitle + &#8216; Play 25 percent&#8217;,'WT.ti&#8217;,'Video: &#8216; +<br />
VideoTitle + &#8216; Play 25 percent&#8217;,'WT.clip_t&#8217;,'Windows Media&#8217;,'WT.clip_ev&#8217;,&#8217;25 percent&#8217;,<br />
&#8216;WT.clip_n&#8217;,VideoTitle);<br />
// place event here and set state to 2 so it cannot occur again<br />
state = 2;<br />
}</p></blockquote>
<p>The next bit of code checks to see if we are already in the play state (i.e., 1).   We need to do this because sometimes this code can step on the play function firing.  This way we can keep the events in the right order.</p>
<p>If we are in the play state and we are above 25% completed an event is fired.  The state is changed again to make sure the media is not fired again.  We repeat this a few more times to capture 50% and 75%.  You can do this as many times as you like, keeping in mind that these server requests do count as page views.  I suggest you don&#8217;t go too crazy with them.</p>
<p>Let&#8217;s look at the result using HTTP Watch:</p>
<div id="attachment_25" class="wp-caption aligncenter" style="width: 310px"><a href="http://analytics.pdxpcd.org/wp-content/uploads/2008/07/http1.png"><img class="size-medium wp-image-25" title="http1" src="http://analytics.pdxpcd.org/wp-content/uploads/2008/07/http1-300x159.png" alt="HTTP Output" width="300" height="159" /></a><p class="wp-caption-text">HTTP Watch Output</p></div>
<p>If you look at the results you can see that five requests fire when I play the clip.  The first one fires when I play the clip, the second one when it hits 25%, the third one when it hits 50%, the forth one when it hits 75% and the last one when the clip finishes playing.</p>
<p>As I stated earlier in this post, this can be adapted to other embedded formats and browsers.  It just takes a bit of time to figure out the proper way of calling the data based on the platform.  I will be posting more trackers once I have time to go through all of the different possible iterations.</p>
]]></content:encoded>
			<wfw:commentRss>http://analytics.pdxpcd.org/?feed=rss2&amp;p=18</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.mediacollege.com/video/format/windows-media/streaming/videofilename.wmv" length="18254" type="video/x-ms-wmv" />
		</item>
		<item>
		<title>AVG Issues A Fix</title>
		<link>http://analytics.pdxpcd.org/?p=15</link>
		<comments>http://analytics.pdxpcd.org/?p=15#comments</comments>
		<pubDate>Mon, 07 Jul 2008 15:20:49 +0000</pubDate>
		<dc:creator>Michael C. Cook</dc:creator>
				<category><![CDATA[Data]]></category>
		<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://analytics.pdxpcd.org/?p=15</guid>
		<description><![CDATA[Straight from AVG: First of all, I would like to let all of you know that the update has already been released for all free users on Friday evening&#8230; That means, that the millions of free users should get updated within the next few days and you should see a significant decrease in the SafeSearch [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>Straight from AVG:</p>
<blockquote><p>First of all, I would like to let all of you know that the update  has<br />
already been released for all free users on Friday evening&#8230; That means,  that the millions of free users should get updated within the next few days and  you should see a significant decrease in<br />
the SafeSearch requests&#8230;</p>
<p>Update for the Pro version (the paid product) will be released as soon as  the QA for this is finished, which should be July 9th at the latest. Based on  the QA results over the weekend, we expect that we should be able to release  the update even sooner.</p>
<p>For paid users who have the SafeSurf component active (on by default), all  pages are scanned upon receipt, as it was before. The web page content is  scanned by a &#8216;transparent proxy&#8217; and thus all exploits and malicious code get  detected, irrespective of where the page comes<br />
from, how it was opened or  which program downloads the page content. This is the core of the real-time  protection.  This has not changed but this part has no effect on webmasters or  analytics as this is really scanning the page on the client only upon receipt  &#8211; so only if the<br />
user has already decided to visit the page&#8230;</p>
<p>The SafeSearch component was modified so that it now relies purely on a  database approach. A black-list (database of known bad sites/URLs) similar to  the anti-virus detection database is distributed to all users, allowing the  SafeSearch component to mark known bad sites in<br />
search results. However, no  other scanning is currently being performed by the SafeSearch component. That  means no visits to websites unless the user really clicks on a link. The  black-list (bad site database) is based on our internal research and on the  real-time<br />
results of the SafeSurf component that are reported back to  our systems by users who chose to participate in our prevalence  reporting system (this is an opt-in feature of AVG8).</p>
<p>As a result, there should be no additional visits to websites that have  not been initiated by the end user.</p></blockquote>
<p>This is very good progress from AVG.  The question that is still outstanding is if the product still requests  noscript analytics calls.  This could and probably has led to double counting of  page views for websites where the user actually did visit the content.  I have  requested an update from AVG on this specific issue.  I will let you know what I  find out.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://analytics.pdxpcd.org/?feed=rss2&amp;p=15</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebTrends Analytics v8.5 is out!</title>
		<link>http://analytics.pdxpcd.org/?p=14</link>
		<comments>http://analytics.pdxpcd.org/?p=14#comments</comments>
		<pubDate>Mon, 30 Jun 2008 19:38:34 +0000</pubDate>
		<dc:creator>Michael C. Cook</dc:creator>
				<category><![CDATA[Analytics]]></category>
		<category><![CDATA[WebTrends Analytics]]></category>

		<guid isPermaLink="false">http://analytics.pdxpcd.org/?p=14</guid>
		<description><![CDATA[WebTrends On Demand users have been able to enjoy Analytics v8.5 since the middle of June.  Now software customer get to leverage the new and improved platform. Highlights of the new release include: Calculated measures &#8211; Available via Custom Reports or even ad-hoc. Web 2.0 Reports &#8211; A nice new set of report for users [...]]]></description>
			<content:encoded><![CDATA[<p>WebTrends On Demand users have been able to enjoy Analytics v8.5 since the middle of June.  Now software customer get to leverage the new and improved platform.</p>
<p>Highlights of the new release include:</p>
<ul>
<li>Calculated measures &#8211; Available via Custom Reports or even ad-hoc.</li>
<li>Web 2.0 Reports &#8211; A nice new set of report for users that allow them to capture data on new technologies easily.</li>
<li>Improved user administration &#8211; User roles make setting up hundreds of users a breeze.  This is a huge improvement.</li>
<li>Enhanced language support (especially important for customers that use double byte character)</li>
</ul>
<p>Over the next few weeks I will be diving into this new functionality in detail, offering tips and tricks.  Enjoy the release!</p>
]]></content:encoded>
			<wfw:commentRss>http://analytics.pdxpcd.org/?feed=rss2&amp;p=14</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

