SlideShare ist ein Scribd-Unternehmen logo
1 von 31
Downloaden Sie, um offline zu lesen
Google	
  Analy+cs	
  for	
  Developers	
  
2016,	
  Rubén	
  Mar=nez	
  @ruben_dot	
  
A	
  plaCorm	
  to	
  report	
  the	
  behaviour	
  of	
  online	
  and	
  offline	
  visitors	
  to:	
  
•  Websites	
  
•  Mobile	
  applica+ons	
  
•  Connected	
  devices	
  
•  Online	
  instances	
  (email,	
  github)	
  
•  Offline	
  ac+vity	
  –	
  Physical	
  analy+cs!	
  
Google	
  Analy+cs	
  is:	
  
A	
  funnel	
  of	
  conversion	
  
Source:	
  Google	
  Analy+cs	
  
Google	
  Analy+cs	
  reports	
  incoming	
  traffic	
  to	
  webs	
  (and	
  apps)	
  
Comparison	
  of	
  the	
  organic	
  traffic	
  of	
  a	
  website	
  in	
  two	
  periods	
  of	
  +me	
  
Source:	
  Google	
  Analy+cs	
  
Google	
  Analy+cs	
  helps	
  understand	
  the	
  conversions	
  of	
  visits	
  
Organiza+on	
  of	
  the	
  plaCorm	
  
Source:	
  Google	
  Developers	
  
How	
  to	
  start	
  collec+ng	
  data	
  
Same	
  process	
  for	
  websites,	
  mobile	
  apps	
  and	
  gaming	
  apps	
  
	
  
1.  Sign	
  up	
  to	
  Google	
  Analy+cs	
  with	
  your	
  Google	
  account	
  (or	
  get	
  authorisa+on	
  as	
  a	
  User	
  by	
  the	
  account	
  owner)	
  
2.  Setup	
  a	
  web	
  property	
  (URL)	
  or	
  a	
  mobile	
  property	
  at	
  the	
  admin	
  panel	
  
3.  Paste	
  the	
  code	
  provided	
  by	
  Google	
  on	
  all	
  the	
  pages	
  or	
  download	
  the	
  {iOS,	
  Android}	
  SDK	
  and	
  integrate	
  it	
  into	
  
your	
  app	
  
4.  (API:	
  create	
  an	
  OAuth	
  2.0	
  client	
  ID	
  /	
  service	
  account	
  and	
  key)	
  
Source:	
  Google	
  
Tracking	
  code	
  for	
  mobile	
  apps	
  
Very	
  similar	
  to	
  tracking	
  web	
  apps	
  except:	
  
	
  
•  The	
  ga_trackingId	
  UA-­‐XXXX-­‐Y	
  of	
  your	
  mobile	
  app	
  will	
  be	
  different	
  to	
  your	
  web	
  applica+on	
  
•  The	
  na+ve	
  hit	
  of	
  the	
  analy+cs	
  of	
  mobile	
  apps	
  is	
  Screens,	
  not	
  pageviews	
  
Steps	
  1	
  and	
  2.	
  Administra+on	
  panel	
  of	
  Google	
  Analy+cs	
  
Source:	
  Google	
  
