Download - The Google Analytics of Things (#iwmw16)
![Page 1: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/1.jpg)
The Google Analytics of Things
+Martin Hawksey@mhawksey
Slides http://go.alt.ac.uk/IWMW16-P9#IWMW16 #P9
![Page 2: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/2.jpg)
+Martin Hawkseyhawksey.info
@mhawksey Slides http://go.alt.ac.uk/IWMW16-P9#IWMW16 #P9
![Page 3: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/3.jpg)
![Page 4: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/4.jpg)
Overview
![Page 5: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/5.jpg)
Beyond page views...Tim Berners-Lee in his office at the MIT, 1998.
Photograph: Elise Amendola/AP
![Page 6: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/6.jpg)
Tracking used to be easy
Slide Credit: Nico Miceli nicomiceli.com
![Page 7: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/7.jpg)
But the current web is a lot better… and cooler!
Image Credit: Unknown http://imgur.com/8b8uYz6
Slide Credit: Nico Miceli nicomiceli.com
![Page 8: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/8.jpg)
Pageviews just don’t cut it anymore
1 page view 1 page view 1 page view
Slide Credit: Nico Miceli nicomiceli.com
![Page 9: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/9.jpg)
But tracking got more advanced
CC-BY David Bleasdale https://flic.kr/p/mGimv
![Page 10: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/10.jpg)
![Page 11: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/11.jpg)
Understanding Engagement
![Page 12: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/12.jpg)
Event Tracking - the James Bond of tracking
Clean, elegant, easy to useCustomizable to handle anything
Photo Credit: © 20th Century Fox Home Video/MGM/UA
Slide Credit: Nico Miceli nicomiceli.com
![Page 13: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/13.jpg)
Event Tracking
Event tracking is a piece of code with custom values that you fire off when you want to track somethingga('send','event', // Required: type of tracking'category', // Required: Category of event'action', // Required: Action of event'label', //optional valuevalue); //optional number
ga('send','event','category','action','label',value);
Slide Credit: Nico Miceli nicomiceli.com
![Page 14: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/14.jpg)
<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
Slide Credit: Nico Miceli nicomiceli.com
![Page 15: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/15.jpg)
Warning: “Google Analytics does not allow Personally Identifiable Information (PII) (such as names, email addresses) stored in the Application. Your Analytics account could be terminated if you use any of this information”
NO PERSONALLY IDENTIFIABLE INFORMATION
Slide Credit: Nico Miceli nicomiceli.com
![Page 16: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/16.jpg)
“If your site has its own authentication system, you can use the User ID feature, in addition to the client ID, to more accurately identify a user across all the devices they use to access your site.”
… BUT
// At a later time, once the `userId` value is known,// sets the value on the tracker.ga('set', 'userId', USER_ID);
JavaScript
![Page 17: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/17.jpg)
ga('send','event','EMD101_Mod1_BSN101_1.1_Q3', 'multichoice-selection','21',5); Slide Credit: Nico Miceli nicomiceli.com
![Page 18: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/18.jpg)
Google Analytics Event Tracking MCQs
![Page 19: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/19.jpg)
![Page 20: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/20.jpg)
… NOT USING GOOGLE TAGS MANAGER
![Page 21: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/21.jpg)
Track clicks on the button with Google Tag Manager
<button id="b1">Hello World</button>
![Page 22: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/22.jpg)
Measurement Protocol
![Page 23: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/23.jpg)
Lets interface … {API}Image credit: CC-BY-NC nikkihttps://flic.kr/p/5d59EW
![Page 24: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/24.jpg)
The measurement protocol lets you send event/hits data to Google Analytics via HTTP Requests:
https://www.google-analytics.com/collect
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.
Slide Credit: Nico Miceli nicomiceli.com
![Page 25: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/25.jpg)
KiosksSmart TV Apps
Point of Sale Devices
Web Connected
Devices
Backend Applications
Slide Credit: Nico Miceli nicomiceli.com
![Page 26: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/26.jpg)
No tracking, no problem...
![Page 27: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/27.jpg)
VLE
ScriptGoogle
Analytics
Web View
• Runs every 15 min• Identity stripped• Text processing producing counts
Interacting with 3rd party APIs
https://mashe.hawksey.info/?p=17088
![Page 28: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/28.jpg)
![Page 29: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/29.jpg)
Parameter Value Type Default Value Max Length Supported Hit Types
qt integer None None all
Image Credit: CC-BY-SA per Corell https://flic.kr/p/7BYwFaQueue Time
Used to collect offline / latent hits
![Page 30: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/30.jpg)
Image Credit: CC-BY Mikael Leppä https://flic.kr/p/pdkyS3Batch
Send multiple hits in a single request
● A maximum of 20 hits can be specified per request.
● The total size of all hit payloads cannot be greater than 16K bytes.
● No single hit payload can be greater than 8K bytes.
![Page 31: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/31.jpg)
Instrumentation...
![Page 33: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/33.jpg)
INSTRUMENTATION WITH ANALYTICS
Presented by Bruce Mcpherson at DevFest London 2014https://goo.gl/lG5oC0
![Page 34: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/34.jpg)
The Analytics of Things...
![Page 35: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/35.jpg)
Track anything...Slide Credit: Nico Miceli nicomiceli.com
![Page 36: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/36.jpg)
Google Analytics Sleep TrackerSlide Credit: Nico Miceli nicomiceli.com
![Page 37: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/37.jpg)
Other Google Analytics APIs
![Page 38: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/38.jpg)
![Page 39: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/39.jpg)
Google Analytics Add-on for Google Sheets
![Page 40: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/40.jpg)
Google Analytics superProxy and Google Analytics Data Bridgehttps://developers.google.com/analytics/solutions/google-analytics-super-proxy
![Page 41: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/41.jpg)
![Page 42: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/42.jpg)
Summary
![Page 43: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/43.jpg)
ExperimentCC-BY-ND https://flic.kr/p/dtZF7K
Slide Credit: Nico Miceli nicomiceli.com
![Page 44: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/44.jpg)
Hopefully, you now know a little more what is possible
Image credit: CC-BY-NC-ND Joe Foley https://flic.kr/p/Drgv6
Slide Credit: Nico Miceli nicomiceli.com
![Page 45: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/45.jpg)
Image credit: timmacpherson.com
Now it’s time to get creative!
Rethink the interactions and engagement
Ask questions
Slide Credit: Nico Miceli nicomiceli.com
![Page 46: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/46.jpg)
Questions?
+Martin Hawksey@mhawksey
![Page 47: The Google Analytics of Things (#iwmw16)](https://reader031.vdocuments.mx/reader031/viewer/2022030316/5875f5d61a28ab006e8b6061/html5/thumbnails/47.jpg)
Thank you!
+Nico Miceli@NicoMiceli
For slides and inspiration...