Description of the Google Analytics platform, how the tracking code works, metrics and dimensions, event hits, tests A/B, clientID and user_id
View Slide
•••••
••••
<br/>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){<br/>(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),<br/>m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)<br/>})(window,document,'script','//www.google-analytics.com/analytics.js','ga');<br/>ga('create', 'UA-2282690-1', 'paradigmatecnologico.com');<br/>ga('send', 'pageview');<br/>
http://www.google-analytics.com/collect?v=1&_v=j20&a=806449001&t=pageview&_s=1&dl=http%3A%2F%2Fwww.paradigmatecnologico.com%2F&ul=en-us&de=UTF-8&sd=24-bit&sr=1920x1080&vp=1920x199&je=1&fl=13.0%20r0&_u=MAC~&cid=416165610.1399537988&tid=UA-2282690-1&z=2140666386
ooo
analytics.js Google Analytics cookies
•••••••
•••
onclick=”ga(‘send’,’event’,’link’,’pdf’)”>
ga('send', 'pageview', { 'dimension5':'=$author?>' });
Introduction to Google Analytics - @RubenMartinezSga(function(tracker) { var clientId =tracker.get('clientId'); });
ga('create', 'UA-XXXX-Y', {'clientId': '=md5($email)?>' });ga('create', 'UA-XXXX-Y');
ga('create', 'UA-XXXX-Y', { 'userId': 'USER_ID' });ga('send', 'pageview');