<?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>HighEdWebTech &#187; Web Analytics</title>
	<atom:link href="http://highedwebtech.com/category/web-analytics/feed/" rel="self" type="application/rss+xml" />
	<link>http://highedwebtech.com</link>
	<description>Higher Ed Web Development</description>
	<lastBuildDate>Fri, 20 Jan 2012 14:00:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Tracking Specific Actions in WordPress &amp; Google Analytics</title>
		<link>http://highedwebtech.com/2011/09/21/tracking-specific-actions-in-wordpress-google-analytics/</link>
		<comments>http://highedwebtech.com/2011/09/21/tracking-specific-actions-in-wordpress-google-analytics/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 14:14:56 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Analytics]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Analytics]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[XHTML]]></category>
		<category><![CDATA[event tracking wordpress]]></category>
		<category><![CDATA[event tracking wp]]></category>
		<category><![CDATA[google analytics]]></category>
		<category><![CDATA[google analytics event tracking]]></category>
		<category><![CDATA[google analytics events tracking]]></category>
		<category><![CDATA[wordpress google analytics]]></category>
		<category><![CDATA[wp ga event tracking]]></category>

		<guid isPermaLink="false">http://highedwebtech.com/?p=1770</guid>
		<description><![CDATA[As part of our rollout of WordPress as our CMS, we&#8217;ve given our users several custom post types, allowing them to create and manage assets such as rotating display banners and graphical link buttons. We want to be able to easily track actions on these banners and buttons, and want to be able to see [...]]]></description>
			<content:encoded><![CDATA[<p>As part of our rollout of WordPress as our CMS, we&#8217;ve given our users several custom post types, allowing them to create and manage assets such as rotating display banners and graphical link buttons. We want to be able to easily track actions on these banners and buttons, and want to be able to see that information easily in Google Analytics.</p>
<p>One of the new features in the newer versions of Google Analytics (GA) is the ability to track <a href="http://code.google.com/apis/analytics/docs/tracking/eventTrackerGuide.html">event actions</a> on a link. This can be not only clicks, in our case, on a button, link or graphic, but you can setup javascript triggers when a user starts, stops or pauses a video, for example.</p>
<p>Setting this up is pretty straightforward. First, you&#8217;ll need to add a quick snippet to your GA embed code, if you aren&#8217;t already. It&#8217;s the <code>trackPageview</code> function. You&#8217;ll add it under the line in your GA code where you&#8217;re account code is. For example:</p>
<pre class="brush: jscript; highlight: [4]; title: ; wrap-lines: false; notranslate">&lt;script type=&quot;text/javascript&quot;&gt;

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-XXXXX-X']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

&lt;/script&gt;</pre>
<p>That will allow you to start tracking events on your pages. To add the event tracking action to a specific element on your page, you add a line of code that looks like this to your <code>a</code> tags. </p>
<pre class="brush: jscript; title: ; notranslate">onClick=&quot;_gaq.push(['_trackEvent', 'Videos', 'Play', 'Baby\'s First Birthday']);&quot;</pre>
<p>There are three fields there to pay attention to. The first is the category field. In the above example, it&#8217;s <code>Videos</code>. You can have multiple categories on a certain page. On our WordPress sites, we&#8217;re specifically tracking banners and small image buttons, often on the same page. </p>
<p>The second field is the action variable &#8211; which in the example above is <code>Play</code>.  For our WordPress pages, we use the term <code>Click</code>. Through javascript and PHP variables, you can make your actions very specific, such as:</p>
<pre class="brush: jscript; title: ; notranslate">
_gaq.push(['_trackEvent', 'Videos', 'Play - Mac Chrome');
_gaq.push(['_trackEvent', 'Videos', 'Play - Windows Chrome');
</pre>
<p>And finally, the label. Above, it's <code>Baby's First Birthday</code>. For our uses, we tailor this to the specific banner or button getting clicked. After a few days, we realized it would also be good to know what site the visitor was on. As with the other fields, this should be tailored to the specific content being clicked on. In the video example, you'd have something like this for different videos being played:</p>
<pre class="brush: jscript; title: ; notranslate">
_gaq.push(['_trackEvent', 'Videos', 'Play', 'Gone With the Wind']);
_gaq.push(['_trackEvent', 'Videos', 'Play', 'Huckleberry Finn']);
</pre>
<p>To our user, our links look like this:</p>
<pre class="brush: xml; auto-links: true; html-script: false; light: false; pad-line-numbers: false; smart-tabs: true; tab-size: 4; title: ; toolbar: false; notranslate">
&lt;a href=&quot;http://sites.jcu.edu/newsroom/?p=1697&quot; onClick=&quot;_gaq.push(['_trackEvent', 'Taters', 'Click', 'Princeton Review Best in the Midwest (Site: JCU Newsroom ID: 1694)']);&quot;&gt;
&lt;img src=&quot;http://webmedia.jcu.edu/newsroom/files/2011/08/princeton_review-700x230.jpg&quot; alt=&quot;Princeton Review Best in the Midwest&quot; /&gt;
&lt;/a&gt;
</pre>
<p>In our WordPress templates, it looks like this:</p>
<pre class="brush: php; auto-links: true; html-script: false; light: false; pad-line-numbers: false; smart-tabs: true; tab-size: 4; title: ; toolbar: false; notranslate">
&lt;a href=&quot;&lt;?php echo $url; ?&gt;&quot; onClick=&quot;_gaq.push(['_trackEvent', 'Taters', 'Click', '&lt;?php echo get_the_title($ID).&quot; (Site: &quot;.get_bloginfo('name').&quot; ID: &quot;.$id.&quot;)&quot;; ?&gt;']);&quot;&gt;
&lt;img src=&quot;&lt;?php echo $img[0]; ?&gt;&quot; alt=&quot;&lt;?php echo get_the_title($ID); ?&gt;&quot; /&gt;
&lt;/a&gt;
</pre>
<p>We are tracking the individual banner that was clicked on, as well as the site the banner appears on. We add an additional field for our own, the actual ID of the banner asset. We do that just in case we need to find one quickly, or two banners get named the same thing. It&#8217;s happened. </p>
<p>That gives us a very nice report in GA that looks like this:</p>
<p><a href="http://media.highedwebtech.com/wp-content/uploads/2011/09/Screen-shot-2011-09-06-at-12.03.54-PM.png"><img src="http://media.highedwebtech.com/wp-content/uploads/2011/09/Screen-shot-2011-09-06-at-12.03.54-PM.png" alt="" title="Screen shot 2011-09-06 at 12.03.54 PM" width="580" class="aligncenter size-full wp-image-1811" /></a></p>
<p>We can very easily filter by a specific site to see what buttons and graphics are getting clicked on. You could also add this to any static link as well, but I&#8217;m specifically interested on what specific calls to action are getting noticed by our users. </p>
]]></content:encoded>
			<wfw:commentRss>http://highedwebtech.com/2011/09/21/tracking-specific-actions-in-wordpress-google-analytics/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Woopra: A Solid Start So Far</title>
		<link>http://highedwebtech.com/2009/02/10/woopra-a-solid-start-so-far/</link>
		<comments>http://highedwebtech.com/2009/02/10/woopra-a-solid-start-so-far/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 14:22:51 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Web Analytics]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[google analytics]]></category>
		<category><![CDATA[live stats]]></category>
		<category><![CDATA[Woopra]]></category>
		<category><![CDATA[Woopra stats]]></category>

		<guid isPermaLink="false">http://highedwebtech.com/?p=467</guid>
		<description><![CDATA[We web developers have many choices when it comes to analytics &#8211; from a variety of free and paid sources. I think its safe to say many of us use Google Analytics &#8211; which I use at my institution in addition to running AWStats on my server&#8217;s apache logs. Why I do that is another [...]]]></description>
			<content:encoded><![CDATA[<p>We web developers have many choices when it comes to analytics &#8211; from a variety of free and paid sources. I think its safe to say many of us use Google Analytics &#8211; which I use at my institution in addition to running AWStats on my server&#8217;s apache logs. Why I do that is another post for a another day.</p>
<p><a href="http://www.woopra.com/">Woopra</a> is a relatively new addition to the analytics arena. They are in beta right now, and I&#8217;ve been using them on a site I run for about a week now. So far, so good, and I&#8217;ve dound they have a few interesting things that set them apart from the other services.</p>
<p>First, you view your sites reports through a standalone program, not on the web. You can see some data on the web, but the fancy stuff is viewable through their program. The interface, as you can see in this screenshot, it is colorful and maybe at first glance, a little overwhelming.</p>
<p><img src="http://highedwebtech.com/wp-content/uploads/2009/02/picture-1-300x212.png" alt="picture-1" title="picture-1" width="300" height="212" class="aligncenter size-medium wp-image-468" /></p>
<p>Everything&#8217;s organized down the side, and as you select sections, other tabbed navigation appears to allow you to dig deeper into your stats.</p>
<p>Second, Woopra gives you &#8220;live stats,&#8221; or information about the people visiting your site at any given moment. You&#8217;ll see their IP, their browser, operating system, screen resolution, where they came from and what pages they looked at on your site. Here&#8217;s an example:</p>
<p><a href="http://highedwebtech.com.s67666.gridserver.com/wp-content/uploads/2009/02/picture-3.png"><img src="http://highedwebtech.com/wp-content/uploads/2009/02/picture-3-300x104.png" alt="picture-3" title="picture-3" width="300" height="104" class="aligncenter size-medium wp-image-473" /></a></p>
<p>If you enlarge that image, you&#8217;ll see a few interesting things. You can tag a visitor, giving them a name or other identifier. When they show up again, or as you search through your other stats. I tagged myself to look like this:</p>
<p><a href="http://highedwebtech.com.s67666.gridserver.com/wp-content/uploads/2009/02/picture-4.png"><img src="http://highedwebtech.com/wp-content/uploads/2009/02/picture-4-300x92.png" alt="picture-4" title="picture-4" width="300" height="92" class="aligncenter size-medium wp-image-475" /></a></p>
<p>What&#8217;s also interesting is the ability to start a conversation with that user. Yes, you can start a chat with them while they are browsing your site. Before we get into whether or not this is evil, let me show you what that looks like.</p>
<p><a href="http://highedwebtech.com.s67666.gridserver.com/wp-content/uploads/2009/02/picture-5.png"><img src="http://highedwebtech.com/wp-content/uploads/2009/02/picture-5-300x122.png" alt="picture-5" title="picture-5" width="300" height="122" class="aligncenter size-medium wp-image-478" /></a></p>
<p>If the user responds, a new window is spawned where the conversation can continue.</p>
<p><a href="http://highedwebtech.com.s67666.gridserver.com/wp-content/uploads/2009/02/picture-6.png"><img src="http://highedwebtech.com/wp-content/uploads/2009/02/picture-6-226x300.png" alt="picture-6" title="picture-6" width="226" height="300" class="aligncenter size-medium wp-image-479" /></a></p>
<p>Now, this is a feature I think that could be abused the most. Sure, we&#8217;d all like the ability to communicate with prospective students as they browse our site, especially since we can see the path they are taking through our sites. On the other hand, I think a lot of people may be put off by an interruption from someone bothering them for information, or encouraging them to visit campus. Personally, I&#8217;d be a little weirded out knowing someone was sitting there actively tracking what I was looking at.</p>
<p>So far, I&#8217;m pleased with Woopra. Is it ready to be my one and only web analtyics tool? Not at all. One thing I miss is the ability to segment out people and to create campaigns that I can, like I can in Google&#8217;s product. I hope Woopra will add that in over time.</p>
<p>If you&#8217;re looking for yet another way to look at data about your site&#8217;s visitors, you should check out Woopra.</p>
]]></content:encoded>
			<wfw:commentRss>http://highedwebtech.com/2009/02/10/woopra-a-solid-start-so-far/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

