using event tracking to enhance library web interfaces
DESCRIPTION
Slides from presentation at Brick and Click Academic Library Symposium, Nov 1, 2013. Scott HanrathTRANSCRIPT
Event Tracking in Library Web Interfaces
Scott HanrathUniversity of Kansas Libraries
[email protected] | @rshanrath
Why?
Big Questionslittle questions
Turner, Steven. “Web Statistics 2.0: Using Google Analytics to Measure Library Website Effectiveness.” Technical Services Quarterly 27.3 (2010)
“Traditional” Analytics
Page!=
[Only|Best] User Action
Where does the “Library” end
online?
Usability
Google Analytics
<script type="text/javascript”> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-xxxxxxxx']); _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); })();</script>
_gaq.push( [ '_trackEvent', ‘Category’, ‘Action’, 'Label’ ]);
$("#homeHelp a”)
$("#homeHelp a").click(function(){
});
$("#homeHelp a").click(function(){ _gaq.push( [ "_trackEvent", "Home Block Link", "Help", $(this).text() ]);});
Lather, Rinse, Repeat
?Thanks!
Scott [email protected] | @rshanrath