Step	
  3.	
  Start	
  collec+ng	
  your	
  data	
  
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function()
{ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })
(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-2282690-1', 'paradigmadigital.com');
ga('send', 'pageview');
</script>
Paste	
  the	
  code	
  provided	
  by	
  Google	
  on	
  all	
  the	
  pages	
  
This	
  script	
  triggers	
  a	
  sequence	
  of	
  tos	
  and	
  fros	
  between	
  your	
  applica+on	
  and	
  Google	
  Analy+cs’	
  servers.	
  
Sequence of events Client browser <> Google Analytics’ server
(*)	
  http://www.google-analytics.com/collect?v=1&_v=j20&a=806449001&t=pageview&_s=1&dl=http%3A%2F%2Fwww.domain.com%2F&ul=en-
us&de=UTF-8&sd=24-bit&sr=1920x1080&vp=1920x199&je=1&fl=13.0%20r0&_u=MAC~&cid=416165610.1399537988&tid=UA-XXXXXXX-1&z=2140666386
Servers	
  analy+cs.js	
  
<img>	
  element	
  in	
  the	
  DOM	
  
Requests	
  analy+cs.js	
  
GET	
  with	
  a	
  URL	
  (*)	
  containing	
  appended	
  values	
  	
  
single-­‐pixel	
  gif	
  
stores	
  the	
  hit	
  	
  
The	
  4	
  cri+cal	
  variables:	
  t,	
  cid	
  and	
  +d	
  
They	
  must	
  be	
  present	
  on	
  EVERY	
  call	
  to	
  be	
  accepted	
  by	
  GA	
  servers.	
  
	
  	
  
o  t=pageview	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  pageview	
  hit	
  type	
  
o  cid=416165610.1399537988	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  anonymous	
  Client	
  ID	
  
o  +d=UA-­‐2282690-­‐1	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  tracking	
  property	
  ID	
  
o  v=1	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  protocol	
  Version	
  	
  
	
  
	
  
GET	
  variables	
  
Spot	
  the	
  4	
  cri+cal	
  variables:	
  
	
  
o  t	
  
o  cid	
  
o  +d	
  
o  v	
  
Visualiza+on	
  of	
  tags	
  and	
  scripts	
  
Sequence	
  of	
  scripts	
  of	
  Google	
  Tag	
  Manager	
  and	
  tags	
  of	
  Google	
  Analy+cs	
  firing	
  
Animated	
  sequence	
  elaborated	
  from	
  screenshot	
  of	
  the	
  analy+cs	
  tool	
  WASP	
  by	
  Cardinal	
  Path	
  
Timing	
  of	
  JS	
  scripts	
  with	
  Google	
  Tag	
  Manager	
  	
  
Metrics	
  and	
  dimensions	
  
Dimensions	
  
	
  
Auributes	
  of	
  	
  
•  Visitors	
  
•  Sessions	
  
•  Hits:	
  page,	
  event	
  
The	
  values	
  of	
  dimensions	
  are	
  strings.	
  	
  
	
  
Metrics	
  
	
  
Counts	
  (average	
  integer	
  or	
  currencies).	
  Values	
  of	
  metrics	
  are	
  numbers.	
  
	
  
Event	
  hits	
  
Some	
  user	
  ac+ons	
  do	
  not	
  generate	
  pageviews:	
  
	
  
-­‐  comple+on	
  of	
  individual	
  form	
  fields	
  (“Send”)	
  
-­‐  clicks	
  on	
  external,	
  pdf	
  and	
  mailto:	
  links	
  
-­‐  video	
  plays	
  or	
  completes	
  
-­‐  ac+va+on	
  of	
  AJAX,	
  Flash,	
  jQuery	
  or	
  HTML5	
  interac+ons	
  
In	
  other	
  to	
  measure	
  and	
  report	
  these	
  ac+ons	
  tag	
  some	
  HTML	
  elements	
  as	
  events	
  by	
  hardcoding	
  each	
  one:	
  
ga(‘send’, ‘event’, ‘category’ ‘action’, ‘label’); 	
  
Custom	
  metrics	
  and	
  dimensions	
  
ga('send', 'pageview', { 'dimension5': ‘stockist' }); 	
  
Google	
  Analy+cs	
  is	
  not	
  restricted	
  to	
  its	
  built-­‐in	
  variables.	
  
	
  
You	
  can	
  be	
  setup	
  and	
  passed	
  as	
  custom	
  dimensions	
  or	
  custom	
  metrics	
  of	
  your	
  specific	
  applica+on.	
  
	
  
You	
  can	
  tag	
  some	
  pageviews	
  by	
  hardcoding	
  for	
  instance	
  a	
  dimension	
  specific	
  to	
  them,	
  e.g.	
  “stockist”:	
  
	
  
Google	
  Tag	
  Manager	
  
Snippet	
  provided	
  by	
  Google	
  to	
  paste	
  on	
  	
  your	
  web	
  applica+on	
  immeditely	
  azer	
  the	
  tag	
  <body>:	
  
	
  
	
  
! !<!-- Google Tag Manager -->"
"
! !<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-NJTFQC""
"
! !height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>"
"
! !<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':"
"
! !new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],"
"
! !j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src="
"
! !'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);"
"
! !})(window,document,'script','dataLayer','GTM-NJTFQC'); </noscript>"
"
! !<!-- End Google Tag Manager -->	
  
Google	
  Tag	
  Manager	
  
Data	
  Layers	
  for	
  Google	
  Tag	
  Manager	
  replace	
  the	
  hardcoding	
  of	
  Google	
  Analy+cs	
  
<body>"
<script>"
dataLayer = [{"
'pageCategory': 'signup’,"
'visitorType': 'high-value’"
}];"
</script>"
<!-- Google Tag Manager à"
!snippet"
<!-- End Google Tag Manager -->"
Mark	
  up	
  of	
  events	
  
ID page Category
type
element id Action Label dataLayer
nkPR-001_Dashboard upsell button messages-link-message-{n} click submit {data}-{model}-{atributte-00}-{attribute-01}-{attribute-02}
nkPR-001_Dashboard upsell button messages-button-close-message-{n} click hide {data}-{model}-{atributte-00}-{attribute-01}-{attribute-02}
Crea+ng	
  event	
  tags	
  directly	
  within	
  the	
  Google	
  Tag	
  Manager	
  interface	
  spares	
  you	
  from	
  hardcoding	
  them	
  as	
  
with	
  Google	
  Analy+cs.	
  
	
  
Events	
  are	
  fired	
  	
  
•  with	
  triggers	
  based	
  on	
  predefined	
  variables	
  
•  on	
  custom	
  variables	
  that	
  you	
  can	
  build	
  within	
  the	
  Google	
  Tag	
  Manager	
  UI	
  
Example	
  of	
  specifica+ons	
  sent	
  by	
  Analysts	
  to	
  Developers	
  with	
  data	
  Layers	
  of	
  events	
  by	
  HTML	
  id	
  
Paste	
  the	
  tracking	
  code	
  in	
  the	
  <head>	
  of	
  all	
  the	
  web	
  pages	
  of	
  your	
  applica+on	
  
	
  
Start	
  tracking	
  from	
  day	
  zero	
  of	
  a	
  project	
  as	
  soon	
  as	
  you	
  have	
  something	
  in	
  pre-­‐produc+on	
  
	
  
Track	
  also	
  private	
  areas	
  (protected	
  by	
  a	
  login	
  and/or	
  disallowed	
  to	
  crawling	
  bots)	
  
	
  
________________________	
  
	
  
Do	
  not	
  collect	
  data	
  with	
  Google	
  Analy+cs’	
  script	
  analy+cs.js	
  AND	
  with	
  Google	
  Tag	
  Manager’s	
  container	
  
