Top Banner
aspgems.com Google Analytics Concepts marzo de 2.010
70

Google Analytics Concepts

Jan 26, 2015

Download

Technology

Javier Vidal

Google Analytics Concepts
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Google Analytics Concepts

aspgems.com

Google Analytics Concepts

marzo de 2.010

Page 2: Google Analytics Concepts

2

Introduction

With Google Analytics we can:

● make informed site and content decisions

● increase conversions

● measure keyword and ad performance

● track a wide variety of metrics

Page 3: Google Analytics Concepts

3

How Does GA Work?

● Google Analytics Tracking Code (GATC) JavaScript in each page of our site

● Google Analytics only uses first-party cookies

Page 4: Google Analytics Concepts

4

What happens if ...

someone who blocks their cookies

→ not tracked

someone who deletes their cookies

→ tracked but identified as a new visitor

someone who disables JavaScript

→ not tracked

cached pages → tracked if connected to the internet

JavaScript error on the page → not tracked if the error occurs before the tracking code is executed

Page 5: Google Analytics Concepts

5

GA Tracking Code

● You'll sometimes need to paste the GATC at the top of the page:

● tracking ecommerce transactions

● tracking across multiple domains or subdomains

● using iframes

● using custom JavaScript functions that may conflict with ga.js

● New asynchronous tracking code.

Page 6: Google Analytics Concepts

6

Interpreting Reports

● Create context● compare with other metrics

● look for trends

● Data driven decision making

Page 7: Google Analytics Concepts

7

Pageviews, Visits and Visitors [1]

pageview: is counted every time a page on your site loads

visit (session): period of interaction between a browser and a website. Closing the browser or staying inactive for 30 minutes ends the visit.

visitor: is uniquely identified by a Google Analytics cookie

Page 8: Google Analytics Concepts

8

Pageviews, Visits and Visitors [2]

unique pageview: number of visits during which page was viewed

absolute unique visitor: each visitor is counted only once during the selected date range

new and returning visitor

Page 9: Google Analytics Concepts

9

Pageviews, Visits and Visitors [3]

Page 10: Google Analytics Concepts

10

Time Metrics [1]

time on page (n) = timestamp (n+1) – timestamp (n)

The time on page of the last page on a visit is always 0, because there's not timestamp GA can use to calculate the time.

time on site = sum(time on page) for a visit

Page 11: Google Analytics Concepts

11

Time Metrics [2]

avg. time on page = time on site / (pageviews – exits)

pages with time on page 0 are excluded from the calculation

avg. time on site = sum(time on site) for all visits / visits

pages with time on page 0 are not excluded from the calculation

Page 12: Google Analytics Concepts

12

Traffic Sources

● where the traffic is coming from on the internet?

● which source is sending the best quality traffic?● e.g. small bounce rate

Page 13: Google Analytics Concepts

13

Traffic Sources

direct traffic: bookmark or URL typed directly into the browser

referral traffic: via a link in any web site

search engine traffic: click in a search results link in a search engine

organic: non-paid

paid: ads

Page 14: Google Analytics Concepts

14

Keywords

● What were visitors expecting to find on your site?

● You fail to meet their expectation:● high bounce rate

● low goal conversion rate

● e-commerce per visit value

● Which landing pages are being used for a keyword?

Page 15: Google Analytics Concepts

15

Campaign Attribution

Page 16: Google Analytics Concepts

16

GA Accounts [1]

● One Google username:● up to 25 GA accounts

● can be added as an administrator to an unlimited number of GA accounts

● Administrators can:● create filters, profiles, goals

● add users

Page 17: Google Analytics Concepts

17

GA Accounts [2]

● Users:● read-only access to reports

● can be restricted to specific profiles

Page 18: Google Analytics Concepts

18

Profiles [1]

● Profile: set of rules that define what data is to be included in the reports

● Examples:● subdomains

● sections of a site

● filtered data (access control)

Page 19: Google Analytics Concepts

19

Profiles [2]

● The settings of a profile include:● user access

● goals

● filters

Each domain has a unique tracking code number (property number)

Page 20: Google Analytics Concepts

20

Campaign Tracking and AdWords Integration

● Autotagging:● reports are automatically populated with click, cost,

… of every keyword you buy

● if autotagging is not enabled, unpaid and paid clicks will look they came from the same source: google/organic

Page 21: Google Analytics Concepts

21

AdWords Data● Clicks

● Cost

