SlideShare a Scribd company logo
Google Analytics for Developers
GTUG KL Edition
Moving Towards Actionable Insights


 Vinoaj Vijeyakumaar
 Senior Conversion Specialist
 Google Southeast Asia


      http://twitter.com/vinoaj

      http://conversionroom-japac.blogspot.com



                                                 Google Confidential and Proprietary   1
Client Engagement Cycle
  Google Analytics
                                                                Enable                Implement measurement platforms and
  Google Website Optimiser                                    Measurement             conversion goals
  Brainpower
  Google Page Speed
  User Experience
  Google AdWords

                                                                                     Define KPI Framework

                                                               Measure               Monitor reports


       Optimise landing page
              and site design
                                                                                                            Identify and segment data

  Optimise for speed and                                                                                     Analyse data – glean
    loading performance                   Optimise                                   Analyse
                                                                                                             insights, recommend
                                                                                                             actions
           Optimise online                                   Maximise
         marketing strategy                                                                             Usability analysis




          Usability improvements for
             desktop & mobile sites
                                                Experiment                  Hypothesise           Recommend usability and
                                                                                                  marketing experiments
                     Execute A/B and
                     multivariate tests


                                                                                                                                 2
Today: Measure. Take Action. Succeed.




                 1   Why Google Analytics

  TUE            2   How Google Analytics Works


    3
                 3   Measuring Your Apps

                 4   Data Export API

                 5   Resources



                                                  3
Why Google Analytics




                       Google Confidential and Proprietary   4
Track Behaviour



                  Behaviour


Entry                          Exit


                  Engagement

                                      5
The Role of the Web Analyst

         Reporting              Actionable Insights




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


 Discovering new opportunities
(eg. New markets, hot trends, customer segments)




                                                   Optimisation
 Improving marketing strategies                     Making every
    (eg. New placements, optimise creatives)
                                                   marketing dollar
                                                    work harder

 Enhancing the user experience
      (eg. More compelling landing pages)



                                                                      7
6 + 1 Report Categories




                          8
6 + 1 Report Categories


                          Who are
                          my visitors?




                                    9
Who are my Visitors?




                       10
6 + 1 Report Categories


                          How are
                          they finding
                          and coming
                          to my site?




                                    11
How are Visitors Finding My Site?




                                    12
6 + 1 Report Categories


                          What did
                          they do on
                          my site?




                                   13
What did they do on my site?




                               14
6 + 1 Report Categories


                          Why does
                          my site exist
                          and did my
                          visitors meet
                          those
                          objectives?




                                     15
16
6 + 1 Report Categories


                          What
                          actions
                          should I be
                          taking on
                          my site?




                                    17
Daily Intelligence Alerts




                            18
How Google Analytics Works




                      Google Confidential and Proprietary   19
The GA Async Tracking Code



                   Look for _gaq stack and execute
                   queued commands



                                                     HTML5: Execute script
                                                     asynchronously




     Dynamically load the
     ga.js tracking library




                                                                             20
How Google Analytics works
           1. Request--"Show me this                  Website Server
                  webpage"




                 <html>
                 <head>                     2. Serve page
                 ...
                 ...
      __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
              User
      %20Website&utmhn=www.site.com&utmp=/  3. Request: ga.js
      index.html&utmac=UA-51244-4&utmcc=__utma
      %3D117945243.823564440.1131054947.1131080858.1133834608.4%3B
5. Call trackPageview()
      +__utmb%3D117945243%3B+__utmc%3D117945243%3B+__utmz
                             4. Serve ga.js
function
      %3D117945243.1131054947.3.2.utmccn%3D%28Spring%20Sale
                 </head>
      %29%7Cutmcsr%3D%28google%29%7Cutmcmd%3D%28ppc%29%
                 <html>                                    Secure Google Servers
6. Read & write cookies
      %7Cutmtm%3D%28shoes%29%3B
                 ...
                 ...
7. Send gif request.
Request contains
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.1133834608.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




                      23
Taking a Closer Look
                                  Management

                                  Web Interface
                                  Account Feed




                      2. Goals, Filters, Profile Settings

                                                                            Web Interface
 Tracking                                                                  Data Export Feed

                                   4. Functions



            1. Logs    3. Data                    5. Tables   6. Query Engine
                      Structure

   Collection                     Processing                           Export
Mobile Tracking

     HTML & Applications                                             WAP




                  iPhone




                                                                           Windows
                                                                                     Mobile

                                                                                                           Pearl & Curve
                                  Android




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

                                                                                                                           25
