<?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>David Simpson &#187; university of nottingham</title>
	<atom:link href="http://davidsimpson.me/tag/university-of-nottingham/feed/" rel="self" type="application/rss+xml" />
	<link>http://davidsimpson.me</link>
	<description>Developing the web, one page at a time.</description>
	<lastBuildDate>Thu, 02 Feb 2012 13:02:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Meta tags are your friend part 1: Tracking roles in Sungard Luminis with Google Analytics</title>
		<link>http://davidsimpson.me/2010/04/08/meta-tags-are-your-friend-part-tracking-roles-in-sungard-luminis-with-google-analytics/</link>
		<comments>http://davidsimpson.me/2010/04/08/meta-tags-are-your-friend-part-tracking-roles-in-sungard-luminis-with-google-analytics/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 14:57:23 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Uncategorised]]></category>
		<category><![CDATA[google analytics]]></category>
		<category><![CDATA[luminis]]></category>
		<category><![CDATA[sungardhe]]></category>
		<category><![CDATA[university of nottingham]]></category>

		<guid isPermaLink="false">http://davidsimpson.me/?p=668</guid>
		<description><![CDATA[At work, we use Sungard HE&#8216;s Luminis portal (v3.3) &#8212; It&#8217;s been good to us over the years, but there&#8217;s a lack of usage information regarding users&#8217; roles and their interactions with Luminis. In the past, we&#8217;ve added Google Analytics to Luminis to track the interactions, but never managed to fully segment user roles. Until [...]]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton668" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fdavidsimpson.me%2F2010%2F04%2F08%2Fmeta-tags-are-your-friend-part-tracking-roles-in-sungard-luminis-with-google-analytics%2F&amp;text=Meta%20tags%20are%20your%20friend%20part%201%3A%20Tracking%20roles%20in%20Sungard%20Luminis%20with%20Google%20Analytics&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fdavidsimpson.me%2F2010%2F04%2F08%2Fmeta-tags-are-your-friend-part-tracking-roles-in-sungard-luminis-with-google-analytics%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://davidsimpson.me/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;"></a></div><p>At work, we use <a href="http://www.sungardhe.com/">Sungard HE</a>&#8216;s Luminis portal (v3.3) &mdash; It&#8217;s been good to us over the years, but there&#8217;s a lack of usage information regarding users&#8217; roles and their interactions with Luminis.  </p>
<p>In the past, <a href="http://davidsimpson.me/2009/02/27/google-analytics-and-sungardhe-luminis/">we&#8217;ve added Google Analytics to Luminis</a> to track the interactions, but never managed to fully segment user roles. Until now.</p>
<p>Out of the box, Luminis has roles such as staff, student, faculty, ProspectiveStudent etc.  Users can have one or more of these roles and other custom roles too.  If we could capture all the roles and pass them onto Google Analytics, then we&#8217;d be able to fully segment the user types and gain a better understanding of how each segment uses Luminis.</p>
<p>This post aims to show how this is possible in just 3 steps:</p>
<ol>
<li><b>XSL:</b> Edit nested-tables.xsl to add a custom meta tag for the luminis roles</li>
<li><b>Javascript/jQuery:</b> Read the custom meta tag and set a custom variable in Google Analytics</li>
<li><b>Google Analytics:</b> Create custom segments to view traffic for specific Luminis roles</li>
</ol>
<p><span id="more-668"></span></p>
<h2>Edit nested-tables.xsl and add a custom meta tag to the header</h2>
<p>We&#8217;ve seriously hacked at nested-tables.xsl over the years, so our version of the file is likely to be different to most.  The main aim here is to find the html &gt; head  section and add a custom meta tag:</p>
<pre class="brush: plain; title: ;">
&lt;!-- Dump all roles into a single meta tag as a comma separated value --&gt;
&lt;meta name=&quot;luminis.role&quot;&gt;
   	&lt;xsl:attribute name=&quot;content&quot;&gt;
		&lt;xsl:for-each select=&quot;//layout/cp:cpInfo/cp:cpProperty[@name='pdsRole']/child::*&quot;&gt;
			&lt;xsl:value-of select=&quot;concat(., ',')&quot; /&gt;
   		&lt;/xsl:for-each&gt;
   	&lt;/xsl:attribute&gt;
&lt;/meta&gt;
</pre>
<h2>Read the custom meta tag and set a custom variable in Google Analytics</h2>
<p>Our implementation of Google Analytics is a little complex, but this example I&#8217;ve based on the standard Google Analytics example code.   </p>
<p>Using Javascript (infused with jQuery in our case), we can read the custom meta tag and set a custom variable. </p>
<pre class="brush: jscript; title: ;">
&lt;script type=&quot;text/javascript&quot;&gt;
var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);
document.write(unescape(&quot;%3Cscript src='&quot; + gaJsHost + &quot;google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E&quot;));
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;

	window.onload = function(){
		try
		{
			var pageTracker = _gat._getTracker(&quot;UA-XXXXX-XX&quot;);

			if (typeof $('meta[name=luminis.role]').attr(&quot;content&quot;) == 'string')
			{
				pageTracker._setCustomVar(
				     1,                                                // This custom var is set to slot #1 of the 5 available in GA
				     &quot;luminis.role&quot;,                                   // The name acts as a kind of category for the user activity
				     ','+$('meta[name=luminis.role]').attr(&quot;content&quot;), // The value of the custom variable (starting with a comma)
				     2                                                 // Sets the scope to session-level
				);
			}
			pageTracker._trackPageview();
		}
		catch (err) {}
	}

&lt;/script&gt;
</pre>
<p>According to the <a href="http://code.google.com/apis/analytics/docs/tracking/gaTrackingCustomVariables.html#sessionLevel">documentation</a>, it&#8217;s important to set the custom variable before tracking the page view.	</p>
<h2>Create custom segments to view traffic for specific Luminis roles</h2>
<p>Sign in to Google Analytics and view your normal website reports.<br />
Click on <b>Advanced segments | Create a new advanced segment</b></p>
<p>Create a new segment where&#8230;<br />
<b>Custom variable (Value 1)</b> contains <b>,staff,</b><br />
AND<br />
<b>Custom variable (Value 1)</b> contains <b>,faculty,</b></p>
<p>Note the surrounding commas &#8211; we&#8217;re using them as role delimiters.</p>
<p>Give the segment a name e.g. &#8220;Luminis roles: staff AND faculty&#8221;"</p>
<p><a href="http://localhost/davidsimpson.me/wp-content/uploads/2010/04/create-custom-segment.png" rel="lightbox[668]" title="Create  custom segment"><img src="http://davidsimpson.me/wp-content/uploads/2010/04/create-custom-segment-419x440.png" alt="Create  custom segment" title="Create  custom segment" width="419" height="440" class="size-medium wp-image-674" /></a></p>
<h2>All done, but have patience</h2>
<p>Your custom segment is now available from the advanced segment drop-down:</p>
<p><img src="http://localhost/davidsimpson.me/wp-content/uploads/2010/04/select-custom-segment.png" alt="select-custom-segment" title="Select advanced segment" width="316" height="41" class="wp-image-675" /></p>
<p>Custom variables seem to take longer to filter through to Google Analytics than normal data such as page views.  So come back in a couple of days and try out your new advanced segment.</p>
<p><b>Update (12 April 2010):</b><br />
Shortly after I published this post, the Google Analytics blog posted their <a href="http://analytics.blogspot.com/2010/04/custom-variables-webinar-available-for.html">webinar on Google Analytics custom variables</a>.</p>
<p>Also, if you&#8217;re interested in creating advanced segments from custom variables, I&#8217;ve posted a<a href="http://www.youtube.com/watch?v=gOBoqG7LNLc">youtube video that steps through the process</a>.</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://davidsimpson.me/2010/04/08/meta-tags-are-your-friend-part-tracking-roles-in-sungard-luminis-with-google-analytics/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Portal UI Design Patterns</title>
		<link>http://davidsimpson.me/2009/11/24/portal-ui-design-patterns/</link>
		<comments>http://davidsimpson.me/2009/11/24/portal-ui-design-patterns/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 10:48:06 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[usability]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[luminis]]></category>
		<category><![CDATA[portal]]></category>
		<category><![CDATA[sungardhe]]></category>
		<category><![CDATA[ui patterns]]></category>
		<category><![CDATA[university of nottingham]]></category>
		<category><![CDATA[ux]]></category>

		<guid isPermaLink="false">http://davidsimpson.me/?p=448</guid>
		<description><![CDATA[Here are the slides from a talk I gave at the European Luminis User Group in Nottingham last week. Outlined are some thoughts behind reusable UI elements in the Luminis portal at the University of Nottingham. Portal UI Design Patterns]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton448" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fdavidsimpson.me%2F2009%2F11%2F24%2Fportal-ui-design-patterns%2F&amp;text=Portal%20UI%20Design%20Patterns&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fdavidsimpson.me%2F2009%2F11%2F24%2Fportal-ui-design-patterns%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://davidsimpson.me/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;"></a></div><p>Here are the slides from a talk I gave at the European Luminis User Group in Nottingham last week. </p>
<p>Outlined are some thoughts behind reusable UI elements in the Luminis portal at the University of Nottingham. </p>
<div style="width:425px;text-align:left" id="__ss_2544097"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/dvdsmpsn/portal-ui-design-patterns" title="Portal UI Design Patterns">Portal UI Design Patterns</a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=elug-portaluidesignpatternstoshare-091120054329-phpapp02&#038;stripped_title=portal-ui-design-patterns" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=elug-portaluidesignpatternstoshare-091120054329-phpapp02&#038;stripped_title=portal-ui-design-patterns" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
</div>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://davidsimpson.me/2009/11/24/portal-ui-design-patterns/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>jGoogleAnalytics &#8211; Google Analytics integration for jQuery</title>
		<link>http://davidsimpson.me/2008/06/18/jgoogleanalytics-google-analytics-integration-for-jquery/</link>
		<comments>http://davidsimpson.me/2008/06/18/jgoogleanalytics-google-analytics-integration-for-jquery/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 10:43:17 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[analytics]]></category>
		<category><![CDATA[google analytics]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[university of nottingham]]></category>
		<category><![CDATA[web analytics]]></category>

		<guid isPermaLink="false">http://dvdsmpsn.wordpress.com/?p=3</guid>
		<description><![CDATA[Since I last added Google Analytics to a website, Google have changed from the old urchin.js file to the shiny new ga.js file. This means that I really ought to start using ga.js now. The University of Nottingham uses Sungard&#8217;s Luminis portal system which produces some rather nasty looking URLs. Web analytics for this is [...]]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton82" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fdavidsimpson.me%2F2008%2F06%2F18%2Fjgoogleanalytics-google-analytics-integration-for-jquery%2F&amp;text=jGoogleAnalytics%20%26%238211%3B%20Google%20Analytics%20integration%20for%20jQuery&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fdavidsimpson.me%2F2008%2F06%2F18%2Fjgoogleanalytics-google-analytics-integration-for-jquery%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://davidsimpson.me/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;"></a></div><p>Since I last added Google Analytics to a website, Google have changed from the old urchin.js file to the shiny new ga.js file.  This means that I really ought to start using ga.js now.</p>
<p>The <a href="http://www.nottingham.ac.uk/">University of Nottingham</a> uses Sungard&#8217;s Luminis portal system which produces some rather nasty looking URLs.   Web analytics for this is rather a handful &#8211; bad URLs, multiple features per page (each of which we&#8217;d like to track) and often tracking would be nice across sub-domains.</p>
<p>With that in mind,  and Google&#8217;s <a href="www.google.com/analytics/GATCmigrationguide.pdf">Tracking Code Migration Guide</a> close at hand, I&#8217;ve written jGoogleAnalytics.js to allow me to track:</p>
<ul>
<li>clicks events</li>
<li>form submit events</li>
<li>cross subdomain</li>
<li>cross domain (e.g. for eCommerce payment gateways hosted externally)</li>
<li>new organic search engines</li>
<li>all the features of <a href="http://devblog.jasonhuck.com/2007/11/19/google-analytics-integration-with-jquery/">Jason Huck&#8217;s GA jQuery integration</a></li>
</ul>
<p><a title="Download jGoogleAnalytics - Google Analytics integration for jQuery" href="http://webapps.nottingham.ac.uk/js/jquery/jGoogleAnalytics.js">Download jGoogleAnalytics.js</a><br />
<span id="more-82"></span><br />
Usage:</p>
<pre class="brush: jscript; title: ;">// At it's simplest
$.jGoogleAnalytics( 'UA-XXXXXX-X');

// More advanced version
$.jGoogleAnalytics(
	'UA-XXXXXX-X', // Your GA tracker code
	{
		anchorClick: false, // adds click tracking to *all* anchors
		clickEvents: null, // e.g. {'.popup': '/popup/nasty'}
		crossDomainSelector: false, // e.g. 'a.crossDomain'
		domainName: false, // e.g. 'nottingham.ac.uk'

		evalClickEvents: null, // e.g. {'#menu li a': &quot;'/tabs/'+ $(this).text()&quot;}
		evalSubmitEvents: null, // e.g. {'#menu li a': &quot;'/tabs/'+ $(this).text()&quot;}

		extensions: [
		'pdf','doc','xls','csv','jpg','gif', 'mp3',
		'swf','txt','ppt','zip','gz','dmg','xml'
		], // download extensions to track

		external: '/external/', // prefix to add to external links
		mailto: '/mailto/', // prefix to add to email addresses
		download: '/download/', // prefix to add to downloads

		organicSearch: null, // e.g. {'search-engine': 'query-term', 'google.nottingham.ac.uk': 'q'}
		pageViewsEnabled: true, // can be disabled e.g. if only tracking e.g. click events
		sampleRate: null, // e.g. 50 - set the sample rate at 50%
		submitEvents: {'#personUK': '/personsearch/uk'}
	}
);</pre>
<p>I&#8217;ve not added any eCommerce tracking to this release as we simply don&#8217;t have the need for it.</p>
<p>If you use this script, pplease leave a comment!</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://davidsimpson.me/2008/06/18/jgoogleanalytics-google-analytics-integration-for-jquery/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>