● CTR (Click-through Rate) = ( clicks / impressions ) * 100

● CPC (Cost per Click)

● RPC (Revenue per Click)

● ROI (Return on Investment) = ( E-commerce Revenue + Total Goal Value - Cost) / Cost

Page 22: Google Analytics Concepts

22

Data Discrepancies

● Clicks (AdWords) vs. Visits (GA)

● Browser preferences (JavaScript, cookies)

● Unable to load GATC or GATC missing

● AdWords filtering

● Report data sync

● Destination URLs not tagged

● Redirects

Page 23: Google Analytics Concepts

23

Tracking Online Marketing

● You can add tags with campaign identifying to your destination URLs in paid links:● keyword links

● banners

● links inside emails

● Manual URL tagging => query string

Page 24: Google Analytics Concepts

24

Tags● Always:

● utm_source: advertiser (google, yahoo, …)

● utm_medium: marketing medium (cpc, banner, email, …)

● utm_campaign: campaign name

● Optional:● utm_term: paid search keyword

● utm_content: ad version

Page 25: Google Analytics Concepts

25

Tagging Examples

Page 26: Google Analytics Concepts

26

Goals [1]

● Goal: website objetive

● Types:● URL destination goal

– head match (/offer1/)

– exact match (/offer1/signup.html)

– regexp match (/.*/signup\.html)

● Time on Site goal

● Pages/Visit goal

Page 27: Google Analytics Concepts

27

Funnels

● Funnel: ● the set of steps, or pages, that

you expect visitors to visits on their way to complete the conversion

● URL destination goals

Page 28: Google Analytics Concepts

28

Funnel Numbers

Page 29: Google Analytics Concepts

29

Goals [2]

● Goal Value (optional): assign monetary value to non-ecommerce goals

● During a visit: ● goal conversions => once

● e-commerce transactions => multiple times

Page 30: Google Analytics Concepts

30

Filters

● Modify data:● remove data from internal sources

● restrict data for a profile or user

● segment data

● Customize reports

Page 31: Google Analytics Concepts

31

Filters and Profiles [1]

● Filters are applied to profiles

● It is recommended to maintain an unfiltered profile

Page 32: Google Analytics Concepts

32

Filters and Profiles [2]

Page 33: Google Analytics Concepts

33

Filter Types

● Predefined filters:● exclude traffic from a domain

● exclude traffic from a IP address

● include only traffic to a subdirectory

● Custom filters:

filter type | filter field | filter pattern

Page 34: Google Analytics Concepts

34

Custom Filters

● filter type:

● exclude

● include

● lowercase / uppercase

● search & replace

● advanced

● filter field:

● request URI

● hostname

● page title

● …

Page 35: Google Analytics Concepts

35

Cookies [1]

● Cookies are text files that describe a small piece of information about a visitor or the visitor's computer.

● Google Analytics:● first-party cookies

● your site can uniquely but anonymously identify individual visitors

Page 36: Google Analytics Concepts

36

Cookies [2]

Page 37: Google Analytics Concepts

37

__utma: Visitor Identifier

Page 38: Google Analytics Concepts

38

__utmb & __utmc: Session Identifiers

● Session (or visit) => 30 minutes of inactivity

● Each time de GATC is executed, __utmb is set to expire in 30 minutes.

● When the visitor loads a page, the GATC checks for both the __utmb and __utmc cookies. If either one is missing GA knows it's a new session.

Page 39: Google Analytics Concepts

39

__utmz: Campaign Values [1]

● The session number increments for every session during which the campaign cookie gets overwritten.

● The campaign number increments every time you arrive at the site by a different campaign or organic search, even if it is within the same session.

Page 40: Google Analytics Concepts

40

__utmz: Campaign Values [2]

Page 41: Google Analytics Concepts

41

__utmv: Visitor Segmentation

● Only set if the site calls the _setVar() method

● _setVar() => deprecated

● _setCustomVar()

Page 42: Google Analytics Concepts

42

E-commerce Tracking [1]

● Enable e-commerce reporting in your website profile

● Add the GATC

● Add some additional code to track each transaction

Page 43: Google Analytics Concepts

43

E-commerce Tracking [2]

Page 44: Google Analytics Concepts

44

Revenue Metrics

● Calculated based on:● the goal values:

– Per Visit Goal Value

● the e-commerce revenue:– Revenue

– Average Value (of an e-commerce transaction)

– Per Visit Value

● goal Values + e-commerce revenue:– RPC, ROI, Margin, $Index