Track Activity to Mobile Websites [link]




                        Mobile Websites

                        ü Server-side tracking
     [Ad] Car Sale –
     Low car prices –   ü Track all web-enabled devices (not just JS & cookie capable)
     cars.com – Call:
      800-123-2431
                        ü Four languages supported: PHP, Perl, JSP, ASP

                        ü Works just like Analytics on desktop web pages
                                                                                          26
Tracking Your Mobile Site

•  Provided with server-side code to generate the calls to Google
   Analytics

•  Will track all web-enabled devices, not just JS- and cookie-capable
   devices

•  Currently provide code snippets for PHP, Perl, JSP, and ASPX
   platforms




                                                                         27
Copy & Paste Snippets




                        28
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
                                                                            29
Server-to-Server Communications




                                                        Secure Google Servers
                          Website Server

         Request pixel:                    Send
         /ga.php?....                      request to
                                           GA servers




                                                                            30
Measuring Your Apps




                      Google Confidential and Proprietary   31
Event Tracking

 Traditional Google Analytics is pageview based




                                                  32
What about the 1-page App/Site?
Single URL, no page refreshes




                                  33
Enter Event Tracking

 Track events on your site

 Detect events and trigger tracking call




_gaq.push(['_trackEvent',                  Purpose                    Example


                  category,                Group of objects being
                                           tracked
                                                                      'Markers'

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

                                                                                   34
Example: Tracking Outbound Social Media Links




                                                35
Example: Tracking Outbound Links




                                   36
Tracking Rich Media Sites and Apps




                                     37
Mobile Tracking

     HTML & Applications                                             WAP




                  iPhone




                                                                           Windows
                                                                                     Mobile

                                                                                                           Pearl & Curve
                                  Android




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

                                                                                                                           38
iPhone and Android Tracking
•  Track pageviews

•  Track events

•  Tip: batch hits to save on
   connection and battery
   overhead

•  Tip: bundle tracker
   dispatches with other
   HTTP requests made by
   your app

•  Android: Track referrals
   leading to download and
   activations of your apps


                                39
Example – ‘Earthquake’ Application for Android
Track ‘virtual’ pageviews
Track Events
Tracking Campaigns Through Android Market
Set up your Android application using the code examples at:
    §  http://code.google.com/mobile/analytics


All future pageviews and events from your app will contain information
on the original referrer

Easy URL builder for apps available at same site (above)
Chrome Extensions

Load GA within Chrome extension
page


Call _trackPageView to measure
extension activation


Call _trackEvent to track
interactions




                                  44
Flash / Flex
               Track
                Pageviews
               Track Events




                              45
Silverlight




              46
Silverlight




              47
Data Export API




                  Google Confidential and Proprietary   48
Dimensions and Metrics


       Dimensions            Metrics




       Google Confidential
Interactive Examples




                                       2. Run interactive samples




                                              1. Authenticate user.
                                              App can only access
                                              accounts & profiles
                                              the user can




http://code.google.com/apis/analytics/docs/gdata/gdataInteractiveSamples.html


                                                                                50
Start
Developing
Today




             51
Contribute to the App Gallery




              http://www.google.com/analytics/apps/
                                                      52
Analytics Canvas




                   53
54
55
56
Example: Optimise User Experience




                                    57
Order Links Using Data




       Google Confidential
                             58
Design Overview

       Database                     Content Management             Webpage




                                    Display links on page



                                3. Order links by # of clicks




                                                                1. Track clicks on links
                                                                    Send IDs to GA

    2. Export clicks on links
       export data by ID




                                      Google Analytics



                                                                                           59
Design Overview

      Database    Content Management      Webpage




                  Display links on page




                                                    60
CMS Displays Links On Page

    Database         Content Management                   Website

                           SQL                            HTML


                                          <ul>	
                 SELECT A.linkId,	
 html_links
                        A.linkUrl,	         <li>	
 linkId                 A.linkText	           <a name= linkId 	
 linkUrl         FROM html_links AS A	              href= linkUrl >	

 linkText                                           linkText</a>	
                                            </li>	
                                            ...	
                                          </ul>       	




                                                                    61
Design Overview

      Database    Content Management         Webpage




                  Display links on page




                                          1. Track clicks on links
                                              Send IDs to GA




                    Google Analytics



                                                                     62
Track Clicks On Links With Google Analytics

          HTML                           JavaScript




<ul>	                       1.  Implement Tracking Code	

 <li>	
  <a name= linkId 	         2.  Set linkId in Custom Variable	

        href= linkUrl >	    	

        linkText</a>	       3. Send Data with Event Tracking	

 </li>	
 ...	
</ul>       	




                                                                 63
Design Overview

       Database                 Content Management      Webpage




                                Display links on page




    2. Export clicks on links
       export data by ID




                                  Google Analytics



                                                                  64
2-Step Scheduled Data Export

            1. Scheduled Process




  GA              App              DB




                                        2. Served On Demand




                                   DB       Server            Client




                                                                       65
Query The Right Data


Tracking Code
_gaq.push(['_setCustomVar', 1,   top-links , linkId, 3]);	
_gaq.push(['_trackEvent', enclosingId, linkText]);	




Data Export API Query
query.setFilters("ga:customVarName1==top-links");	
query.setDimensions("ga:customVarValue1");	
query.setMetrics("ga:totalEvents");	




                                                             66
Design Overview

      Database        Content Management          Webpage




                      Display links on page



                  3. Order links by # of clicks




                        Google Analytics



                                                            67
Order Links By Number Of Clicks

    Data Base                     Content Management




 html_links                 SELECT A.linkName,	
                                    A.linkUrl,	
 linkId
                                    A.linkText	
 linkUrl
                            FROM html_links AS A	
                                                ,	
 linkText
                                  link_order AS B	
                            WHERE A.linkId=B.linkId	
 link_order                 ORDER BY B.totalEvents	
 linkId

 totalEvents



                                                       68
69
Resources




            Google Confidential and Proprietary   70
ConversionUniversity.com
Your Name Here
Documentation




Help Centre:
 http://www.google.com/support/analytics/

Google Code:
 http://code.google.com/apis/analytics/




                                            73
Subscribe for the Latest News



                                    Subscribe to receive latest
                                    articles in your inbox




conversionroom-japac.blogspot.com

                                                          74
Thank You!
Q&A




http://twitter.com/vinoaj

http://conversionroom-japac.blogspot.com




                                           Google Confidential and Proprietary   75

More Related Content

PDF
14 GoMeasure (sg and kl) - 12 for 2012 - vinoaj vijeyakumaar - google
PDF
13 GoMeasure (sg) - google analytics certified partner program - timo joste...
PDF
4 Steps to Measurement Success - DigitalNow: FMCG (2011-03-24)
PDF
2014 09-10-12 Building Customer Profiles - Move from clicks to faces
PDF
Gamc2010 12 - 12 things to do today - stephanie hsu and vinoaj vijeyakumaar...
PDF
Gamc2010 04 - shaping the funnel - vinoaj vijeyakumaar - google
PDF
04 GoMeasure (sg and kl) - defining and completing goals - timo josten - go...
PDF
2014 10-10 ThinkPerformance Hong Kong - sparkline - Vinoaj Vijeyakumaar
14 GoMeasure (sg and kl) - 12 for 2012 - vinoaj vijeyakumaar - google
13 GoMeasure (sg) - google analytics certified partner program - timo joste...
4 Steps to Measurement Success - DigitalNow: FMCG (2011-03-24)
2014 09-10-12 Building Customer Profiles - Move from clicks to faces
Gamc2010 12 - 12 things to do today - stephanie hsu and vinoaj vijeyakumaar...
Gamc2010 04 - shaping the funnel - vinoaj vijeyakumaar - google
04 GoMeasure (sg and kl) - defining and completing goals - timo josten - go...
2014 10-10 ThinkPerformance Hong Kong - sparkline - Vinoaj Vijeyakumaar

Similar to Google Analytics for Developers: GTUG KL Edition (20)

PDF
Gtug sg google analytics - 2010-06-05
PDF
Webová analytika – proč? kdo? kdy? jak? (Insight Model)
PPTX
Newport Interactive Marketers (NIM) - Google Analytics March 21, 2013
PPTX
Google analytics 2011_joanne-casey
PDF
2013 01-23 when analytics projects go wrong
PPTX
Emory Google Analytics Overview
PDF
CGU Workshop at AIMS Conference
PDF
Mobile apps analytics by Futurice
PPTX
Emetrics - Oct 19 2011 - New York - X channel optimisation
PPTX
Choosing an Analytics Product
PPTX
Making Analytics Actionable with Web Content Management
PDF
Introducing Google Analytics
PDF
Lavacon 2012 How Documentation Teams Can Use Web Analytics to Expand their Co...
PDF
The Art and Science of increasing Conversions - Ifraz Mughal
PPTX
The art & science of increasing conversions - Ifraz Mughal
PDF
Web analytics masterclass Howest
PDF
Making Web Analytics actionable with Web Content Management
PPT
Google analytics Review
PDF
Nuda Anthoney Web Analytics Demo
Gtug sg google analytics - 2010-06-05
Webová analytika – proč? kdo? kdy? jak? (Insight Model)
Newport Interactive Marketers (NIM) - Google Analytics March 21, 2013
Google analytics 2011_joanne-casey
2013 01-23 when analytics projects go wrong
Emory Google Analytics Overview
CGU Workshop at AIMS Conference
Mobile apps analytics by Futurice
Emetrics - Oct 19 2011 - New York - X channel optimisation
Choosing an Analytics Product
Making Analytics Actionable with Web Content Management
Introducing Google Analytics
Lavacon 2012 How Documentation Teams Can Use Web Analytics to Expand their Co...
The Art and Science of increasing Conversions - Ifraz Mughal
The art & science of increasing conversions - Ifraz Mughal
Web analytics masterclass Howest
Making Web Analytics actionable with Web Content Management
Google analytics Review
Nuda Anthoney Web Analytics Demo
Ad

More from Vinoaj Vijeyakumaar (20)

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

Recently uploaded (20)

PDF
KAL 007 Manual: The Russian Shootdoown of Civilian Plane on 09/01/1983
PPTX
India’s Response to the Rohingya Refugee Crisis: Balancing National Security,...
PPTX
PPT on SardarPatel and Popular Media.pptx
DOC
证书结业SU毕业证,莫道克大学毕业证假学位证
DOCX
Memecoin news and insights on memecoinist
PDF
2025-07-24_CED-HWB_WIPP_ACO000000001.pdf
PDF
Aron Govil on Why America Lacks Skilled Engineers.pdf
PDF
424926802-1987-Constitution-as-Basis-of-Environmental-Laws.pdf
PPTX
Sir Creek Conflict: History and its importance
PDF
The Blogs_ Hamas’s Deflection Playbook _ Andy Blumenthal _ The Times of Israe...
PDF
Role of federalism in the indian society
PDF
Conflict, Narrative and Media -An Analysis of News on Israel-Palestine Confli...
PDF
Theories of federalism showcasing india .pdf
DOCX
End Of The Age TV Program: Depicting the Actual Truth in a World of Lies
PPTX
World Wars and International Conflict (FPSC Exams) (MCQs)
PPTX
Indian ancient knowledge system, ancient geopolitics
PPTX
The-Evolution-of-Public-Human-Resource-Management (1).pptx
PPTX
Precised New Precis and Composition 2025.pptx
PPTX
Bridging Horizons_ Indo-Thai Cultural and Tourism Synergy in a Competitive Asia.
PDF
JUDICIAL_ACTIVISM_CRITICAL_ANALYSIS in india.pdf
KAL 007 Manual: The Russian Shootdoown of Civilian Plane on 09/01/1983
India’s Response to the Rohingya Refugee Crisis: Balancing National Security,...
PPT on SardarPatel and Popular Media.pptx
证书结业SU毕业证,莫道克大学毕业证假学位证
Memecoin news and insights on memecoinist
2025-07-24_CED-HWB_WIPP_ACO000000001.pdf
Aron Govil on Why America Lacks Skilled Engineers.pdf
424926802-1987-Constitution-as-Basis-of-Environmental-Laws.pdf
Sir Creek Conflict: History and its importance
The Blogs_ Hamas’s Deflection Playbook _ Andy Blumenthal _ The Times of Israe...
Role of federalism in the indian society
Conflict, Narrative and Media -An Analysis of News on Israel-Palestine Confli...
Theories of federalism showcasing india .pdf
End Of The Age TV Program: Depicting the Actual Truth in a World of Lies
World Wars and International Conflict (FPSC Exams) (MCQs)
Indian ancient knowledge system, ancient geopolitics
The-Evolution-of-Public-Human-Resource-Management (1).pptx
Precised New Precis and Composition 2025.pptx
Bridging Horizons_ Indo-Thai Cultural and Tourism Synergy in a Competitive Asia.
JUDICIAL_ACTIVISM_CRITICAL_ANALYSIS in india.pdf

Google Analytics for Developers: GTUG KL Edition

  • 1. Google Analytics for Developers GTUG KL Edition Moving Towards Actionable Insights Vinoaj Vijeyakumaar Senior Conversion Specialist Google Southeast Asia http://twitter.com/vinoaj http://conversionroom-japac.blogspot.com Google Confidential and Proprietary 1
  • 2. Client Engagement Cycle Google Analytics Enable Implement measurement platforms and Google Website Optimiser Measurement conversion goals Brainpower Google Page Speed User Experience Google AdWords Define KPI Framework Measure Monitor reports Optimise landing page and site design Identify and segment data Optimise for speed and Analyse data – glean loading performance Optimise Analyse insights, recommend actions Optimise online Maximise marketing strategy Usability analysis Usability improvements for desktop & mobile sites Experiment Hypothesise Recommend usability and marketing experiments Execute A/B and multivariate tests 2
  • 3. Today: Measure. Take Action. Succeed. 1 Why Google Analytics TUE 2 How Google Analytics Works 3 3 Measuring Your Apps 4 Data Export API 5 Resources 3
  • 4. Why Google Analytics Google Confidential and Proprietary 4
  • 5. Track Behaviour Behaviour Entry Exit Engagement 5
  • 6. The Role of the Web Analyst Reporting Actionable Insights http://www.flickr.com/photos/kire/797533507/sizes/o/in/photostream/ 6
  • 7. What does “Action” mean? Discovering new opportunities (eg. New markets, hot trends, customer segments) Optimisation Improving marketing strategies Making every (eg. New placements, optimise creatives) marketing dollar work harder Enhancing the user experience (eg. More compelling landing pages) 7
  • 8. 6 + 1 Report Categories 8
  • 9. 6 + 1 Report Categories Who are my visitors? 9
  • 10. Who are my Visitors? 10
  • 11. 6 + 1 Report Categories How are they finding and coming to my site? 11
  • 12. How are Visitors Finding My Site? 12
  • 13. 6 + 1 Report Categories What did they do on my site? 13
  • 14. What did they do on my site? 14
  • 15. 6 + 1 Report Categories Why does my site exist and did my visitors meet those objectives? 15
  • 16. 16
  • 17. 6 + 1 Report Categories What actions should I be taking on my site? 17
  • 19. How Google Analytics Works Google Confidential and Proprietary 19
  • 20. The GA Async Tracking Code Look for _gaq stack and execute queued commands HTML5: Execute script asynchronously Dynamically load the ga.js tracking library 20
  • 21. How Google Analytics works 1. Request--"Show me this Website Server webpage" <html> <head> 2. Serve page ... ... __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 User %20Website&utmhn=www.site.com&utmp=/ 3. Request: ga.js index.html&utmac=UA-51244-4&utmcc=__utma %3D117945243.823564440.1131054947.1131080858.1133834608.4%3B 5. Call trackPageview() +__utmb%3D117945243%3B+__utmc%3D117945243%3B+__utmz 4. Serve ga.js function %3D117945243.1131054947.3.2.utmccn%3D%28Spring%20Sale </head> %29%7Cutmcsr%3D%28google%29%7Cutmcmd%3D%28ppc%29% <html> Secure Google Servers 6. Read & write cookies %7Cutmtm%3D%28shoes%29%3B ... ... 7. Send gif request. Request contains data. 8. Serve gif
  • 22. 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.1133834608.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
  • 23. Raw Data to Reports 23
  • 24. Taking a Closer Look Management Web Interface Account Feed 2. Goals, Filters, Profile Settings Web Interface Tracking Data Export Feed 4. Functions 1. Logs 3. Data 5. Tables 6. Query Engine Structure Collection Processing Export
  • 25. Mobile Tracking HTML & Applications WAP iPhone Windows Mobile Pearl & Curve Android Blackberry http://code.google.com/apis/analytics/docs/tracking/mobileAppsTracking.html 25
  • 26. Track Activity to Mobile Websites [link] Mobile Websites ü Server-side tracking [Ad] Car Sale – Low car prices – ü Track all web-enabled devices (not just JS & cookie capable) cars.com – Call: 800-123-2431 ü Four languages supported: PHP, Perl, JSP, ASP ü Works just like Analytics on desktop web pages 26
  • 27. Tracking Your Mobile Site •  Provided with server-side code to generate the calls to Google Analytics •  Will track all web-enabled devices, not just JS- and cookie-capable devices •  Currently provide code snippets for PHP, Perl, JSP, and ASPX platforms 27
  • 28. Copy & Paste Snippets 28
  • 29. 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 29
  • 30. Server-to-Server Communications Secure Google Servers Website Server Request pixel: Send /ga.php?.... request to GA servers 30
  • 31. Measuring Your Apps Google Confidential and Proprietary 31
  • 32. Event Tracking Traditional Google Analytics is pageview based 32
  • 33. What about the 1-page App/Site? Single URL, no page refreshes 33
  • 34. Enter Event Tracking Track events on your site Detect events and trigger tracking call _gaq.push(['_trackEvent', Purpose Example category, Group of objects being tracked 'Markers' Type of user interaction 'Click' action, with the object Additional info about 'Google opt_label, the event Singapore' Numerical data about 1 opt_value]); the event 34
  • 35. Example: Tracking Outbound Social Media Links 35
  • 37. Tracking Rich Media Sites and Apps 37
  • 38. Mobile Tracking HTML & Applications WAP iPhone Windows Mobile Pearl & Curve Android Blackberry http://code.google.com/apis/analytics/docs/tracking/mobileAppsTracking.html 38
  • 39. iPhone and Android Tracking •  Track pageviews •  Track events •  Tip: batch hits to save on connection and battery overhead •  Tip: bundle tracker dispatches with other HTTP requests made by your app •  Android: Track referrals leading to download and activations of your apps 39
  • 40. Example – ‘Earthquake’ Application for Android
  • 43. Tracking Campaigns Through Android Market Set up your Android application using the code examples at: §  http://code.google.com/mobile/analytics All future pageviews and events from your app will contain information on the original referrer Easy URL builder for apps available at same site (above)
  • 44. Chrome Extensions Load GA within Chrome extension page Call _trackPageView to measure extension activation Call _trackEvent to track interactions 44
  • 45. Flash / Flex Track Pageviews Track Events 45
  • 48. Data Export API Google Confidential and Proprietary 48
  • 49. Dimensions and Metrics Dimensions Metrics Google Confidential
  • 50. Interactive Examples 2. Run interactive samples 1. Authenticate user. App can only access accounts & profiles the user can http://code.google.com/apis/analytics/docs/gdata/gdataInteractiveSamples.html 50
  • 52. Contribute to the App Gallery http://www.google.com/analytics/apps/ 52
  • 54. 54
  • 55. 55
  • 56. 56
  • 57. Example: Optimise User Experience 57
  • 58. Order Links Using Data Google Confidential 58
  • 59. Design Overview Database Content Management Webpage Display links on page 3. Order links by # of clicks 1. Track clicks on links Send IDs to GA 2. Export clicks on links export data by ID Google Analytics 59
  • 60. Design Overview Database Content Management Webpage Display links on page 60
  • 61. CMS Displays Links On Page Database Content Management Website SQL HTML <ul> SELECT A.linkId, html_links A.linkUrl, <li> linkId A.linkText <a name= linkId linkUrl FROM html_links AS A href= linkUrl > linkText linkText</a> </li> ... </ul> 61
  • 62. Design Overview Database Content Management Webpage Display links on page 1. Track clicks on links Send IDs to GA Google Analytics 62
  • 63. Track Clicks On Links With Google Analytics HTML JavaScript <ul> 1.  Implement Tracking Code <li> <a name= linkId 2.  Set linkId in Custom Variable href= linkUrl > linkText</a> 3. Send Data with Event Tracking </li> ... </ul> 63
  • 64. Design Overview Database Content Management Webpage Display links on page 2. Export clicks on links export data by ID Google Analytics 64
  • 65. 2-Step Scheduled Data Export 1. Scheduled Process GA App DB 2. Served On Demand DB Server Client 65
  • 66. Query The Right Data Tracking Code _gaq.push(['_setCustomVar', 1, top-links , linkId, 3]); _gaq.push(['_trackEvent', enclosingId, linkText]); Data Export API Query query.setFilters("ga:customVarName1==top-links"); query.setDimensions("ga:customVarValue1"); query.setMetrics("ga:totalEvents"); 66
  • 67. Design Overview Database Content Management Webpage Display links on page 3. Order links by # of clicks Google Analytics 67
  • 68. Order Links By Number Of Clicks Data Base Content Management html_links SELECT A.linkName, A.linkUrl, linkId A.linkText linkUrl FROM html_links AS A , linkText link_order AS B WHERE A.linkId=B.linkId link_order ORDER BY B.totalEvents linkId totalEvents 68
  • 69. 69
  • 70. Resources Google Confidential and Proprietary 70
  • 73. Documentation Help Centre: http://www.google.com/support/analytics/ Google Code: http://code.google.com/apis/analytics/ 73
  • 74. Subscribe for the Latest News Subscribe to receive latest articles in your inbox conversionroom-japac.blogspot.com 74