google analytics measurement protocol grant kemp
TRANSCRIPT
![Page 1: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/1.jpg)
Grant Kemp / @UKandroid
E V E N X - FA C T O RH O W T O U S E G O O G L E ’ S M E A S U R E M E N T P R O T O C O L T O M E A S U R E A N Y T H I N G
1
T H A N K S
![Page 2: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/2.jpg)
Grant Kemp / @UKandroid
" T H E P R I C E O F L I G H T I S L E S S T H A N T H E C O S T O F D A R K N E S S . "
A R T H U R C . N I E L S E N
2Grant Kemp / @UKandroid
![Page 3: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/3.jpg)
G R A N T K E M P
@ U K A N D R O I D
![Page 4: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/4.jpg)
TA K E A W AY S F R O M T H I S S E S S I O N
• Understand a bit more about how to use Google Analytics to measure offsite behaviour, Coffee Machines or just about anything.
• Learn the concepts and terms behind it
• Mould GA to your will
• Break some rules
![Page 5: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/5.jpg)
Grant Kemp / @UKandroidGrant Kemp / @UKandroid
W H O I S T H E M O S T P O W E R F U L P E R S O N I N T H E S TA D I U M ?
![Page 6: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/6.jpg)
W H AT I S G O O G L E A N A LY T I C S R E A L LY ?
Grant Kemp / @UKandroid
![Page 7: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/7.jpg)
Grant Kemp / @UKandroid
W H AT I S G O O G L E A N A LY T I C S
It is a phenomenally powerful and flexible data collection, mining, presentation tool that has the unique property of being created by some of the best minds in the business, but given the mandate to make it accessible to everyone.
![Page 8: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/8.jpg)
Grant Kemp / @UKandroidGrant Kemp / @UKandroid
![Page 9: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/9.jpg)
Perfect for Websites
![Page 10: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/10.jpg)
Grant Kemp / @UKandroidPerfect for Coffee Machines too!
![Page 11: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/11.jpg)
Grant Kemp / @UKandroidPerfect for Stores
![Page 12: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/12.jpg)
Grant Kemp / @UKandroidPerfect for ???
![Page 13: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/13.jpg)
A N Y T H I N G !
![Page 14: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/14.jpg)
T R A C K I N G M Y W E E K S A C T I V I T Y I N M P
N U M B E R O F T I M E W A R P S : 4
G Y M V I S I T S : 0 F R I D G E D O O R O P E N S : 3 7
![Page 15: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/15.jpg)
S O I F A L L T H AT S F R E E ?
W H Y A R E Y O U O N LY T R A C K I N G 2 0 % O F Y O U R B U S I N E S S I N G A ? ? ?
![Page 16: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/16.jpg)
Grant Kemp / @UKandroid
S O W H AT D O W E N E E D T O K N O W T O M A K E G A M E A S U R E X - FA C T O R ?
![Page 17: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/17.jpg)
H O W D O W E D O T H E C O L L E C T I O N
Classic GA Analytics
Universal Analytics
Analytics SDKs for Apps
Measurement Protocol
![Page 18: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/18.jpg)
M E A S U R E M E N T P R O T O C O L I S D E S I G N E D F O R T H I S
I T S N O T H A C K I N G O N G O O G L E A N A LY T I C S …
![Page 19: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/19.jpg)
W H AT I S T H E M E A S U R E M E N T P R O T O C O L ? ( M P )
![Page 20: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/20.jpg)
Grant Kemp / @UKandroid
L E T ’ S C O L L E C T T H E D ATA
![Page 21: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/21.jpg)
M O U L D I N G T H E G O O G L E A N A LY T I C S P L AT F O R M T O Y O U R Q U E S T I O N
![Page 22: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/22.jpg)
H O W T O B U I L D A M P C A L L
Sent via Http POST to the Google analytics Endpoint:
P O S T / C O L L E C T H T T P / 1 . 1 H O S T: W W W. G O O G L E -
A N A LY T I C S . C O M
+PAY L O A D
Grant Kemp / @UKandroid
![Page 23: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/23.jpg)
Y O U N E E D A H I T F O R Y O U R PAY L O A D
Purchase
Event Tracking
Page Tracking
Social
Refund
User Timing
PAY L O A D
Grant Kemp / @UKandroid
![Page 24: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/24.jpg)
W H AT S I N T H E PAY L O A D ?Sent via Http POST to the Google analytics Endpoint:
+
R E Q U I R E D PAY L O A D
Page Tracking
&v=1 &tid=UA-1234-5
&cid=555 &t=pageview
+E X T R A S
U T F - 8 A N D U R L
E N C O D E D
Grant Kemp / @UKandroid
![Page 25: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/25.jpg)
T R A C K I N G A C U S T O M D I M E N S I O N I N M P ( M Y F R I D G E : E X A M P L E )
E X T R A S & C D = G R O U P N A M E
& C D = F R I D G E D O O R O P E N S
PAY L O A D
Grant Kemp / @UKandroid
![Page 26: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/26.jpg)
T R A C K I N G A C U S T O M D I M E N S I O N I N M P ( U S I N G M Y F R I D G E E X A M P L E )
E X T R A S & C D = G R O U P N A M E
& C D = F R I D G E D O O R O P E N S
PAY L O A D
Grant Kemp / @UKandroid
![Page 27: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/27.jpg)
D O N ’ T F O R G E T T H E C O D E( T H I S I S T H E F U N B I T T H A T I L I K E T H E M O S T )
![Page 28: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/28.jpg)
Are we Ready to Collect?
![Page 29: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/29.jpg)
Grant Kemp / @UKandroid
Awesome Demo would be here if you were in the talk. what’s not awesome about presenting pictures of Google Analytics?
![Page 30: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/30.jpg)
It’s Alive! and Working!
![Page 31: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/31.jpg)
Grant Kemp / @UKandroid
W O W T H AT WA S A N A M A Z I N G D E M O . . S O R R Y Y O U M I S S E D I T I F Y O U W E R E N ’ T T H E R E . H E R E A R E S O M E S C R E E N S H O T S F R O M I T.
![Page 32: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/32.jpg)
S O W H AT D O R E S U LT S L O O K L I K E ?
![Page 33: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/33.jpg)
Grant Kemp / @UKandroid
S E G M E N T S W O R K !
![Page 34: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/34.jpg)
U S E S E G M E N T S A N D R E P O R T S T O D R I V E I N S I G H T
I F Y O U R B A N D N A M E S TA R T S W I T H A N “ A ” Y O U W A N T C H E R Y L A S Y O U R M E N T O R
![Page 35: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/35.jpg)
![Page 36: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/36.jpg)
Grant Kemp / @UKandroid 36
![Page 37: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/37.jpg)
Grant Kemp / @UKandroid
W H O I S T H E R E A L W I N N E R ?
37
![Page 38: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/38.jpg)
Grant Kemp / @UKandroid
W H O I S T H E R E A L W I N N E R ?
38
![Page 39: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/39.jpg)
Hopefully from learning what it takes to win, you can join us fellow X-factor Winners
![Page 40: Google analytics measurement protocol grant kemp](https://reader031.vdocuments.site/reader031/viewer/2022022412/58f0a2c31a28abf0318b4613/html5/thumbnails/40.jpg)
U S E F U L L I N K S
Measurement Protocol Resources
Easy for learners
https://github.com/analytics-pros/universal-analytics-php
Popular on Github
theiconic/php-ga-measurement-protocol
Blog Post with data and links will follow on ConnectedWindow.com
Grant Kemp / @UKandroid