SlideShare a Scribd company logo
Slides: goo.gl/TUHB1                    Implementing Google
Q&A: goo.gl/6ADXU	

                         Analytics
                                           Vinoaj Vijeyakumaar
                                       Senior Conversion Specialist,
gplus.to/vinoaj	

                        Google Southeast Asia
twitter.com/vinoaj #devfestKL	

conversionroom-japac.blogspot.com	

       Kuala Lumpur, 2011
Why measure?
http://www.flickr.com/photos/screenpunk/2787210951/
The Role of the Web Analyst

        Reporting	

          Actionable Insights	





                              http://www.flickr.com/photos/kire/797533507/sizes/o/in/photostream/
What does “Action” mean?


 Discovering new opportunities	

  (eg. New markets, hot trends, customer segments)	





                                                        Optimisation	

 Improving marketing strategies	

                      Maximising reach
       (eg. New markets, optimise messaging)	

                                                        of your apps and
                                                        delighting users	



 Enhancing the user experience	

     (eg. Compelling content, optimal user flows)
Agenda

• How GA Works
• Tracking
 –  Basics
 –  Event Tracking
 –  Custom Variables
 –  Social Interaction Tracking
 –  Campaign Variables
 –  Page Load Time Tracking
• Mobile Tracking
 –  WAP
 –  Android and iOS
• Tracking Other Platforms
How GA Works
google.com.my/analytics
GA Tracking Code (GATC)
Site & Application Reporting
Track Behaviour


                      Behaviour


 Entry                                                        Exit


                    Engagement
         Reports on 125+ standard metrics and dimensions	

                                                                     1
                                                                     0
The GA Async Tracking Code
            Look for _gaq stack
            and execute queued
            commands	

                                  HTML5:
                                  Execute script
                                  asynchronously	





     Dynamically
     load the ga.js
     tracking library	




                                                      1
                                                      1
How Google Analytics works
        1. Request--"Show me this            Website Server
               webpage"
 __utm.gif?
 utmwv=6.3&utmn=101027544&utmsr=1280x854&utm
 sc=32-bit&utmul=en&utmje=1&utmjv=1.5&utmfl=7.0
 r24&utmdt=My <html>
              <head>
              ...
                                          2. Serve page
 %20Website&utmhn=www.site.com&utmp=/
              ...


 index.html&utmac=UA-51244-4&utmcc=__utma
              User
 %3D117945243.823564440.1131054947.1131080858.1
                                        3. Request: ga.js

 133834608.4%3B+__utmb%3D117945243%3B
              </head>
              <html>
 5. Call trackPageview()
              ...
 +__utmc%3D117945243%3B+__utmz
 function
              ...        4. Serve ga.js

 %3D117945243.1131054947.3.2.utmccn%3DGoogle Servers
 6. Read & write cookies                               Secure
 %28Spring%20Sale%29%7Cutmcsr%3D%28google
 7. Send gif request.
 %29%7Cutmcmd%3D%28ppc%29% %7Cutmtm%3D
 Request contains
 %28shoes%29%3B
 data.
                                    8. Serve gif
The __utm.gif hit
 __utm.gif?
 utmwv=6.3&utmn=101027544&utmsr=1280x854&utmsc=32-
 bit&utmul=en&utmje=1&utmjv=1.5&utmfl=7.0 r24&utmdt=My
 %20Website&utmhn=www.site.com&utmp=/
 index.html&utmac=UA-51244-4&utmcc=__utma
 %3D117945243.823564440.1131054947.1131080858.1133834
 608.4%3B+__utmb%3D117945243%3B+__utmc
 %3D117945243%3B+__utmz
 %3D117945243.1131054947.3.2.utmccn%3D%28Spring
 %20Sale%29%7Cutmcsr%3D%28google%29%7Cutmcmd%3D
 %28ppc%29% %7Cutmtm%3D%28shoes%29%3B

  Screen Resolution: 1280x854      Page Title: My Website
  Screen Colors: 32-bit            Hostname: www.site.com
  Browser Language: English(en)    Filename: /index.html
  Java Enabled? Yes (1)           	

                                   Google Analytics Account: UA-51244-4
  Java Version: 1.5               	

                                   Visits: 4
  Flash Version: 7.0r24            Campaign: Spring Sale | Google(PPC) |
                                   shoes
Raw Data to Reports




                      1
                      4
GATC Basics
Understand the website structure



      Single               Multiple
     domain                domains




       Multiple
         sub-              Multiple domains
       domains             and multiple sub-
                                domain
Simplest GATC Installation

 • All content on a single domain




 <script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-XXXXX-X']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
 </script>
GATC – Multiple Sub-Domains

• Content exists on multiple sub-domains on a single top-level domain




<script type="text/javascript">
 var _gaq = _gaq || [];
 _gaq.push(['_setAccount', 'UA-XXXXX-X']);
 _gaq.push(['_setDomainName', '.mysite.com']);
 _gaq.push(['_trackPageview']);

 (function() {
   var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
   ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
   var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
 })();
</script>
GATC – Multiple Domains

• Content exists on multiple top-level domains



                                                                     _link()