Page 45: Google Analytics Concepts

45

$Index

● $Index is a way of ranking the pages that have the most impact on site profitability

(Goal Value + E-commerce Revenue) / Unique Views of Page Before Conversion

● Useful as a way of ranking pages

Page 46: Google Analytics Concepts

46

$Index Example

Page 47: Google Analytics Concepts

47

Tracking across Domains [1]

● Add the following lines to the GATC on all pages of both domains:

Page 48: Google Analytics Concepts

48

Tracking across Domains [2]

● Add _link() to all links between domains:

Page 49: Google Analytics Concepts

49

_linkByPost()

Page 50: Google Analytics Concepts

50

Tracking Subdomains

● Add the following line to the GATC on all pages of each subdomain:

Page 51: Google Analytics Concepts

51

Best Practice #1

● Create separate profiles for each subdomain:

Page 52: Google Analytics Concepts

52

Best Practice #2

● To differentiate between visits to identically named pages:

Page 53: Google Analytics Concepts

53

Domains with Subdomains● Add:

● _link() & _linkByPost()

Page 54: Google Analytics Concepts

54

Advanced Segmentation

● Isolate and analyze subsets of your traffic:● visits from California

● visits with purchases of $100 or more

Page 55: Google Analytics Concepts

55

Advanced Segments vs. Filtered Profiles

● Advanced Segments:– can be applied to historical data

– are available across all domains and profiles

– can be compared side-by-side in the reports

– are easier to create

● Filtered Profiles:– to permanently alter or restrict the data that appears in a

profile

– if you need to restrict user access to a subset of data

Page 56: Google Analytics Concepts

56

Internal Site Search

● Analyzing internal search can help you identify:● missing or hidden content

● ineffective search results

● keywords not previously identified for search campaigns

http://javiervidal.net/?s=hola+mundo

query parameter: s

(Can be provided up to 5 query parameters)

Page 57: Google Analytics Concepts

57

Site Search Reports [1]● Site Search Usage: compares performance of users

who use site search versus those who do not

● Site Search Terms: only includes visits where a search is performed

– can compare metrics between internal search queries

– useful for identifying new keywords– can be combined with segmentation

● Search Refinement: View the keywords visitors used to refine their original searches

Page 58: Google Analytics Concepts

58

Site Search Reports [2]

● Search Navigation: See where visitors who search on a specific keyword go after viewing the search results page

● Start Pages: Shows you where visitors begin using the search function (useful to assess the effectiveness of landing pages)

● Destination Pages

● Trending

Page 59: Google Analytics Concepts

59

Goal Conversion and Site Search

● Goal conversions in the Site Search reports are based on visits that include at least one search

Page 60: Google Analytics Concepts

60

Event Tracking & Virtual Pageviews

● Cases where a pageview is not generated:● Flash

● AJAX

● file downloads

Page 61: Google Analytics Concepts

61

Virtual Pageviews

● Call _trackPageview(filename)

● Best practices:● Adopt a consistent and clear naming convention

● Filter out the virtual pageviews in a separate profile, for example, use a virtual directory, /virtual

Page 62: Google Analytics Concepts

62

Event Tracking

● Event tracking will not generate an extra pageview

● You can easily organize your events in:● categories

● actions

● labels

● values

● _trackEvent()

Page 63: Google Analytics Concepts

63

_trackEvent()

Page 64: Google Analytics Concepts

64

Advantages of Event Tracking

● Analyze user interactions in much greater detail

● Avoid inflating your pageview count

Page 65: Google Analytics Concepts

65

Custom Visitor Segmentation

● Predefined segmentation variables: City, Language

● Custom segmentation variables● _setVar() => only one (visitor-level)

● _setCustomVar()

Page 66: Google Analytics Concepts

66

Member vs Non-Member

Page 67: Google Analytics Concepts

67

_setVar() [deprecated]

● __utmv cookie

Page 68: Google Analytics Concepts

68

_setCustomVar()

_setCustomVar(index, name, value, scope)

● index: slot 1-5

● scope:● 1: visitor-level

● 2: session-level

● 3: page-level

Page 69: Google Analytics Concepts

69

Interesting URLs

http://www.google.com/support/conversionuniversity/?hl=en

http://www.seorabbit.com/google-analytics-individual-qualification-test-notes

http://dl.dropbox.com/u/915172/GAIQ_examples.zip

Page 70: Google Analytics Concepts

¡gracias!