SlideShare une entreprise Scribd logo
1  sur  66
Télécharger pour lire hors ligne
Google Analytics for the Digital
Developer
Moving Towards Actionable Insights


 Vinoaj Vijeyakumaar
 Google Analytics JAPAC Lead, Global Technical Services
 Google Southeast Asia

      http://twitter.com/vinoaj

      http://cse-sea.blogspot.com



                                                      Google Confidential and Proprietary   1
Today

Google Analytics for the Digital Developer

    1   Why Google Analytics

    2   How Google Analytics Works

    3   Measuring Your Apps

    4   Data Export API

    5   Resources




                                             2
Why Google Analytics




                       Google Confidential and Proprietary   3
Track Behaviour



                  Behaviour


Entry                          Exit


                  Engagement

                                      4
6 + 1 Report Categories




                          5
6 + 1 Report Categories


                          Who are
                          my visitors?




                                    6
Who are my Visitors?




                       7
6 + 1 Report Categories


                          How are
                          they finding
                          and coming
                          to my site?




                                    8
How are Visitors Finding My Site?




                                    9
6 + 1 Report Categories


                          What did
                          they do on
                          my site?




                                   10
What did they do on my site?




                               11
6 + 1 Report Categories


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




                                     12
13
6 + 1 Report Categories


                          What
                          actions
                          should I be
                          taking on
                          my site?




                                    14
Daily Intelligence Alerts




                            15
How Google Analytics Works




                      Google Confidential and Proprietary   16
The GA Tracking Code (GATC) – non-Async



                                              2. Page triggers
                                              load() event




                        1. Request and load
                        Google Analytics




                                                                 17
The GA Tracking Code (GATC) - Async



                                      1. Page triggers
                                      load() event




                                2. Request and load
                                Google Analytics




                                                         18
The GA Async Tracking Code



                   Look for _gaq stack and execute
                   queued commands



                                                     HTML5: Execute script
                                                     asynchronously




     Dynamically load the
     ga.js tracking library




                                                                             19
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




                      22
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

                                                                                                                           24
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
                                                                                         25
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




                                                                         26
Copy & Paste Snippets




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




                                                        Secure Google Servers
                          Website Server

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




                                                                            29
Measuring Your Apps




                      Google Confidential and Proprietary   30
Event Tracking

“Traditional” Google Analytics is pageview based




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




                                  32
Enter Event Tracking

 Track events on your site

 Detect events and trigger tracking call




