Slides for a session presented by Martin Hawksey and Nico Miceli for staff at RMIT University, Australia. Recording available at http://www.youtube.com/watch?v=9N2091y9c0Q
Traffic analysis tools for websites are well established with Google Analytics reportedly having the majority market share used in over 80% of websites with tracking enabled. As the internet and web technologies have evolved so has the functionality of traffic analysis tools going far beyond pageviews enabling cohort analysis, acquisitions and conversion reporting, and more. A more recent development is the emergence of Learning Analytics which focus on "the measurement, collection, analysis and reporting of data about learners and their contexts, for purposes of understanding and optimising learning and the environments in which it occurs". Given the proportion of learning and teaching that now occurs online this session explores how Google Analytics can be used for Learning Analytics. As part of this we cover Google Analytics tracking and integration techniques including how Google Analytics can be deployed at scale provide custom reporting and enabling actionable insight.
5. the measurement, collection, analysis
and reporting of data about learners
and their contexts, for purposes of
understanding and optimising
learning and the environments in
which it occurs
First International Conference on Learning Analytics
and Knowledge (LAK11), 2011
“
’’
13. ● Acquired by Google in 2005
● Offers free and enterprise versions
● Primarily used for on websites and mobile apps but allows of
other types of data collection
● In 2012 adopted the customer centric approach
● Contains advanced features such as:
○ Sequential Analysis
○ A/B & Multivariate Testing
● 400+ Dimensions and Metrics + custom ones!
Google Analytics is a full featured data collection, analysis, and web
site testing application from Google
21. Event Tracking
Event tracking is a piece of code with custom values that
you fire off when you want to track something
ga('send',
'event', // Required: type of tracking
'category', // Required: Category of event
'action', // Required: Action of event
'label', //optional value
value); //optional number
ga('send','event','category','action','label',value);
22. <button id="b1">Hello World</button>
<script type="text/javascript">
$('#b1').click(function(event) {
ga('send','event','button','click','hello
world',1);
});
</script>
Event Tracking
Track clicks on the button
HTML/jQuery
25. Connect to Media Player API’s
Youtube and GA: http://nicomiceli.com/youtube-
embed-tracking-google-analytics/
26. Segment and build your own metrics
More advanced sites create more advanced actions that
lead to more advanced analysis & questions
● See if your videos are being watched
○ How many people watched a video for more than 50% of the total time?
● Figure out if people who watch your videos do better?
○ How many people watch a video for less than 50% and answered 75% of the questions
correct?
● Make sure there are not any tech issues
○ How many people got question 5 wrong and what browser were they using?
● Compare answers by hardware used to view material
○ What are the average scores on desktop computers compared to tablets?
27. There are a ton of other Dimensions & Metrics at your disposal!
28. Warning: Google Analytics does not allow Personally
Identifiable Information (PII) stored in the Application. If
you’re caught storing PII you can have you data erased.
It’s not about the individual, it’s about collective groups.
NO PERSONALLY IDENTIFIABLE INFORMATION
30. The measurement protocol lets you send data to Google
Analytics via HTTP Requests to these endpoints:
http://www.google-analytics.com/collect
http://ssl.google-analytics.com/collect
With these values required for all hits
Name Parameter Example Description
Protocol Version v v=1 The protocol version.
The value should be 1.
Tracking ID tid tid=UA-123456-1 The ID that
distinguishes to which
Google Analytics
property to send data.
Client ID cid cid=xxxxx An ID unique to a
particular user.
Hit Type t t=pageview The type of interaction
collected for a particular
user.
39. Counts don’t count much if
decontextualized
Wilson, T.D. (1999). Models in information behaviour research.
Journal of Documentation, 55(3), 249 – 270.
“ ’’
48. Google Analytics - Tracking
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-XXXXXXX-X', 'auto');
ga('send', 'pageview');
</script>
Google Tag Manager - Container
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-XXXXXXD"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-54262D');</script>
<!-- End Google Tag Manager -->
49. Google Tag Manager allows you to deploy 3rd party
scripts through an easy to use Interface.
Consists of 3 parts:
Tags
Triggers
Variables
Google Tag Manager
50. <button id="b1">Hello World</button>
<script type="text/javascript">
$('#b1').click(function(event) {
ga('send','event','button','click','hello
world',1);
});
</script>
Event Tracking
Track clicks on the button
HTML/jQuery