simultaneously	
  
	
  
Do	
  not	
  place	
  the	
  data	
  layer	
  code	
  azer	
  the	
  container	
  snippet	
  
Do’s	
  and	
  don’ts	
  
Most	
  frequent	
  errors	
  
•  Missing	
  HTTP	
  response,	
  tags	
  not	
  fired	
  
•  Pas+ng	
  the	
  Google	
  Analy+cs	
  tracking	
  code	
  outside	
  of	
  the	
  <head>	
  sec+on	
  
•  Pas+ng	
  the	
  Google	
  Tag	
  Manager	
  code	
  snippet	
  not	
  immediately	
  azer	
  the	
  opening	
  <body>	
  tag	
  
•  Mul+ple	
  installa+ons	
  of	
  Google	
  Tag	
  Manager	
  and	
  Google	
  Analy+cs	
  
•  Declara+on	
  of	
  names	
  of	
  parameters	
  instead	
  of	
  names	
  of	
  variables	
  in	
  Google	
  Analy+cs	
  
•  Missing	
  quotes	
  in	
  data	
  layer	
  fields	
  dataLayer.push({new-­‐variable:	
  "value"});	
  	
  in	
  Google	
  Tag	
  Manager	
  
	
  
Diagnose	
  your	
  Google	
  Analy+cs	
  implementa+on	
  
Debugging	
  tools	
  
	
  
•  Tag	
  Assistant	
  hups://support.google.com/tagassistant#topic=6000196	
  
•  JavaScript	
  Console	
  hup://geCirebug.com/	
  
•  Google	
  Analy+cs	
  console	
  –	
  Repor+ng	
  -­‐	
  Real-­‐Time	
  
•  Google	
  API	
  Query	
  Explorer	
  hups://ga-­‐dev-­‐tools.appspot.com/query-­‐explorer/	
  
	
  
Google	
  Analy+cs	
  Universal	
  is	
  user-­‐centric	
  
Cookies are not used by mobile apps and browsers such as Safari on iphones.
The identification of users and their sessions takes place now at server level, not browser/cookie level.
Cookies are still used but Google warns that their format might change without warning.
Developers should not directly access the cookie analytics.js sets as it could lead to script errors and
incorrect data.
Developers should use the get command to retrieve the clientId value when needed.
ga(function(tracker) { var clientId = tracker.get('clientId'); });	
  