_gaq.push(['_trackEvent',                  Purpose                    Example

                                           Group of objects being
                  category,                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

                                                                                   33
Example: Tracking Outbound Social Media Links




                                                34
Example: Tracking Outbound Links




                                   35
Tracking Rich Media Sites and Apps




                                     36
Mobile Tracking

     HTML & Applications                                             WAP




                  iPhone




                                                                           Windows
                                                                                     Mobile

                                                                                                           Pearl & Curve
                                  Android




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

                                                                                                                           37
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


                                38
Chrome Extensions

Load GA within Chrome extension
page


Call _trackPageView to measure
extension activation


Call _trackEvent to track
interactions




                                  39
Flash / Flex
               Track “Pageviews”
               Track Events




                                   40
Silverlight




              41
Silverlight




              42
Data Export API




                  Google Confidential and Proprietary   43
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


                                                                                45
Example: Optimise User Experience




                                    46
Order Links Using Data




       Google Confidential
                             47
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



                                                                                           48
Design Overview

      Database    Content Management      Webpage




                  Display links on page




                                                    49
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>      	




                                                                   50
Design Overview

      Database    Content Management         Webpage




                  Display links on page




                                          1. Track clicks on links
                                              Send IDs to GA




                    Google Analytics



                                                                     51
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>      	




                                                                 52
Design Overview

       Database                 Content Management      Webpage




                                Display links on page




    2. Export clicks on links
       export data by ID




                                  Google Analytics



                                                                  53
2-Step Scheduled Data Export

            1. Scheduled Process




  GA              App              DB




                                        2. Served On Demand




                                   DB       Server            Client




                                                                       54
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");	




                                                            55
Design Overview

      Database        Content Management          Webpage




                      Display links on page



                  3. Order links by # of clicks




                        Google Analytics



                                                            56
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



                                                       57
58
Start Developing Today




                         59
Contribute to the App Gallery




              http://www.google.com/analytics/apps/
                                                      60
Resources




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




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

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




                                            64
Blogs
                                 cse-sea.blogspot.com




        analytics.blogspot.com
Thank You!
Q&A




http://twitter.com/vinoaj

http://cse-sea.blogspot.com




                              Google Confidential and Proprietary   66

Contenu connexe

Similaire à Gtug sg google analytics - 2010-06-05

Web analytics masterclass Howest
Web analytics masterclass HowestWeb analytics masterclass Howest
Web analytics masterclass Howest
Evelien De Mey
 
Choosing an Analytics Product
Choosing an Analytics ProductChoosing an Analytics Product
Choosing an Analytics Product
Enlighten
 

Similaire à Gtug sg google analytics - 2010-06-05 (20)

Google Analytics for Developers: GTUG KL Edition
Google Analytics for Developers: GTUG KL EditionGoogle Analytics for Developers: GTUG KL Edition
Google Analytics for Developers: GTUG KL Edition
 
Introducing Google Analytics
Introducing Google AnalyticsIntroducing Google Analytics
Introducing Google Analytics
 
GTUG Philippines - Implementing Google Analytics - 2011-10-11
GTUG Philippines - Implementing Google Analytics - 2011-10-11GTUG Philippines - Implementing Google Analytics - 2011-10-11
GTUG Philippines - Implementing Google Analytics - 2011-10-11
 
DevFest Kuala Lumpur - Implementing Google Analytics - 2011-09-29.ppt
DevFest Kuala Lumpur - Implementing Google Analytics - 2011-09-29.pptDevFest Kuala Lumpur - Implementing Google Analytics - 2011-09-29.ppt
DevFest Kuala Lumpur - Implementing Google Analytics - 2011-09-29.ppt
 
Web analytics masterclass Howest
Web analytics masterclass HowestWeb analytics masterclass Howest
Web analytics masterclass Howest
 
Google analytics 2011_joanne-casey
Google analytics 2011_joanne-caseyGoogle analytics 2011_joanne-casey
Google analytics 2011_joanne-casey
 
Making Web Analytics actionable with Web Content Management
Making Web Analytics actionable with Web Content ManagementMaking Web Analytics actionable with Web Content Management
Making Web Analytics actionable with Web Content Management
 
DevFest Chiang Mai - Implementing Google Analytics - 2011-09-24.ppt
DevFest Chiang Mai - Implementing Google Analytics - 2011-09-24.pptDevFest Chiang Mai - Implementing Google Analytics - 2011-09-24.ppt
DevFest Chiang Mai - Implementing Google Analytics - 2011-09-24.ppt
 
implemetning google analytics - 2011-09-24 Google Devfest Chiangmai
implemetning google analytics - 2011-09-24 Google Devfest Chiangmaiimplemetning google analytics - 2011-09-24 Google Devfest Chiangmai
implemetning google analytics - 2011-09-24 Google Devfest Chiangmai
 
Choosing an Analytics Product
Choosing an Analytics ProductChoosing an Analytics Product
Choosing an Analytics Product
 
2020-03-05 Custard - SEO vs PWAs
2020-03-05 Custard - SEO vs PWAs2020-03-05 Custard - SEO vs PWAs
2020-03-05 Custard - SEO vs PWAs
 
Web Analytics Architecture
Web Analytics ArchitectureWeb Analytics Architecture
Web Analytics Architecture
 
Google Analytics intro - Best practices for WCM
Google Analytics intro - Best practices for WCMGoogle Analytics intro - Best practices for WCM
Google Analytics intro - Best practices for WCM
 
Google analytics
Google analyticsGoogle analytics
Google analytics
 
A University Web Team's Approach to Google Analytics
A University Web Team's Approach to Google AnalyticsA University Web Team's Approach to Google Analytics
A University Web Team's Approach to Google Analytics
 
Florian Pertynski session at Google Partner Summit Review
Florian Pertynski session at Google Partner Summit Review Florian Pertynski session at Google Partner Summit Review
Florian Pertynski session at Google Partner Summit Review
 
Google Analytics New Features - Webinar - 20091030
Google Analytics New Features - Webinar - 20091030Google Analytics New Features - Webinar - 20091030
Google Analytics New Features - Webinar - 20091030
 
Google Analytics for Beginners - Training
Google Analytics for Beginners - TrainingGoogle Analytics for Beginners - Training
Google Analytics for Beginners - Training
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
 
Piwik Presentation
Piwik PresentationPiwik Presentation
Piwik Presentation
 

Plus de Vinoaj Vijeyakumaar

Breakout GoMeasure (sg and kl) - google analytics 101 - clicktrue.ppt
Breakout   GoMeasure (sg and kl) - google analytics 101 - clicktrue.pptBreakout   GoMeasure (sg and kl) - google analytics 101 - clicktrue.ppt
Breakout GoMeasure (sg and kl) - google analytics 101 - clicktrue.ppt
Vinoaj Vijeyakumaar
 

Plus de Vinoaj Vijeyakumaar (20)

You are Not So Smart: The Data Analyst's Guide
You are Not So Smart: The Data Analyst's GuideYou are Not So Smart: The Data Analyst's Guide
You are Not So Smart: The Data Analyst's Guide
 
2014 10-10 ThinkPerformance Hong Kong - sparkline - Vinoaj Vijeyakumaar
2014 10-10 ThinkPerformance Hong Kong - sparkline - Vinoaj Vijeyakumaar2014 10-10 ThinkPerformance Hong Kong - sparkline - Vinoaj Vijeyakumaar
2014 10-10 ThinkPerformance Hong Kong - sparkline - Vinoaj Vijeyakumaar
 
2014 09-10-12 Building Customer Profiles - Move from clicks to faces
2014 09-10-12 Building Customer Profiles - Move from clicks to faces2014 09-10-12 Building Customer Profiles - Move from clicks to faces
2014 09-10-12 Building Customer Profiles - Move from clicks to faces
 
Multi touch attribution & attribution modeling - GAUC Sydney Melbourne - 2013...
Multi touch attribution & attribution modeling - GAUC Sydney Melbourne - 2013...Multi touch attribution & attribution modeling - GAUC Sydney Melbourne - 2013...
Multi touch attribution & attribution modeling - GAUC Sydney Melbourne - 2013...
 
Overcoming the Seduction of Data - AlphaTerra Digital Marketing Conference - ...
Overcoming the Seduction of Data - AlphaTerra Digital Marketing Conference - ...Overcoming the Seduction of Data - AlphaTerra Digital Marketing Conference - ...
Overcoming the Seduction of Data - AlphaTerra Digital Marketing Conference - ...
 
5 steps to measurement success - gThailand - 2012-10-25
5 steps to measurement success - gThailand - 2012-10-255 steps to measurement success - gThailand - 2012-10-25
5 steps to measurement success - gThailand - 2012-10-25
 
Navigating Uncertainty through Data
Navigating Uncertainty through DataNavigating Uncertainty through Data
Navigating Uncertainty through Data
 
TEDx Johnson & Johnson - Building Great User Experience with Data - 2012-03-27
TEDx Johnson & Johnson - Building Great User Experience with Data - 2012-03-27TEDx Johnson & Johnson - Building Great User Experience with Data - 2012-03-27
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...
WAN-IFRA Digital Media Asia 2011 - Owning Great Content: A Data-Driven Approa...WAN-IFRA Digital Media Asia 2011 - Owning Great Content: A Data-Driven Approa...
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 (...
Owning a Great Blog: A Data-Driven Approach - Kopdar 1000 Blogger Nusantara (...Owning a Great Blog: A Data-Driven Approach - Kopdar 1000 Blogger Nusantara (...
Owning a Great Blog: A Data-Driven Approach - Kopdar 1000 Blogger Nusantara (...
 
NTU MBA - Data-Driven Insights - 2011-10-14.ppt
NTU MBA - Data-Driven Insights - 2011-10-14.pptNTU MBA - Data-Driven Insights - 2011-10-14.ppt
NTU MBA - Data-Driven Insights - 2011-10-14.ppt
 
Breakout GoMeasure (sg and kl) - google analytics 101 - clicktrue.ppt
Breakout   GoMeasure (sg and kl) - google analytics 101 - clicktrue.pptBreakout   GoMeasure (sg and kl) - google analytics 101 - clicktrue.ppt
Breakout GoMeasure (sg and kl) - google analytics 101 - clicktrue.ppt
 
13 GoMeasure (sg) - google analytics certified partner program - timo joste...
13   GoMeasure (sg) - google analytics certified partner program - timo joste...13   GoMeasure (sg) - google analytics certified partner program - timo joste...
13 GoMeasure (sg) - google analytics certified partner program - timo joste...
 
12 GoMeasure (sg and kl) - page speed light speed path to conversions - joh...
12   GoMeasure (sg and kl) - page speed light speed path to conversions - joh...12   GoMeasure (sg and kl) - page speed light speed path to conversions - joh...
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...
11   GoMeasure (sg and kl) - mobile landing page and site usability tips - ma...11   GoMeasure (sg and kl) - mobile landing page and site usability tips - ma...
11 GoMeasure (sg and kl) - mobile landing page and site usability tips - ma...
 
09 GoMeasure (sg and kl) - landing pages that work - vijay ayyar - google (...
09   GoMeasure (sg and kl) - landing pages that work - vijay ayyar - google (...09   GoMeasure (sg and kl) - landing pages that work - vijay ayyar - google (...
09 GoMeasure (sg and kl) - landing pages that work - vijay ayyar - google (...
 
08 GoMeasure (sg and kl) - optimising for the post click experience - timo ...
08   GoMeasure (sg and kl) - optimising for the post click experience - timo ...08   GoMeasure (sg and kl) - optimising for the post click experience - timo ...
08 GoMeasure (sg and kl) - optimising for the post click experience - timo ...
 
07 GoMeasure (sg and kl) - measuring trends - nagalakshmi v - google
07   GoMeasure (sg and kl) - measuring trends - nagalakshmi v - google07   GoMeasure (sg and kl) - measuring trends - nagalakshmi v - google
07 GoMeasure (sg and kl) - measuring trends - nagalakshmi v - google
 
06 GoMeasure (sg and kl) - measuring social - john jersin - google
06   GoMeasure (sg and kl) - measuring social - john jersin - google06   GoMeasure (sg and kl) - measuring social - john jersin - google
06 GoMeasure (sg and kl) - measuring social - john jersin - google
 
05 GoMeasure (sg and kl) - measuring the mobile visitor - nash islam - google
05   GoMeasure (sg and kl) - measuring the mobile visitor - nash islam - google05   GoMeasure (sg and kl) - measuring the mobile visitor - nash islam - google
05 GoMeasure (sg and kl) - measuring the mobile visitor - nash islam - google
 

Dernier

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Dernier (20)

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 

Gtug sg google analytics - 2010-06-05

  • 1. Google Analytics for the Digital Developer Moving Towards Actionable Insights Vinoaj Vijeyakumaar Google Analytics JAPAC Lead, Global Technical Services Google Southeast Asia http://twitter.com/vinoaj http://cse-sea.blogspot.com Google Confidential and Proprietary 1
  • 2. Today Google Analytics for the Digital Developer 1 Why Google Analytics 2 How Google Analytics Works 3 Measuring Your Apps 4 Data Export API 5 Resources 2
  • 3. Why Google Analytics Google Confidential and Proprietary 3
  • 4. Track Behaviour Behaviour Entry Exit Engagement 4
  • 5. 6 + 1 Report Categories 5
  • 6. 6 + 1 Report Categories Who are my visitors? 6
  • 7. Who are my Visitors? 7
  • 8. 6 + 1 Report Categories How are they finding and coming to my site? 8
  • 9. How are Visitors Finding My Site? 9
  • 10. 6 + 1 Report Categories What did they do on my site? 10
  • 11. What did they do on my site? 11
  • 12. 6 + 1 Report Categories Why does my site exist and did my visitors meet those objectives? 12
  • 13. 13
  • 14. 6 + 1 Report Categories What actions should I be taking on my site? 14
  • 16. How Google Analytics Works Google Confidential and Proprietary 16
  • 17. The GA Tracking Code (GATC) – non-Async 2. Page triggers load() event 1. Request and load Google Analytics 17
  • 18. The GA Tracking Code (GATC) - Async 1. Page triggers load() event 2. Request and load Google Analytics 18
  • 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 19
  • 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
  • 21. 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
  • 22. Raw Data to Reports 22
  • 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
  • 24. Mobile Tracking HTML & Applications WAP iPhone Windows Mobile Pearl & Curve Android Blackberry http://code.google.com/apis/analytics/docs/tracking/mobileAppsTracking.html 24
  • 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 25
  • 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 26
  • 27. Copy & Paste Snippets 27
  • 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 28
  • 29. Server-to-Server Communications Secure Google Servers Website Server Request pixel: Send /ga.php?.... request to GA servers 29
  • 30. Measuring Your Apps Google Confidential and Proprietary 30
  • 31. Event Tracking “Traditional” Google Analytics is pageview based 31
  • 32. What about the 1-page App/Site? Single URL, no page refreshes 32
  • 33. Enter Event Tracking Track events on your site Detect events and trigger tracking call _gaq.push(['_trackEvent', Purpose Example Group of objects being category, 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 33
  • 34. Example: Tracking Outbound Social Media Links 34
  • 36. Tracking Rich Media Sites and Apps 36
  • 37. Mobile Tracking HTML & Applications WAP iPhone Windows Mobile Pearl & Curve Android Blackberry http://code.google.com/apis/analytics/docs/tracking/mobileAppsTracking.html 37
  • 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 38
  • 39. Chrome Extensions Load GA within Chrome extension page Call _trackPageView to measure extension activation Call _trackEvent to track interactions 39
  • 40. Flash / Flex Track “Pageviews” Track Events 40
  • 43. Data Export API Google Confidential and Proprietary 43
  • 44. Dimensions and Metrics Dimensions Metrics Google Confidential
  • 45. 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 45
  • 46. Example: Optimise User Experience 46
  • 47. Order Links Using Data Google Confidential 47
  • 48. 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 48
  • 49. Design Overview Database Content Management Webpage Display links on page 49
  • 50. 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> 50
  • 51. Design Overview Database Content Management Webpage Display links on page 1. Track clicks on links Send IDs to GA Google Analytics 51
  • 52. 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> 52
  • 53. Design Overview Database Content Management Webpage Display links on page 2. Export clicks on links export data by ID Google Analytics 53
  • 54. 2-Step Scheduled Data Export 1. Scheduled Process GA App DB 2. Served On Demand DB Server Client 54
  • 55. 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"); 55
  • 56. Design Overview Database Content Management Webpage Display links on page 3. Order links by # of clicks Google Analytics 56
  • 57. 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 57
  • 58. 58
  • 60. Contribute to the App Gallery http://www.google.com/analytics/apps/ 60
  • 61. Resources Google Confidential and Proprietary 61
  • 64. Documentation Help Centre: http://www.google.com/support/analytics/ Google Code: http://code.google.com/apis/analytics/ 64
  • 65. Blogs cse-sea.blogspot.com analytics.blogspot.com