<script type="text/javascript">                          Update all links between domains to include the _link() method.
 var _gaq = _gaq || [];                                   <a href=“http://www.mysite-support.com” onclick=“_gaq.push
 _gaq.push(['_setAccount', 'UA-XXXXX-X']);                              ([‘_link’, this.href]);”>Support</a>
 _gaq.push(['_setDomainName', ’none']);
 _gaq.push(['_setAllowLinker', true]);
 _gaq.push(['_trackPageview']);

 (function() {
   var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
   ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
   var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
 })();
</script>
GATC – Multiple Domains and Sub-Domains

• Content exists on multiple sub-domains on multiple top-level domain



                                                                          _link()




                                                                             Update all links between domains to
<script type="text/javascript">                                                  include the _link() method.
 var _gaq = _gaq || [];
 _gaq.push(['_setAccount', 'UA-XXXXX-X']);                                    Do not change links between sub-
 _gaq.push(['_setDomainName', ’.mysite.com']);                                 domains on the same top-level
 _gaq.push(['_trackPageview']);                                                           domain.

 (function() {
   var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
   ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
   var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
 })();
</script>
Linking

 When content exists on multiple domains use linking methods to pass cookie
 information between domains:	

 	


 •  For HTTP GET include the _link() method.	

                                                  _link()
         •      Cookie info in URL parameters	

         •      Redirects user to the new URL	

       	

<a href=“http://www.example.com” onclick= “_gaq.push([‘_link’, this.href]);”>Example</a>	





 •  For HTTP POST include the _linkByPost() method.	

         •      Cookie info in action value	

         •      Used for forms and iFrames on other domains	

                                    SUBMIT

              	

<form action="http://www.shoppingcart.com/form.php" name="f" method="post”	

              	

 onsubmit=”_gaq.push([‘_linkByPost’, this]);">	

              	

 . . . </form>
Event Tracking
Event Tracking

•  Traditional Google Analytics is pageview based
What about the 1-page App/Site?
 • Single URL, no page refreshes
Enter Event Tracking

• Track events on your site
• Detect events and trigger tracking call




_gaq.push(['_trackEvent',            Purpose                    Example

            category,                Group of objects being     'Markers'
            action,                  tracked
                                     Type of user interaction   'Click'
            opt_label,               with the object
            opt_value]);             Additional info about      'Google
                                     the event                  Singapore'
                                     Numerical data about       1
                                     the event

                                                                             2
                                                                             5
Example: Tracking Outbound Social Media Links




                                                2
                                                6
Example: Tracking Outbound Links
YouTube Video Tracking Example




                       http://vinnysapidemos.googlecode.com/svn/trunk/
                        google/analytics/youtube/js-player-tracking.html
How did visitors interact with my videos? (Action)
Which videos were played? (Label)
Custom Variables
Custom Variables: Extended Measurement Model

                       Behaviour


  Entry                                                 Exit


                     Engagement
125+ Metrics and Dimensions+ X Custom Variables = Custom Measurement
                                                       Platform

                                                                  3
                                                                  2
Custom Variables

_setCustomVar(index, name, value, opt_scope);

•  index – position to store and transmit the variable (1 to 5)
•  name – variable name (e.g. “member-type”) (case sensitive)
•  value – variable value (e.g. “premium”) (case sensitive)
•  opt_scope – 1:visitor-level; 2:session-level; 3:page-level (default: 3)

•  Note: Length of Name + Value cannot exceed 64 characters




_setCustomVar(1, ‘foo’, ‘bar’, 2);
Visitor Level Custom Variables

               • Stays with the visitor across multiple visits
                 to the site
               • Cannot store personally identifiable
                 information


               _setCustomVar(
                1,
                ‘MembershipLevel’,
                ‘Platinum’,
                1);
Session Level Custom Variables

               • Labels a session
               • Variable is discarded once session ends


               _setCustomVar(
                3,
                ‘UsedChatWidget’,
                ‘true’,
                2);
Page Level Custom Variables

              • Useful for content grouping
              • Identify groups of pages according to
                attributes other than the page URL


              _setCustomVar(
               5,
               ‘Author’,
               ‘John Jane Doe’,
               3);
Social Interaction
Tracking
Measure use of social plugins on your website
What is social plugin tracking?

Social plugin tracking in Analytics
shows you:


•  How social plugins are used

•  Behavior of socially engaged users

•  Comparative performance of different social plugins

•  What content is socially engaging
Setup for +1 button

Setup for the       button: None


The +1 button on your website is already tracked.
Setup for other networks


• Other social buttons require a small javascript change to
  your website.



When a social plugin is used call this method:
     _trackSocial(network, action, target_url);
Copy & paste Twitter & Facebook code




 http://code.google.com/apis/analytics/docs/tracking/gaTrackingSocial.html
Tracking Social Interactions
MilkADeal.com




                      Google Confidential and Proprietary
<!– Email share button: -->
<a onclick="showMailer(&#039;Check out MilkADeal for huge
discounts in Malaysia! Here is my referral link: http://
milkadeal.com/r/&#039;);return false;" href="#"><div id="lnkMail"></
div></a>


<!– Functions to track email share button usage: -->
<script>
 function showMailer(myBody){
     _gaTrack();
     $(".winMessage").html(myBody);
     $("#mailer").modal();
 }

 function _gaTrack() {
     _gaq.push(['_trackSocial', 'email', 'share']);
 }
</script>
What value do socially-engaged visitors hold for us?




                      Google Confidential and Proprietary
Overview of Socially-Engaged Traffic




                     Google Confidential and Proprietary
Where are the conversions?




                    Google Confidential and Proprietary
Encourage more email sharing




                    Google Confidential and Proprietary
Campaign Variables
360 Degree Tracking




                      5
                      0
URL Campaign Variables


        http://www.yoursite.com/landingpage.html?
        utm_source=yahoo&utm_medium=cpc&utm_campaign=Ja
        n+2011+Campaign&utm_term=my+keyword



        http://www.yoursite.com/landingpage.html?
        utm_source=twitter&utm_medium=tweet&utm_campaign=J
        an+03+One+Day+Sale



        http://www.yoursite.com/landingpage.html?
        utm_source=email&utm_medium=link&utm_campaign=Jan
        +2011+Newsletter



                                                             5
                                                             1
Campaign Variable Basics


             Required Tags

             The Source is where the visitor was sent from.
                     Examples: google, nytimes.com, facebook.com




             The Medium is the channel in which this URL is promoted.
                     Examples: cpc, display, social, organic




             The Campaign should either indicate the overarching name for the
             marketing effort or just the specific ad campaign in which the ad
             lives.



             Optional Tags
             The Keyword is the search term that you bid on (search engines
             only)

             The Ad Content should indicate the ad name, copy, or other
             helpful information to identify the type of ad that was clicked.
Android Referral Tracking


         http://market.android.com/details?id=com.myorg.myapp&referrer=utm_source
         %3Dgoogle%26utm_medium%3Dcpc%26utm_term%3D
         %257Bkeyword%257D%26utm_content%3DAd%2520A
         %26utm_campaign%3DApp%2520Download 	





         http://yoursite.com/yourapp.apk&referrer=utm_source%3Dgoogle
         %26utm_medium%3Dcpc%26utm_term%3D%257Bkeyword%257D
         %26utm_content%3DAd%2520A%26utm_campaign%3DApp
         %2520Download 	





                                                                                5
                                                                                3
Example … Social Media

        http://www.yoursite.com/landingpage.html?
        utm_source=twitter&
        utm_medium=socialmedia&
        utm_campaign=My+social+campaign
Page Load Times
The Impact of Speed
Tracking setup

<script type="text/javascript">var _gaq = _gaq || [];_gaq.push(['_setAccount', 'UA-XXXXX-
X']);_gaq.push(['_trackPageview']);(function() {var ga = document.createElement('script');
ga.type = 'text/javascript'; ga.async = true;ga.src = ('https:' ==
document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';var
s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);})();</
script>
Tracking setup

<script type="text/javascript">var _gaq = _gaq || [];_gaq.push(['_setAccount', 'UA-
XXXXXX']);_gaq.push(['_trackPageview']);_gaq.push(['_trackPageLoadTime']);
(function() {var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async
= true;ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') +
'.google-analytics.com/ga.js';var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);})();</script>
Tracking setup




                 Hit
Tracking setup




                 Time: 1.47 sec
Amari.com
Understanding Page Latency
Page Speed Online




                    pagespeed.googlelabs.com
Page Speed Recommendations
Before & After

     Amari Package Selection         Original
             Page                       Page
        Page Speed Score             62 / 100
       First View Load Time           8.739s

     Optimizations include:
      •  Removed whitespace in HTML
      •  Using minified versions of JS libraries
      •  Using minified CSS
      •  Serving optimised images
      •  Testing serving GZIPped (compressed) content
Before & After

     Amari Package Selection         Original Optimized           %
             Page                       Page      Page        Change
        Page Speed Score             62 / 100      67 / 100      5%
       First View Load Time           8.739s       7.738s     11.5%
     Optimizations include:
      •  Removed whitespace in HTML
      •  Using minified versions of JS libraries
      •  Using minified CSS
      •  Serving optimised images
      •  Testing serving GZIPped (compressed) content
Mobile Tracking
Mobile Tracking
         HTML &
                                                           WAP	

        Applications	





                      iPhone	





                                                                Windows 	

                                                                 Mobile	

                                                                              Blackberry	

                                  Android	





                                                                                Pearl &
                                                                                 Curve	

         http://code.google.com/apis/analytics/docs/tracking/mobileAppsTracking.html 	

                                                                                              6
                                                                                              8
Track Activity to Mobile Websites [link]




                Mobile Websites
                ü Server-side tracking
                ü Track all web-enabled devices (not just JS & cookie capable)
                ü Four languages supported: PHP, Perl, JSP, ASP
                ü Works just like Analytics on desktop web pages
Copy & Paste Snippets




                        7
                        0
A Quick Look at the PHP Code Snippet


                                            Insert a pixel for tracking
 Page rendering script

                         Generate the pixel URL


                                                   Send the request to GA




                         ga.php
                                                                          7
                                                                          1
Server-to-Server Communications




                                                            Secure Google Servers
                         Website Server
        Request pixel:                    Send request to
        /ga.php?....                      GA servers




                                                                                7
                                                                                2
Google Analytics Mobile SDK


                   Native App Tracking	

                   Unique Users	


                   Pageviews	


                   Events	


                   Ecommerce	


                   Custom Variables	


                   Android Market Referrals
Setting Up A Tracker Object In An Activity

	
GoogleAnalyticsTracker tracker;	
	
onCreate	
      tracker = GoogleAnalyticsTracker.getInstance();	
      tracker.startNewSession("UA-xxx-y", this);	
	




    74
Dispatching Events

Tracked data is queued and dispatched in bundles
• Saves battery life
• Can track when users are offline



tracker.dispatch();	
- or -	
tracker.start("UA-xxx-y", 20, this);	




  75
Tracking User Preferences

• How does user behavior differ by orientation?
Custom Variables




 Page	

 tracker.setCustomVar(1, “orientation”, “portrait”, 3); 	

 tracker.setCustomVar(1, “orientation”, “landscape”, 3);
Reporting on User Preferences
Reporting on User Preferences
Reporting on User Preferences
Reporting on User Preferences
Reporting on User Preferences
Tracking In-App Purchases

• How much revenue does my application generate?
• Which products are most popular?
Reporting In App Purchases
Other Platforms
Tracking on Other Platforms




                              8
                              6
Chrome Extensions

•  Load GA within Chrome extension page



 Call _trackPageView to measure
 extension activation


 Call _trackEvent to track
 interactions
Flash / Flex
               Track
                Pageviews
               Track Events
Silverlight




              8
              9
Resources
Subscribe for the Latest News


                                    Subscribe to receive latest
                                    articles in your inbox




conversionroom-japac.blogspot.com
code.google.com/apis/analytics
Starter Guides

•  Handy Google Analytics Resources:
   http://cse-sea.blogspot.com/2009/01/handy-google-
   analytics-resources.html
•  Getting Started is Easy:
   http://cse-sea.blogspot.com/2009/03/google-analytics-
   getting-started-is.html




                                                           9
                                                           3
ConversionUniversity.com




                           Your Name Here
Google Analytics Individual Qualification




                     Your Name Here
Parties Can Verify Your Qualification Online
Recap
•  Data is Gold
•  Tag & Track
  •  GA Tracking Code
  •  Event Tracking
  •  Custom Variables
  •  Social Interaction Tracking
  •  Campaign Variables
  •  Page Load Time Tracking

•  Take Action!!
Thank   You!        	

                    	

          @vinoaj; gplus.to/vinoaj; #devfestKL

More Related Content

What's hot (20)

PDF
Google Analytics with an Intro to Google Tag Manager for Austin WordPress Meetup
Rich Plakas
 
PDF
Google Tag Manager for actionable metrics - Beyond basic Google Analytics
DesignHammer
 
PPTX
Google Tag Manager Training
Empirical Path
 
PPTX
Google Analytics and Google Tag Manager for Startups
Joost Hoogstrate
 
PDF
Guide to-google-analytics google 4
Nizam Uddin
 
PPTX
Intro to Google Analytics and Google AdWords (March 19 2013)
Chester County Marketing Group
 
PPTX
What’s New in Google Analytics: New Features & What You Need to Know
Empirical Path
 
PDF
29 Advanced Google Tag Manager Tips Every Marketer Should Know
Mike Arnesen
 
PDF
How to use pertinently Google Analytics, by Gilles Barbier
TheFamily
 
PPTX
Tracking Contact Form 7 Enquiries with Google Analytics
Kian Ann Tan
 
PPTX
Google analytics 2011_joanne-casey
Donegal Local Enterprise Office
 
PDF
Analytics Tools to improve Customer Insight
Phil Pearce
 
PDF
One Further - Spektrix and Google Analytics 4
One Further
 
PDF
Google Analytics Training Seminar - Vorian Agency
Vorian Agency
 
PDF
Google Analytics Class One
Noel Gomes
 
PPTX
All about google tag manager - Basics
Rob Levish
 
PDF
Google analytics version 4 in details
Omkar Nandi
 
PDF
Measure Digital to Ignite Results, not Reports (LSC TIG)
Empirical Path
 
PPTX
An Introduction To Google Analytics
Global Media Insight
 
PDF
What's new in Google Analytics 4
Stephen Ellis
 
Google Analytics with an Intro to Google Tag Manager for Austin WordPress Meetup
Rich Plakas
 
Google Tag Manager for actionable metrics - Beyond basic Google Analytics
DesignHammer
 
Google Tag Manager Training
Empirical Path
 
Google Analytics and Google Tag Manager for Startups
Joost Hoogstrate
 
Guide to-google-analytics google 4
Nizam Uddin
 
Intro to Google Analytics and Google AdWords (March 19 2013)
Chester County Marketing Group
 
What’s New in Google Analytics: New Features & What You Need to Know
Empirical Path
 
29 Advanced Google Tag Manager Tips Every Marketer Should Know
Mike Arnesen
 
How to use pertinently Google Analytics, by Gilles Barbier
TheFamily
 
Tracking Contact Form 7 Enquiries with Google Analytics
Kian Ann Tan
 
Google analytics 2011_joanne-casey
Donegal Local Enterprise Office
 
Analytics Tools to improve Customer Insight
Phil Pearce
 
One Further - Spektrix and Google Analytics 4
One Further
 
Google Analytics Training Seminar - Vorian Agency
Vorian Agency
 
Google Analytics Class One
Noel Gomes
 
All about google tag manager - Basics
Rob Levish
 
Google analytics version 4 in details
Omkar Nandi
 
Measure Digital to Ignite Results, not Reports (LSC TIG)
Empirical Path
 
An Introduction To Google Analytics
Global Media Insight
 
What's new in Google Analytics 4
Stephen Ellis
 

Similar to DevFest Kuala Lumpur - Implementing Google Analytics - 2011-09-29.ppt (20)

PDF
implemetning google analytics - 2011-09-24 Google Devfest Chiangmai
Pawoot (Pom) Pongvitayapanu
 
PDF
DevFest Chiang Mai - Implementing Google Analytics - 2011-09-24.ppt
Vinoaj Vijeyakumaar
 
PDF
Gtug sg google analytics - 2010-06-05
Vinoaj Vijeyakumaar
 
PDF
Google Analytics intro - Best practices for WCM
Amplexor
 
PDF
Google Analytics Overview
Anvil Media, Inc.
 
PDF
Google Analytics Concepts
Javier Vidal
 
PDF
Gat Cmigrationguide
Peter John
 
PDF
Google Analytics New Features - Webinar - 20091030
Vinoaj Vijeyakumaar
 
PDF
E commerce, social and campaign tracking - web analytics fundamentals
Srikanth Dhondi
 
PDF
Complete Ga Power User Web
Roman Zykov
 
PDF
Tech4Africa Google Workshop 1
Sarah Blake
 
PPTX
Usando metodologías ágiles en UX
Paradigma Digital
 
PDF
Web analytics masterclass Howest
Evelien De Mey
 
PPT
An introduction-to-google-analytics-1198701588721690-4
Jerry Wijaya
 
PPT
GA的详细介绍
writerrr
 
PPT
An introduction to Google Analytics
Joris Roebben
 
PDF
Google analytics agency model
Dice Nakamura
 
PPTX
Bi social vet_ga_day_1
BeyondIndigo
 
PDF
Google Analytics for Developers: GTUG KL Edition
Vinoaj Vijeyakumaar
 
PPTX
Google Analytics & Web Masters Tools - GBG Mumbai
GBG Mumbai
 
implemetning google analytics - 2011-09-24 Google Devfest Chiangmai
Pawoot (Pom) Pongvitayapanu
 
DevFest Chiang Mai - Implementing Google Analytics - 2011-09-24.ppt
Vinoaj Vijeyakumaar
 
Gtug sg google analytics - 2010-06-05
Vinoaj Vijeyakumaar
 
Google Analytics intro - Best practices for WCM
Amplexor
 
Google Analytics Overview
Anvil Media, Inc.
 
Google Analytics Concepts
Javier Vidal
 
Gat Cmigrationguide
Peter John
 
Google Analytics New Features - Webinar - 20091030
Vinoaj Vijeyakumaar
 
E commerce, social and campaign tracking - web analytics fundamentals
Srikanth Dhondi
 
Complete Ga Power User Web
Roman Zykov
 
Tech4Africa Google Workshop 1
Sarah Blake
 
Usando metodologías ágiles en UX
Paradigma Digital
 
Web analytics masterclass Howest
Evelien De Mey
 
An introduction-to-google-analytics-1198701588721690-4
Jerry Wijaya
 
GA的详细介绍
writerrr
 
An introduction to Google Analytics
Joris Roebben
 
Google analytics agency model
Dice Nakamura
 
Bi social vet_ga_day_1
BeyondIndigo
 
Google Analytics for Developers: GTUG KL Edition
Vinoaj Vijeyakumaar
 
Google Analytics & Web Masters Tools - GBG Mumbai
GBG Mumbai
 
Ad

More from Vinoaj Vijeyakumaar (20)

PDF
You are Not So Smart: The Data Analyst's Guide
Vinoaj Vijeyakumaar
 
PDF
2014 10-10 ThinkPerformance Hong Kong - sparkline - Vinoaj Vijeyakumaar
Vinoaj Vijeyakumaar
 
PDF
Multi touch attribution & attribution modeling - GAUC Sydney Melbourne - 2013...
Vinoaj Vijeyakumaar
 
PDF
Overcoming the Seduction of Data - AlphaTerra Digital Marketing Conference - ...
Vinoaj Vijeyakumaar
 
PDF
5 steps to measurement success - gThailand - 2012-10-25
Vinoaj Vijeyakumaar
 
PDF
Measuring your way towards a successful application - 2012-10-04 - Google Dev...
Vinoaj Vijeyakumaar
 
PDF
Navigating Uncertainty through Data
Vinoaj Vijeyakumaar
 
PDF
TEDx Johnson & Johnson - Building Great User Experience with Data - 2012-03-27
Vinoaj Vijeyakumaar
 
PDF
WAN-IFRA Digital Media Asia 2011 - Owning Great Content: A Data-Driven Approa...
Vinoaj Vijeyakumaar
 
PDF
Owning a Great Blog: A Data-Driven Approach - Kopdar 1000 Blogger Nusantara (...
Vinoaj Vijeyakumaar
 
PDF
NTU MBA - Data-Driven Insights - 2011-10-14.ppt
Vinoaj Vijeyakumaar
 
PDF
Breakout GoMeasure (sg and kl) - google analytics 101 - clicktrue.ppt
Vinoaj Vijeyakumaar
 
PDF
13 GoMeasure (sg) - google analytics certified partner program - timo joste...
Vinoaj Vijeyakumaar
 
PDF
12 GoMeasure (sg and kl) - page speed light speed path to conversions - joh...
Vinoaj Vijeyakumaar
 
PDF
11 GoMeasure (sg and kl) - mobile landing page and site usability tips - ma...
Vinoaj Vijeyakumaar
 
PDF
10 GoMeasure (sg and kl) - designing for conversions - jereme wong - clicktrue
Vinoaj Vijeyakumaar
 
PDF
09 GoMeasure (sg and kl) - landing pages that work - vijay ayyar - google (...
Vinoaj Vijeyakumaar
 
PDF
08 GoMeasure (sg and kl) - optimising for the post click experience - timo ...
Vinoaj Vijeyakumaar
 
PDF
07 GoMeasure (sg and kl) - measuring trends - nagalakshmi v - google
Vinoaj Vijeyakumaar
 
PDF
06 GoMeasure (sg and kl) - measuring social - john jersin - google
Vinoaj Vijeyakumaar
 
You are Not So Smart: The Data Analyst's Guide
Vinoaj Vijeyakumaar
 
2014 10-10 ThinkPerformance Hong Kong - sparkline - Vinoaj Vijeyakumaar
Vinoaj Vijeyakumaar
 
Multi touch attribution & attribution modeling - GAUC Sydney Melbourne - 2013...
Vinoaj Vijeyakumaar
 
Overcoming the Seduction of Data - AlphaTerra Digital Marketing Conference - ...
Vinoaj Vijeyakumaar
 
5 steps to measurement success - gThailand - 2012-10-25
Vinoaj Vijeyakumaar
 
Measuring your way towards a successful application - 2012-10-04 - Google Dev...
Vinoaj Vijeyakumaar
 
Navigating Uncertainty through Data
Vinoaj Vijeyakumaar
 
TEDx Johnson & Johnson - Building Great User Experience with Data - 2012-03-27
Vinoaj Vijeyakumaar
 
WAN-IFRA Digital Media Asia 2011 - Owning Great Content: A Data-Driven Approa...
Vinoaj Vijeyakumaar
 
Owning a Great Blog: A Data-Driven Approach - Kopdar 1000 Blogger Nusantara (...
Vinoaj Vijeyakumaar
 
NTU MBA - Data-Driven Insights - 2011-10-14.ppt
Vinoaj Vijeyakumaar
 
Breakout GoMeasure (sg and kl) - google analytics 101 - clicktrue.ppt
Vinoaj Vijeyakumaar
 
13 GoMeasure (sg) - google analytics certified partner program - timo joste...
Vinoaj Vijeyakumaar
 
12 GoMeasure (sg and kl) - page speed light speed path to conversions - joh...
Vinoaj Vijeyakumaar
 
11 GoMeasure (sg and kl) - mobile landing page and site usability tips - ma...
Vinoaj Vijeyakumaar
 
10 GoMeasure (sg and kl) - designing for conversions - jereme wong - clicktrue
Vinoaj Vijeyakumaar
 
09 GoMeasure (sg and kl) - landing pages that work - vijay ayyar - google (...
Vinoaj Vijeyakumaar
 
08 GoMeasure (sg and kl) - optimising for the post click experience - timo ...
Vinoaj Vijeyakumaar
 
07 GoMeasure (sg and kl) - measuring trends - nagalakshmi v - google
Vinoaj Vijeyakumaar
 
06 GoMeasure (sg and kl) - measuring social - john jersin - google
Vinoaj Vijeyakumaar
 
Ad

Recently uploaded (20)

PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PDF
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PPTX
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
PPTX
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
PDF
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
Persuasive AI: risks and opportunities in the age of digital debate
Speck&Tech
 
PDF
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Persuasive AI: risks and opportunities in the age of digital debate
Speck&Tech
 
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 

DevFest Kuala Lumpur - Implementing Google Analytics - 2011-09-29.ppt

  • 1. Slides: goo.gl/TUHB1 Implementing Google Q&A: goo.gl/6ADXU Analytics Vinoaj Vijeyakumaar Senior Conversion Specialist, gplus.to/vinoaj Google Southeast Asia twitter.com/vinoaj #devfestKL conversionroom-japac.blogspot.com Kuala Lumpur, 2011
  • 3. The Role of the Web Analyst Reporting Actionable Insights http://www.flickr.com/photos/kire/797533507/sizes/o/in/photostream/
  • 4. What does “Action” mean? Discovering new opportunities (eg. New markets, hot trends, customer segments) Optimisation Improving marketing strategies Maximising reach (eg. New markets, optimise messaging) of your apps and delighting users Enhancing the user experience (eg. Compelling content, optimal user flows)
  • 5. Agenda • How GA Works • Tracking –  Basics –  Event Tracking –  Custom Variables –  Social Interaction Tracking –  Campaign Variables –  Page Load Time Tracking • Mobile Tracking –  WAP –  Android and iOS • Tracking Other Platforms
  • 9. Site & Application Reporting
  • 10. Track Behaviour Behaviour Entry Exit Engagement Reports on 125+ standard metrics and dimensions 1 0
  • 11. The GA Async Tracking Code Look for _gaq stack and execute queued commands HTML5: Execute script asynchronously Dynamically load the ga.js tracking library 1 1
  • 12. How Google Analytics works 1. Request--"Show me this Website Server webpage" __utm.gif? utmwv=6.3&utmn=101027544&utmsr=1280x854&utm sc=32-bit&utmul=en&utmje=1&utmjv=1.5&utmfl=7.0 r24&utmdt=My <html> <head> ... 2. Serve page %20Website&utmhn=www.site.com&utmp=/ ... index.html&utmac=UA-51244-4&utmcc=__utma User %3D117945243.823564440.1131054947.1131080858.1 3. Request: ga.js 133834608.4%3B+__utmb%3D117945243%3B </head> <html> 5. Call trackPageview() ... +__utmc%3D117945243%3B+__utmz function ... 4. Serve ga.js %3D117945243.1131054947.3.2.utmccn%3DGoogle Servers 6. Read & write cookies Secure %28Spring%20Sale%29%7Cutmcsr%3D%28google 7. Send gif request. %29%7Cutmcmd%3D%28ppc%29% %7Cutmtm%3D Request contains %28shoes%29%3B data. 8. Serve gif
  • 13. The __utm.gif hit __utm.gif? utmwv=6.3&utmn=101027544&utmsr=1280x854&utmsc=32- bit&utmul=en&utmje=1&utmjv=1.5&utmfl=7.0 r24&utmdt=My %20Website&utmhn=www.site.com&utmp=/ index.html&utmac=UA-51244-4&utmcc=__utma %3D117945243.823564440.1131054947.1131080858.1133834 608.4%3B+__utmb%3D117945243%3B+__utmc %3D117945243%3B+__utmz %3D117945243.1131054947.3.2.utmccn%3D%28Spring %20Sale%29%7Cutmcsr%3D%28google%29%7Cutmcmd%3D %28ppc%29% %7Cutmtm%3D%28shoes%29%3B Screen Resolution: 1280x854 Page Title: My Website Screen Colors: 32-bit Hostname: www.site.com Browser Language: English(en) Filename: /index.html Java Enabled? Yes (1) Google Analytics Account: UA-51244-4 Java Version: 1.5 Visits: 4 Flash Version: 7.0r24 Campaign: Spring Sale | Google(PPC) | shoes
  • 14. Raw Data to Reports 1 4
  • 16. Understand the website structure Single Multiple domain domains Multiple sub- Multiple domains domains and multiple sub- domain
  • 17. Simplest GATC Installation • All content on a single domain <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-XXXXX-X']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script>
  • 18. GATC – Multiple Sub-Domains • Content exists on multiple sub-domains on a single top-level domain <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-XXXXX-X']); _gaq.push(['_setDomainName', '.mysite.com']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script>
  • 19. GATC – Multiple Domains • Content exists on multiple top-level domains _link() <script type="text/javascript"> Update all links between domains to include the _link() method. var _gaq = _gaq || []; <a href=“http://www.mysite-support.com” onclick=“_gaq.push _gaq.push(['_setAccount', 'UA-XXXXX-X']); ([‘_link’, this.href]);”>Support</a> _gaq.push(['_setDomainName', ’none']); _gaq.push(['_setAllowLinker', true]); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script>
  • 20. GATC – Multiple Domains and Sub-Domains • Content exists on multiple sub-domains on multiple top-level domain _link() Update all links between domains to <script type="text/javascript"> include the _link() method. var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-XXXXX-X']); Do not change links between sub- _gaq.push(['_setDomainName', ’.mysite.com']); domains on the same top-level _gaq.push(['_trackPageview']); domain. (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script>
  • 21. Linking When content exists on multiple domains use linking methods to pass cookie information between domains: •  For HTTP GET include the _link() method. _link() •  Cookie info in URL parameters •  Redirects user to the new URL <a href=“http://www.example.com” onclick= “_gaq.push([‘_link’, this.href]);”>Example</a> •  For HTTP POST include the _linkByPost() method. •  Cookie info in action value •  Used for forms and iFrames on other domains SUBMIT <form action="http://www.shoppingcart.com/form.php" name="f" method="post” onsubmit=”_gaq.push([‘_linkByPost’, this]);"> . . . </form>
  • 23. Event Tracking •  Traditional Google Analytics is pageview based
  • 24. What about the 1-page App/Site? • Single URL, no page refreshes
  • 25. Enter Event Tracking • Track events on your site • Detect events and trigger tracking call _gaq.push(['_trackEvent', Purpose Example category, Group of objects being 'Markers' action, tracked Type of user interaction 'Click' opt_label, with the object opt_value]); Additional info about 'Google the event Singapore' Numerical data about 1 the event 2 5
  • 26. Example: Tracking Outbound Social Media Links 2 6
  • 28. YouTube Video Tracking Example http://vinnysapidemos.googlecode.com/svn/trunk/ google/analytics/youtube/js-player-tracking.html
  • 29. How did visitors interact with my videos? (Action)
  • 30. Which videos were played? (Label)
  • 32. Custom Variables: Extended Measurement Model Behaviour Entry Exit Engagement 125+ Metrics and Dimensions+ X Custom Variables = Custom Measurement Platform 3 2
  • 33. Custom Variables _setCustomVar(index, name, value, opt_scope); •  index – position to store and transmit the variable (1 to 5) •  name – variable name (e.g. “member-type”) (case sensitive) •  value – variable value (e.g. “premium”) (case sensitive) •  opt_scope – 1:visitor-level; 2:session-level; 3:page-level (default: 3) •  Note: Length of Name + Value cannot exceed 64 characters _setCustomVar(1, ‘foo’, ‘bar’, 2);
  • 34. Visitor Level Custom Variables • Stays with the visitor across multiple visits to the site • Cannot store personally identifiable information _setCustomVar( 1, ‘MembershipLevel’, ‘Platinum’, 1);
  • 35. Session Level Custom Variables • Labels a session • Variable is discarded once session ends _setCustomVar( 3, ‘UsedChatWidget’, ‘true’, 2);
  • 36. Page Level Custom Variables • Useful for content grouping • Identify groups of pages according to attributes other than the page URL _setCustomVar( 5, ‘Author’, ‘John Jane Doe’, 3);
  • 38. Measure use of social plugins on your website
  • 39. What is social plugin tracking? Social plugin tracking in Analytics shows you: •  How social plugins are used •  Behavior of socially engaged users •  Comparative performance of different social plugins •  What content is socially engaging
  • 40. Setup for +1 button Setup for the button: None The +1 button on your website is already tracked.
  • 41. Setup for other networks • Other social buttons require a small javascript change to your website. When a social plugin is used call this method: _trackSocial(network, action, target_url);
  • 42. Copy & paste Twitter & Facebook code http://code.google.com/apis/analytics/docs/tracking/gaTrackingSocial.html
  • 43. Tracking Social Interactions MilkADeal.com Google Confidential and Proprietary
  • 44. <!– Email share button: --> <a onclick="showMailer(&#039;Check out MilkADeal for huge discounts in Malaysia! Here is my referral link: http:// milkadeal.com/r/&#039;);return false;" href="#"><div id="lnkMail"></ div></a> <!– Functions to track email share button usage: --> <script> function showMailer(myBody){ _gaTrack(); $(".winMessage").html(myBody); $("#mailer").modal(); } function _gaTrack() { _gaq.push(['_trackSocial', 'email', 'share']); } </script>
  • 45. What value do socially-engaged visitors hold for us? Google Confidential and Proprietary
  • 46. Overview of Socially-Engaged Traffic Google Confidential and Proprietary
  • 47. Where are the conversions? Google Confidential and Proprietary
  • 48. Encourage more email sharing Google Confidential and Proprietary
  • 51. URL Campaign Variables http://www.yoursite.com/landingpage.html? utm_source=yahoo&utm_medium=cpc&utm_campaign=Ja n+2011+Campaign&utm_term=my+keyword http://www.yoursite.com/landingpage.html? utm_source=twitter&utm_medium=tweet&utm_campaign=J an+03+One+Day+Sale http://www.yoursite.com/landingpage.html? utm_source=email&utm_medium=link&utm_campaign=Jan +2011+Newsletter 5 1
  • 52. Campaign Variable Basics Required Tags The Source is where the visitor was sent from. Examples: google, nytimes.com, facebook.com The Medium is the channel in which this URL is promoted. Examples: cpc, display, social, organic The Campaign should either indicate the overarching name for the marketing effort or just the specific ad campaign in which the ad lives. Optional Tags The Keyword is the search term that you bid on (search engines only) The Ad Content should indicate the ad name, copy, or other helpful information to identify the type of ad that was clicked.
  • 53. Android Referral Tracking http://market.android.com/details?id=com.myorg.myapp&referrer=utm_source %3Dgoogle%26utm_medium%3Dcpc%26utm_term%3D %257Bkeyword%257D%26utm_content%3DAd%2520A %26utm_campaign%3DApp%2520Download http://yoursite.com/yourapp.apk&referrer=utm_source%3Dgoogle %26utm_medium%3Dcpc%26utm_term%3D%257Bkeyword%257D %26utm_content%3DAd%2520A%26utm_campaign%3DApp %2520Download 5 3
  • 54. Example … Social Media http://www.yoursite.com/landingpage.html? utm_source=twitter& utm_medium=socialmedia& utm_campaign=My+social+campaign
  • 56. The Impact of Speed
  • 57. Tracking setup <script type="text/javascript">var _gaq = _gaq || [];_gaq.push(['_setAccount', 'UA-XXXXX- X']);_gaq.push(['_trackPageview']);(function() {var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);})();</ script>
  • 58. Tracking setup <script type="text/javascript">var _gaq = _gaq || [];_gaq.push(['_setAccount', 'UA- XXXXXX']);_gaq.push(['_trackPageview']);_gaq.push(['_trackPageLoadTime']); (function() {var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);})();</script>
  • 60. Tracking setup Time: 1.47 sec
  • 63. Page Speed Online pagespeed.googlelabs.com
  • 65. Before & After Amari Package Selection Original Page Page Page Speed Score 62 / 100 First View Load Time 8.739s Optimizations include: •  Removed whitespace in HTML •  Using minified versions of JS libraries •  Using minified CSS •  Serving optimised images •  Testing serving GZIPped (compressed) content
  • 66. Before & After Amari Package Selection Original Optimized % Page Page Page Change Page Speed Score 62 / 100 67 / 100 5% First View Load Time 8.739s 7.738s 11.5% Optimizations include: •  Removed whitespace in HTML •  Using minified versions of JS libraries •  Using minified CSS •  Serving optimised images •  Testing serving GZIPped (compressed) content
  • 68. Mobile Tracking HTML & WAP Applications iPhone Windows Mobile Blackberry Android Pearl & Curve http://code.google.com/apis/analytics/docs/tracking/mobileAppsTracking.html 6 8
  • 69. Track Activity to Mobile Websites [link] Mobile Websites ü Server-side tracking ü Track all web-enabled devices (not just JS & cookie capable) ü Four languages supported: PHP, Perl, JSP, ASP ü Works just like Analytics on desktop web pages
  • 70. Copy & Paste Snippets 7 0
  • 71. A Quick Look at the PHP Code Snippet Insert a pixel for tracking Page rendering script Generate the pixel URL Send the request to GA ga.php 7 1
  • 72. Server-to-Server Communications Secure Google Servers Website Server Request pixel: Send request to /ga.php?.... GA servers 7 2
  • 73. Google Analytics Mobile SDK Native App Tracking Unique Users Pageviews Events Ecommerce Custom Variables Android Market Referrals
  • 74. Setting Up A Tracker Object In An Activity GoogleAnalyticsTracker tracker; onCreate tracker = GoogleAnalyticsTracker.getInstance(); tracker.startNewSession("UA-xxx-y", this); 74
  • 75. Dispatching Events Tracked data is queued and dispatched in bundles • Saves battery life • Can track when users are offline tracker.dispatch(); - or - tracker.start("UA-xxx-y", 20, this); 75
  • 76. Tracking User Preferences • How does user behavior differ by orientation?
  • 77. Custom Variables Page tracker.setCustomVar(1, “orientation”, “portrait”, 3); tracker.setCustomVar(1, “orientation”, “landscape”, 3);
  • 78. Reporting on User Preferences
  • 79. Reporting on User Preferences
  • 80. Reporting on User Preferences
  • 81. Reporting on User Preferences
  • 82. Reporting on User Preferences
  • 83. Tracking In-App Purchases • How much revenue does my application generate? • Which products are most popular?
  • 84. Reporting In App Purchases
  • 86. Tracking on Other Platforms 8 6
  • 87. Chrome Extensions •  Load GA within Chrome extension page Call _trackPageView to measure extension activation Call _trackEvent to track interactions
  • 88. Flash / Flex Track Pageviews Track Events
  • 89. Silverlight 8 9
  • 91. Subscribe for the Latest News Subscribe to receive latest articles in your inbox conversionroom-japac.blogspot.com
  • 93. Starter Guides •  Handy Google Analytics Resources: http://cse-sea.blogspot.com/2009/01/handy-google- analytics-resources.html •  Getting Started is Easy: http://cse-sea.blogspot.com/2009/03/google-analytics- getting-started-is.html 9 3
  • 94. ConversionUniversity.com Your Name Here
  • 95. Google Analytics Individual Qualification Your Name Here
  • 96. Parties Can Verify Your Qualification Online
  • 97. Recap
  • 98. •  Data is Gold •  Tag & Track •  GA Tracking Code •  Event Tracking •  Custom Variables •  Social Interaction Tracking •  Campaign Variables •  Page Load Time Tracking •  Take Action!!
  • 99. Thank You! @vinoaj; gplus.to/vinoaj; #devfestKL