clientId for cross-device attribution
You can use a custom visitor ID based on customer email or ID in your database to merge smartphone /
laptop / pc sessions into one cross-device session.
Example: you can associate the clientID to their email address:
ga('create', 'UA-XXXX-Y', {'clientId': ’md5($email)' });
GA uses cookie value + domain as a unique internal identifier. If two or more websites set up the same
client ID value based on customer email, the data won't be corrupted, because they are using different
domains (and different GA profile id).
Track	
  transac+ons	
  by	
  individual	
  user	
  
In	
  an	
  e-­‐commerce	
  scenario	
  unique	
  ids	
  of	
  users	
  are	
  generated	
  through	
  the	
  authen+ca+on	
  passed	
  to	
  an	
  account	
  at	
  sign-­‐in.	
  The	
  User	
  
ID	
  will	
  allow	
  you	
  to	
  track	
  transac+ons	
  and	
  ac+vity	
  on	
  per	
  individual	
  customer	
  basis	
  (anonymized	
  by	
  TOS	
  of	
  Google).	
  
	
  
Add	
  the	
  following	
  line	
  to	
  your	
  tracking	
  code	
  to	
  send	
  User-­‐ID	
  data	
  to	
  Google	
  Analy+cs.	
  
ga('set', '&userId', 'USER_ID');
where	
  USER_ID	
  is	
  a	
  string	
  and	
  represents	
  the	
  anonymized	
  	
  andunique	
  ID	
  retrieved	
  from	
  your	
  system.	
  
	
  
Do	
  declare	
  the	
  variable	
  "userId"	
  instead	
  of	
  the	
  parameter	
  "uid”.	
  
Split	
  tes+ng	
  of	
  content	
  -­‐	
  a	
  mul+-­‐armed	
  bandit	
  approach	
  
Source:	
  Wikimedia.org	
  
Bayesian with greedy algorithms
Screenshot	
  of	
  a	
  real	
  experiment	
  that	
  	
  
Physical	
  analy+cs?	
  
You	
  can	
  send	
  data	
  to	
  Google	
  Analy+cs	
  using	
  by	
  making	
  either	
  POST	
  or	
  GET	
  requests	
  to	
  
the	
  following	
  end	
  point:	
  hups://www.google-­‐analy+cs.com/collect	
  
	
  
For	
  instance	
  sensors	
  firing	
  events	
  in	
  the	
  physical	
  world	
  can	
  be	
  sent	
  as	
  hit	
  type	
  “event”	
  
on	
  Google	
  Analy+cs	
  by	
  opening	
  the	
  URL	
  
	
  
	
  
hup://www.google-­‐analy+cs.com/collect?v=1&+d=UA-­‐XXXXXX-­‐
Y&cid=1111&t=event&ec=in-­‐store&ea=walkthrough&el=frontdoor	
  
	
  
where	
  
	
  
ec:	
  event	
  category	
  
ea:	
  event	
  ac+on	
  
el:	
  event	
  label	
  
	
  
	
  
Sensor	
  connected	
  to	
  a	
  Raspberry	
  Pi	
  
Source:	
  hup://nicomiceli.com/tracking-­‐your-­‐home-­‐with-­‐google-­‐analy+cs/	
  
	
  
Read	
  more:	
  hups://developers.google.com/analy+cs/devguides/collec+on/protocol/v1/reference	
  
Thank you!
@ruben_dot

Weitere ähnliche Inhalte

Andere mochten auch

Analysis of Websites as Graphs for SEO
Analysis of Websites as Graphs for SEOAnalysis of Websites as Graphs for SEO
Analysis of Websites as Graphs for SEOParadigma Digital
 
Manuel Hurtado. Couchbase paradigma4oct
Manuel Hurtado. Couchbase paradigma4octManuel Hurtado. Couchbase paradigma4oct
Manuel Hurtado. Couchbase paradigma4octParadigma Digital
 
Programación Reactiva con RxJava
Programación Reactiva con RxJavaProgramación Reactiva con RxJava
Programación Reactiva con RxJavaParadigma Digital
 
¿Cómo vencer a los dragones digitales?
¿Cómo vencer a los dragones digitales?¿Cómo vencer a los dragones digitales?
¿Cómo vencer a los dragones digitales?Paradigma Digital
 
¿Cómo se despliega y autoescala Couchbase en Cloud? ¡Aprende de manera práctica!
¿Cómo se despliega y autoescala Couchbase en Cloud? ¡Aprende de manera práctica!¿Cómo se despliega y autoescala Couchbase en Cloud? ¡Aprende de manera práctica!
¿Cómo se despliega y autoescala Couchbase en Cloud? ¡Aprende de manera práctica!Paradigma Digital
 
Taller Redis
Taller RedisTaller Redis
Taller Redisbetabeers
 
Redis: servidor de estructuras de datos
Redis: servidor de estructuras de datosRedis: servidor de estructuras de datos
Redis: servidor de estructuras de datosAntonio Ognio
 
Fast Data at Scale with Amazon ElastiCache for Redis
Fast Data at Scale with Amazon ElastiCache for RedisFast Data at Scale with Amazon ElastiCache for Redis
Fast Data at Scale with Amazon ElastiCache for RedisAmazon Web Services
 
Aprendiendo REDIS en 20 minutos
Aprendiendo REDIS en 20 minutosAprendiendo REDIS en 20 minutos
Aprendiendo REDIS en 20 minutosGonzalo Chacaltana
 

Andere mochten auch (18)

Analysis of Websites as Graphs for SEO
Analysis of Websites as Graphs for SEOAnalysis of Websites as Graphs for SEO
Analysis of Websites as Graphs for SEO
 
Cómo usar google analytics
Cómo usar google analyticsCómo usar google analytics
Cómo usar google analytics
 
Manuel Hurtado. Couchbase paradigma4oct
Manuel Hurtado. Couchbase paradigma4octManuel Hurtado. Couchbase paradigma4oct
Manuel Hurtado. Couchbase paradigma4oct
 
Kafka y python
Kafka y pythonKafka y python
Kafka y python
 
Overview atlas (1)
Overview atlas (1)Overview atlas (1)
Overview atlas (1)
 
Programación Reactiva con RxJava
Programación Reactiva con RxJavaProgramación Reactiva con RxJava
Programación Reactiva con RxJava
 
Transformación Digital
Transformación DigitalTransformación Digital
Transformación Digital
 
¿Cómo vencer a los dragones digitales?
¿Cómo vencer a los dragones digitales?¿Cómo vencer a los dragones digitales?
¿Cómo vencer a los dragones digitales?
 
Python y Flink
Python y FlinkPython y Flink
Python y Flink
 
HTML5 Web Components
HTML5 Web ComponentsHTML5 Web Components
HTML5 Web Components
 
Introducción a Kubernetes
Introducción a KubernetesIntroducción a Kubernetes
Introducción a Kubernetes
 
Introducción a Django
Introducción a DjangoIntroducción a Django
Introducción a Django
 
¿Cómo se despliega y autoescala Couchbase en Cloud? ¡Aprende de manera práctica!
¿Cómo se despliega y autoescala Couchbase en Cloud? ¡Aprende de manera práctica!¿Cómo se despliega y autoescala Couchbase en Cloud? ¡Aprende de manera práctica!
¿Cómo se despliega y autoescala Couchbase en Cloud? ¡Aprende de manera práctica!
 
Taller Redis
Taller RedisTaller Redis
Taller Redis
 
Cultura Digital Paradigma
Cultura Digital ParadigmaCultura Digital Paradigma
Cultura Digital Paradigma
 
Redis: servidor de estructuras de datos
Redis: servidor de estructuras de datosRedis: servidor de estructuras de datos
Redis: servidor de estructuras de datos
 
Fast Data at Scale with Amazon ElastiCache for Redis
Fast Data at Scale with Amazon ElastiCache for RedisFast Data at Scale with Amazon ElastiCache for Redis
Fast Data at Scale with Amazon ElastiCache for Redis
 
Aprendiendo REDIS en 20 minutos
Aprendiendo REDIS en 20 minutosAprendiendo REDIS en 20 minutos
Aprendiendo REDIS en 20 minutos
 

Ähnlich wie Google Analytics for Developers Guide

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.pptVinoaj Vijeyakumaar
 
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-11Vinoaj Vijeyakumaar
 
Usando metodologías ágiles en UX
Usando metodologías ágiles en UX Usando metodologías ágiles en UX
Usando metodologías ágiles en UX Paradigma Digital
 
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.pptVinoaj Vijeyakumaar
 
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 ChiangmaiPawoot (Pom) Pongvitayapanu
 
Google Analytics for Beginners - Training
Google Analytics for Beginners - TrainingGoogle Analytics for Beginners - Training
Google Analytics for Beginners - TrainingRuben Vezzoli
 
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 WCMAmplexor
 
Microsoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needsMicrosoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needsMicrosoft Tech Community
 
Microsoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needsMicrosoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needsMicrosoft Tech Community
 
Google Optimize for testing and personalization
Google Optimize for testing and personalizationGoogle Optimize for testing and personalization
Google Optimize for testing and personalizationOWOX BI
 
Image archive, analysis & report generation with Google Cloud
Image archive, analysis & report generation with Google CloudImage archive, analysis & report generation with Google Cloud
Image archive, analysis & report generation with Google Cloudwesley chun
 
Google Apps Script: Accessing G Suite & other Google services with JavaScript
Google Apps Script: Accessing G Suite & other Google services with JavaScriptGoogle Apps Script: Accessing G Suite & other Google services with JavaScript
Google Apps Script: Accessing G Suite & other Google services with JavaScriptwesley chun
 
Using Google (Cloud) APIs
Using Google (Cloud) APIsUsing Google (Cloud) APIs
Using Google (Cloud) APIswesley chun
 
Power your apps with Gmail, Google Drive, Calendar, Sheets, Slides & more
Power your apps with Gmail, Google Drive, Calendar, Sheets, Slides & morePower your apps with Gmail, Google Drive, Calendar, Sheets, Slides & more
Power your apps with Gmail, Google Drive, Calendar, Sheets, Slides & morewesley chun
 
The current status of html5 technology and standard
The current status of html5 technology and standardThe current status of html5 technology and standard
The current status of html5 technology and standardWonsuk Lee
 
Introducing Hangout Apps
Introducing Hangout AppsIntroducing Hangout Apps
Introducing Hangout AppsJonathan Beri
 
Track Report & Optimize Your Web Creations
Track Report & Optimize Your Web CreationsTrack Report & Optimize Your Web Creations
Track Report & Optimize Your Web CreationsEmpirical Path
 
Google Chronicles: Analytics And Chrome
Google Chronicles: Analytics And ChromeGoogle Chronicles: Analytics And Chrome
Google Chronicles: Analytics And ChromeSarah Dutkiewicz
 
Google Analytics Report Automation (Magic Script)
Google Analytics Report Automation (Magic Script)Google Analytics Report Automation (Magic Script)
Google Analytics Report Automation (Magic Script)Keshav Kashyap
 
Google Analytics Report Automation (Magic Script)
Google Analytics Report Automation (Magic Script)Google Analytics Report Automation (Magic Script)
Google Analytics Report Automation (Magic Script)Keshav Kashyap
 

Ähnlich wie Google Analytics for Developers Guide (20)

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
 
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
 
Usando metodologías ágiles en UX
Usando metodologías ágiles en UX Usando metodologías ágiles en UX
Usando metodologías ágiles en UX
 
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
 
Google Analytics for Beginners - Training
Google Analytics for Beginners - TrainingGoogle Analytics for Beginners - Training
Google Analytics for Beginners - Training
 
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
 
Microsoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needsMicrosoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needs
 
Microsoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needsMicrosoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needs
 
Google Optimize for testing and personalization
Google Optimize for testing and personalizationGoogle Optimize for testing and personalization
Google Optimize for testing and personalization
 
Image archive, analysis & report generation with Google Cloud
Image archive, analysis & report generation with Google CloudImage archive, analysis & report generation with Google Cloud
Image archive, analysis & report generation with Google Cloud
 
Google Apps Script: Accessing G Suite & other Google services with JavaScript
Google Apps Script: Accessing G Suite & other Google services with JavaScriptGoogle Apps Script: Accessing G Suite & other Google services with JavaScript
Google Apps Script: Accessing G Suite & other Google services with JavaScript
 
Using Google (Cloud) APIs
Using Google (Cloud) APIsUsing Google (Cloud) APIs
Using Google (Cloud) APIs
 
Power your apps with Gmail, Google Drive, Calendar, Sheets, Slides & more
Power your apps with Gmail, Google Drive, Calendar, Sheets, Slides & morePower your apps with Gmail, Google Drive, Calendar, Sheets, Slides & more
Power your apps with Gmail, Google Drive, Calendar, Sheets, Slides & more
 
The current status of html5 technology and standard
The current status of html5 technology and standardThe current status of html5 technology and standard
The current status of html5 technology and standard
 
Introducing Hangout Apps
Introducing Hangout AppsIntroducing Hangout Apps
Introducing Hangout Apps
 
Track Report & Optimize Your Web Creations
Track Report & Optimize Your Web CreationsTrack Report & Optimize Your Web Creations
Track Report & Optimize Your Web Creations
 
Google Chronicles: Analytics And Chrome
Google Chronicles: Analytics And ChromeGoogle Chronicles: Analytics And Chrome
Google Chronicles: Analytics And Chrome
 
Google Analytics Report Automation (Magic Script)
Google Analytics Report Automation (Magic Script)Google Analytics Report Automation (Magic Script)
Google Analytics Report Automation (Magic Script)
 
Google Analytics Report Automation (Magic Script)
Google Analytics Report Automation (Magic Script)Google Analytics Report Automation (Magic Script)
Google Analytics Report Automation (Magic Script)
 

Mehr von Paradigma Digital

Bots 3.0: Dejando atrás los bots conversacionales con Dialogflow.
Bots 3.0: Dejando atrás los bots conversacionales con Dialogflow.Bots 3.0: Dejando atrás los bots conversacionales con Dialogflow.
Bots 3.0: Dejando atrás los bots conversacionales con Dialogflow.Paradigma Digital
 
Java 8 time to join the future
Java 8  time to join the futureJava 8  time to join the future
Java 8 time to join the futureParadigma Digital
 
Programación Reactiva con Spring WebFlux
Programación Reactiva con Spring WebFluxProgramación Reactiva con Spring WebFlux
Programación Reactiva con Spring WebFluxParadigma Digital
 
Orquestando microservicios como lo hace Netflix
Orquestando microservicios como lo hace NetflixOrquestando microservicios como lo hace Netflix
Orquestando microservicios como lo hace NetflixParadigma Digital
 
Meetup microservicios: API Management
Meetup microservicios: API ManagementMeetup microservicios: API Management
Meetup microservicios: API ManagementParadigma Digital
 
Meetup de kubernetes, conceptos básicos.
Meetup  de kubernetes, conceptos básicos.Meetup  de kubernetes, conceptos básicos.
Meetup de kubernetes, conceptos básicos.Paradigma Digital
 
Docker, kubernetes, openshift y openstack, para mi abuela. techfest 2017.pptx
Docker, kubernetes, openshift y openstack, para mi abuela. techfest 2017.pptxDocker, kubernetes, openshift y openstack, para mi abuela. techfest 2017.pptx
Docker, kubernetes, openshift y openstack, para mi abuela. techfest 2017.pptxParadigma Digital
 
Implementando microservicios
Implementando microserviciosImplementando microservicios
Implementando microserviciosParadigma Digital
 
Equipo de Marketing de Paradigma Digital
Equipo de Marketing de Paradigma DigitalEquipo de Marketing de Paradigma Digital
Equipo de Marketing de Paradigma DigitalParadigma Digital
 

Mehr von Paradigma Digital (14)

Ddd + ah + microservicios
Ddd + ah + microserviciosDdd + ah + microservicios
Ddd + ah + microservicios
 
Bots 3.0: Dejando atrás los bots conversacionales con Dialogflow.
Bots 3.0: Dejando atrás los bots conversacionales con Dialogflow.Bots 3.0: Dejando atrás los bots conversacionales con Dialogflow.
Bots 3.0: Dejando atrás los bots conversacionales con Dialogflow.
 
Have you met Istio?
Have you met Istio?Have you met Istio?
Have you met Istio?
 
Linkerd a fondo
Linkerd a fondoLinkerd a fondo
Linkerd a fondo
 
Horneando apis
Horneando apisHorneando apis
Horneando apis
 
Java 8 time to join the future
Java 8  time to join the futureJava 8  time to join the future
Java 8 time to join the future
 
Programación Reactiva con Spring WebFlux
Programación Reactiva con Spring WebFluxProgramación Reactiva con Spring WebFlux
Programación Reactiva con Spring WebFlux
 
Orquestando microservicios como lo hace Netflix
Orquestando microservicios como lo hace NetflixOrquestando microservicios como lo hace Netflix
Orquestando microservicios como lo hace Netflix
 
Meetup microservicios: API Management
Meetup microservicios: API ManagementMeetup microservicios: API Management
Meetup microservicios: API Management
 
Meetup de kubernetes, conceptos básicos.
Meetup  de kubernetes, conceptos básicos.Meetup  de kubernetes, conceptos básicos.
Meetup de kubernetes, conceptos básicos.
 
Docker, kubernetes, openshift y openstack, para mi abuela. techfest 2017.pptx
Docker, kubernetes, openshift y openstack, para mi abuela. techfest 2017.pptxDocker, kubernetes, openshift y openstack, para mi abuela. techfest 2017.pptx
Docker, kubernetes, openshift y openstack, para mi abuela. techfest 2017.pptx
 
Implementando microservicios
Implementando microserviciosImplementando microservicios
Implementando microservicios
 
Equipo de Marketing de Paradigma Digital
Equipo de Marketing de Paradigma DigitalEquipo de Marketing de Paradigma Digital
Equipo de Marketing de Paradigma Digital
 
Seminario Apache Solr
Seminario Apache SolrSeminario Apache Solr
Seminario Apache Solr
 

Kürzlich hochgeladen

BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxolyaivanovalion
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxolyaivanovalion
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxolyaivanovalion
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfSocial Samosa
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystSamantha Rae Coolbeth
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...Suhani Kapoor
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFxolyaivanovalion
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxolyaivanovalion
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxolyaivanovalion
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxEmmanuel Dauda
 
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.pptxthyngster
 

Kürzlich hochgeladen (20)

BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptx
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
 
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
 
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
 

Google Analytics for Developers Guide

  • 1. Google  Analy+cs  for  Developers   2016,  Rubén  Mar=nez  @ruben_dot  
  • 2. A  plaCorm  to  report  the  behaviour  of  online  and  offline  visitors  to:   •  Websites   •  Mobile  applica+ons   •  Connected  devices   •  Online  instances  (email,  github)   •  Offline  ac+vity  –  Physical  analy+cs!   Google  Analy+cs  is:   A  funnel  of  conversion   Source:  Google  Analy+cs  
  • 3. Google  Analy+cs  reports  incoming  traffic  to  webs  (and  apps)   Comparison  of  the  organic  traffic  of  a  website  in  two  periods  of  +me   Source:  Google  Analy+cs  
  • 4. Google  Analy+cs  helps  understand  the  conversions  of  visits  
  • 5. Organiza+on  of  the  plaCorm   Source:  Google  Developers  
  • 6. How  to  start  collec+ng  data   Same  process  for  websites,  mobile  apps  and  gaming  apps     1.  Sign  up  to  Google  Analy+cs  with  your  Google  account  (or  get  authorisa+on  as  a  User  by  the  account  owner)   2.  Setup  a  web  property  (URL)  or  a  mobile  property  at  the  admin  panel   3.  Paste  the  code  provided  by  Google  on  all  the  pages  or  download  the  {iOS,  Android}  SDK  and  integrate  it  into   your  app   4.  (API:  create  an  OAuth  2.0  client  ID  /  service  account  and  key)   Source:  Google  
  • 7. Tracking  code  for  mobile  apps   Very  similar  to  tracking  web  apps  except:     •  The  ga_trackingId  UA-­‐XXXX-­‐Y  of  your  mobile  app  will  be  different  to  your  web  applica+on   •  The  na+ve  hit  of  the  analy+cs  of  mobile  apps  is  Screens,  not  pageviews  
  • 8. Steps  1  and  2.  Administra+on  panel  of  Google  Analy+cs   Source:  Google  
  • 9. Step  3.  Start  collec+ng  your  data   <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function() { (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) }) (window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-2282690-1', 'paradigmadigital.com'); ga('send', 'pageview'); </script> Paste  the  code  provided  by  Google  on  all  the  pages   This  script  triggers  a  sequence  of  tos  and  fros  between  your  applica+on  and  Google  Analy+cs’  servers.  
  • 10. Sequence of events Client browser <> Google Analytics’ server (*)  http://www.google-analytics.com/collect?v=1&_v=j20&a=806449001&t=pageview&_s=1&dl=http%3A%2F%2Fwww.domain.com%2F&ul=en- us&de=UTF-8&sd=24-bit&sr=1920x1080&vp=1920x199&je=1&fl=13.0%20r0&_u=MAC~&cid=416165610.1399537988&tid=UA-XXXXXXX-1&z=2140666386 Servers  analy+cs.js   <img>  element  in  the  DOM   Requests  analy+cs.js   GET  with  a  URL  (*)  containing  appended  values     single-­‐pixel  gif   stores  the  hit    
  • 11. The  4  cri+cal  variables:  t,  cid  and  +d   They  must  be  present  on  EVERY  call  to  be  accepted  by  GA  servers.       o  t=pageview                                                                                          pageview  hit  type   o  cid=416165610.1399537988                              anonymous  Client  ID   o  +d=UA-­‐2282690-­‐1                                                                  tracking  property  ID   o  v=1                                                                                                                        protocol  Version        
  • 12. GET  variables   Spot  the  4  cri+cal  variables:     o  t   o  cid   o  +d   o  v  
  • 13. Visualiza+on  of  tags  and  scripts   Sequence  of  scripts  of  Google  Tag  Manager  and  tags  of  Google  Analy+cs  firing   Animated  sequence  elaborated  from  screenshot  of  the  analy+cs  tool  WASP  by  Cardinal  Path  
  • 14. Timing  of  JS  scripts  with  Google  Tag  Manager    
  • 15. Metrics  and  dimensions   Dimensions     Auributes  of     •  Visitors   •  Sessions   •  Hits:  page,  event   The  values  of  dimensions  are  strings.       Metrics     Counts  (average  integer  or  currencies).  Values  of  metrics  are  numbers.    
  • 16. Event  hits   Some  user  ac+ons  do  not  generate  pageviews:     -­‐  comple+on  of  individual  form  fields  (“Send”)   -­‐  clicks  on  external,  pdf  and  mailto:  links   -­‐  video  plays  or  completes   -­‐  ac+va+on  of  AJAX,  Flash,  jQuery  or  HTML5  interac+ons   In  other  to  measure  and  report  these  ac+ons  tag  some  HTML  elements  as  events  by  hardcoding  each  one:   ga(‘send’, ‘event’, ‘category’ ‘action’, ‘label’);  
  • 17. Custom  metrics  and  dimensions   ga('send', 'pageview', { 'dimension5': ‘stockist' });   Google  Analy+cs  is  not  restricted  to  its  built-­‐in  variables.     You  can  be  setup  and  passed  as  custom  dimensions  or  custom  metrics  of  your  specific  applica+on.     You  can  tag  some  pageviews  by  hardcoding  for  instance  a  dimension  specific  to  them,  e.g.  “stockist”:    
  • 18. Google  Tag  Manager   Snippet  provided  by  Google  to  paste  on    your  web  applica+on  immeditely  azer  the  tag  <body>:       ! !<!-- Google Tag Manager -->" " ! !<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-NJTFQC"" " ! !height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>" " ! !<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':" " ! !new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0]," " ! !j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=" " ! !'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);" " ! !})(window,document,'script','dataLayer','GTM-NJTFQC'); </noscript>" " ! !<!-- End Google Tag Manager -->  
  • 19. Google  Tag  Manager   Data  Layers  for  Google  Tag  Manager  replace  the  hardcoding  of  Google  Analy+cs   <body>" <script>" dataLayer = [{" 'pageCategory': 'signup’," 'visitorType': 'high-value’" }];" </script>" <!-- Google Tag Manager à" !snippet" <!-- End Google Tag Manager -->"
  • 20. Mark  up  of  events   ID page Category type element id Action Label dataLayer nkPR-001_Dashboard upsell button messages-link-message-{n} click submit {data}-{model}-{atributte-00}-{attribute-01}-{attribute-02} nkPR-001_Dashboard upsell button messages-button-close-message-{n} click hide {data}-{model}-{atributte-00}-{attribute-01}-{attribute-02} Crea+ng  event  tags  directly  within  the  Google  Tag  Manager  interface  spares  you  from  hardcoding  them  as   with  Google  Analy+cs.     Events  are  fired     •  with  triggers  based  on  predefined  variables   •  on  custom  variables  that  you  can  build  within  the  Google  Tag  Manager  UI   Example  of  specifica+ons  sent  by  Analysts  to  Developers  with  data  Layers  of  events  by  HTML  id  
  • 21. Paste  the  tracking  code  in  the  <head>  of  all  the  web  pages  of  your  applica+on     Start  tracking  from  day  zero  of  a  project  as  soon  as  you  have  something  in  pre-­‐produc+on     Track  also  private  areas  (protected  by  a  login  and/or  disallowed  to  crawling  bots)     ________________________     Do  not  collect  data  with  Google  Analy+cs’  script  analy+cs.js  AND  with  Google  Tag  Manager’s  container   simultaneously     Do  not  place  the  data  layer  code  azer  the  container  snippet   Do’s  and  don’ts  
  • 22. Most  frequent  errors   •  Missing  HTTP  response,  tags  not  fired   •  Pas+ng  the  Google  Analy+cs  tracking  code  outside  of  the  <head>  sec+on   •  Pas+ng  the  Google  Tag  Manager  code  snippet  not  immediately  azer  the  opening  <body>  tag   •  Mul+ple  installa+ons  of  Google  Tag  Manager  and  Google  Analy+cs   •  Declara+on  of  names  of  parameters  instead  of  names  of  variables  in  Google  Analy+cs   •  Missing  quotes  in  data  layer  fields  dataLayer.push({new-­‐variable:  "value"});    in  Google  Tag  Manager    
  • 23. Diagnose  your  Google  Analy+cs  implementa+on  
  • 24. Debugging  tools     •  Tag  Assistant  hups://support.google.com/tagassistant#topic=6000196   •  JavaScript  Console  hup://geCirebug.com/   •  Google  Analy+cs  console  –  Repor+ng  -­‐  Real-­‐Time   •  Google  API  Query  Explorer  hups://ga-­‐dev-­‐tools.appspot.com/query-­‐explorer/    
  • 25. Google  Analy+cs  Universal  is  user-­‐centric   Cookies are not used by mobile apps and browsers such as Safari on iphones. The identification of users and their sessions takes place now at server level, not browser/cookie level. Cookies are still used but Google warns that their format might change without warning. Developers should not directly access the cookie analytics.js sets as it could lead to script errors and incorrect data. Developers should use the get command to retrieve the clientId value when needed. ga(function(tracker) { var clientId = tracker.get('clientId'); });  
  • 26. clientId for cross-device attribution You can use a custom visitor ID based on customer email or ID in your database to merge smartphone / laptop / pc sessions into one cross-device session. Example: you can associate the clientID to their email address: ga('create', 'UA-XXXX-Y', {'clientId': ’md5($email)' }); GA uses cookie value + domain as a unique internal identifier. If two or more websites set up the same client ID value based on customer email, the data won't be corrupted, because they are using different domains (and different GA profile id).
  • 27. Track  transac+ons  by  individual  user   In  an  e-­‐commerce  scenario  unique  ids  of  users  are  generated  through  the  authen+ca+on  passed  to  an  account  at  sign-­‐in.  The  User   ID  will  allow  you  to  track  transac+ons  and  ac+vity  on  per  individual  customer  basis  (anonymized  by  TOS  of  Google).     Add  the  following  line  to  your  tracking  code  to  send  User-­‐ID  data  to  Google  Analy+cs.   ga('set', '&userId', 'USER_ID'); where  USER_ID  is  a  string  and  represents  the  anonymized    andunique  ID  retrieved  from  your  system.     Do  declare  the  variable  "userId"  instead  of  the  parameter  "uid”.  
  • 28. Split  tes+ng  of  content  -­‐  a  mul+-­‐armed  bandit  approach   Source:  Wikimedia.org  
  • 29. Bayesian with greedy algorithms Screenshot  of  a  real  experiment  that    
  • 30. Physical  analy+cs?   You  can  send  data  to  Google  Analy+cs  using  by  making  either  POST  or  GET  requests  to   the  following  end  point:  hups://www.google-­‐analy+cs.com/collect     For  instance  sensors  firing  events  in  the  physical  world  can  be  sent  as  hit  type  “event”   on  Google  Analy+cs  by  opening  the  URL       hup://www.google-­‐analy+cs.com/collect?v=1&+d=UA-­‐XXXXXX-­‐ Y&cid=1111&t=event&ec=in-­‐store&ea=walkthrough&el=frontdoor     where     ec:  event  category   ea:  event  ac+on   el:  event  label       Sensor  connected  to  a  Raspberry  Pi   Source:  hup://nicomiceli.com/tracking-­‐your-­‐home-­‐with-­‐google-­‐analy+cs/     Read  more:  hups://developers.google.com/analy+cs/devguides/collec+on/protocol/v1/reference