Google Analytics
-
Upload
rohan-dighe -
Category
Technology
-
view
26.988 -
download
2
description
Transcript of Google Analytics
Rohan Dighe, Social Apps Developer,Founder & CEO
Beyond Pageviews:Measuring Interactions
What about iPhone apps, how to? Future?
Lets meet outside…
How
works?
<script type="text/javascript">_lkpid = "bfa21ca532a19b85ddcbd6c41acdd5b8";_lkenc = "0";
</script><script type="text/javascript" src="http://cdn.lookery.com/j/pub/look.js"></script><script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script><script type="text/javascript">_uacct = "UA-3815638-3";urchinTracker();</script>
Urchin.js
Google's service was developed from Urchin Software Corporation's analytics system, Urchin on Demand (Google acquired Urchin Software Corp. in April 2005).
ga.js <script type="text/javascript">var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script type="text/javascript">try {var pageTracker = _gat._getTracker("UA-3815638-6");pageTracker._trackPageview();} catch(err) {}</script>
But we don’twant pageviews!!
In a web without,Pageviews,How do we
measure interactions?
Today we explore…
How does it all work?Javascript/AJAXFlash ActionScript
<a href='http://www.mgt_sys.com' onclick="javascript:urchinTracker('/outgoing/mgt_sys');">www.mgt_sys.com</a>
Series of fortunate events..
onclickonmouseout
ondrag
Funneling
Can also be trackable points or steps in conversion funnels
-Eg-tagging the ‘next’ button in each step of an Ajax shopping cart can show you where in the checkout process users are abandoning their carts.
Some Simple Examples
• DHTML “pop open" user reviews• Ajax shopping cart abandonment• Flash video engagement• 360 product views• Interactive ads or demos
Lets See if we can solve some of their key issues…
Anthony says “For all standard pages, where there are links, I'm not worried. We're an AJAX and JS heavy site, and that's what I need some help with.”
Next, testing. Do you have any way to test things? I can't get things to work through my localhost, and anyways, it takes 24-48h for anything to reach GA.... How do you do it? Or do you just put in the code, hoping it works, without testing it?
Will analytics work on localhost?
NO
Will only work with websitesWhich have a fully qualified domain Name.
The following domain would not work with Google Analytics:
Localhost/epikone/myintranet
The following will work with Google Analytics
mynetwork.netlocalhost.comepikone.com
Some people say that the <script> which I copied and pasted from GA has to be run before I run any TPs or TEs. Now I've tested it and it works if I use TPs even above that GA code - what's your take on that?
In your code - how do you make sure it's maintainable, and doesn't get messy? I can see myself plastering all our HTML with TPs and TEs, but we have so many onclick= all over the place which do different thigns, that its really not a great solution, I think. I was thiking of either creating a generic wrapper which 'knows' what the TP/TE should do, and then dynamically create it or something like that - but not sure if that's feasible. What's your experience there?
Do you know anything about overhead? how much does GA and TP/TE affect performance? Load time?
Design methodology: did you also first create a list of events and pageviews which you want to track, get the wholistic picture, or just get in there?
In Summary
• Simple, common technologies• Very flexible application• Measure a variety of interactions• Be creative!
A Few things to look @
http://en.wikipedia.org/wiki/Google_Analytics
http://code.google.com/apis/analytics/docs/
http://analytics.blogspot.com/