Introduction to google analytics

98
Introduction to Google Analytics Jeff Wisniewski University of Pittsburgh Darlene Fichter University of Saskatchewan GA team’s cake Computers in Libraries 2012

description

 

Transcript of Introduction to google analytics

Page 1: Introduction to google analytics

Computers in Libraries 2012

Introduction to Google Analytics

Jeff WisniewskiUniversity of Pittsburgh

Darlene FichterUniversity of SaskatchewanGA team’s cake

Page 2: Introduction to google analytics

Computers in Libraries 2012

By the end of this session

Have an analytics account

Have tracking code to add to your site

Understand basic web metrics

Understand the GA dashboard and other reports

Create goals and funnels

Create custom reports to track mobile and social media

Learn how to export, mail and schedule reports

Page 3: Introduction to google analytics

Computers in Libraries 2012

Poll

Write down two specific things about your website you hope GA will help you to better understand/answer

Page 4: Introduction to google analytics

Computers in Libraries 2012

Introductions

Page 5: Introduction to google analytics

Computers in Libraries 2012

Housekeeping

Page 6: Introduction to google analytics

Computers in Libraries 2012

Mandatory Wikipedia Definition

Web analytics is the measurement, collection, analysis and reporting of internet data for purposes of understanding and optimizing web usage

Page 7: Introduction to google analytics

Computers in Libraries 2012

Reasons to measure?

Usability

Resource

Institutional

Other?

Page 8: Introduction to google analytics

Computers in Libraries 2012

We can learn…

Who is coming to our site

What they’re doing

How long they stay

The systems they’re using to access our site

If they’re able to complete tasks

How they find us

Page 9: Introduction to google analytics

Computers in Libraries 2012

Two flavors

Log file analysis

Page tagging

Page 10: Introduction to google analytics

Computers in Libraries 2012

Log files…

Are big

Take a long time to ingest

Take a lot of computing power to process

Take up space

Require that you be able to access them

Page 11: Introduction to google analytics

Computers in Libraries 2012

Poll

Do you have experience with another analytics tool? Which? Pros and cons?

Photo by mcw026 cc some rights reserved

Page 12: Introduction to google analytics

Computers in Libraries 2012

Why GA?

FREE

Industry standard

Lots of folks use it

Easy to use

Web based

Visual

FREE

Page 13: Introduction to google analytics

Computers in Libraries 2012

Google account

If you do not have a Google account please register for one now

Google.com/accounts

Page 14: Introduction to google analytics

Computers in Libraries 2012

Getting Started

1. Google account

2. Website

3. Access to website code

Page 15: Introduction to google analytics

Computers in Libraries 2012

GA Account

Log into

Google.com/analytics

Let’s GO!

Page 16: Introduction to google analytics

Computers in Libraries 2012

Page 17: Introduction to google analytics

Computers in Libraries 2012

General Info

Site URL

Account name

Time zone info

Page 18: Introduction to google analytics

Computers in Libraries 2012

Page 19: Introduction to google analytics

Computers in Libraries 2012

Contact info

Page 20: Introduction to google analytics

Computers in Libraries 2012

Page 21: Introduction to google analytics

Computers in Libraries 2012

EULA

(Please take two hours and carefully review the end user license agreement before clicking through)

Page 22: Introduction to google analytics

Computers in Libraries 2012

Add tracking

Page 23: Introduction to google analytics

Computers in Libraries 2012

Page 24: Introduction to google analytics

Computers in Libraries 2012

* TIP

The tracking code can be “included” as part of your page template

Photo by BigTallGuy cc some rights reserved

Page 25: Introduction to google analytics

Computers in Libraries 2012

*TIP

Create TWO profiles for your site, one the “master” profile and the second the “working” profile

Photo by Stéfan, Some rights reserved

Page 26: Introduction to google analytics

Computers in Libraries 2012

Page 27: Introduction to google analytics

Computers in Libraries 2012

*TIP

You can create multiple profiles for the same site, for example different subsections, to speed reporting

Photo by merwing little✿ dear, some rights reserved

Page 28: Introduction to google analytics

Computers in Libraries 2012

The GA interface

Page 29: Introduction to google analytics

Computers in Libraries 2012

Menu translation

Menu item English translation

Dashboard General overview of site activity

Intelligence Email and/or text alerts

Visitors How man people, where they come from, what systems they’re using

Traffic Sources How people are getting to and/or finding your site

Content What do people look at on your site

Page 30: Introduction to google analytics

Computers in Libraries 2012

Page 31: Introduction to google analytics

Computers in Libraries 2012

The Dashboard

Provides an overview of site activity

Many of the metrics here appear elsewhere in GA as well

Page 32: Introduction to google analytics

Computers in Libraries 2012

Key metrics

METRIC DEFINITION NOTE

Bounce rate % of visits that immediately left

High bounce rate can be good or bad

Goal Page someone reaches once they’ve completed some task

Hit Request for a file from a webserver

Artifically inflated

Pageview Display of a complete webpage

Visits Series of pageviews from same visitor

Within 30 minutes

Page 33: Introduction to google analytics

Computers in Libraries 2012

Page 34: Introduction to google analytics

Computers in Libraries 2012

Page 35: Introduction to google analytics

Computers in Libraries 2012

Page 36: Introduction to google analytics

Computers in Libraries 2012

Page 37: Introduction to google analytics

Computers in Libraries 2012

Page 38: Introduction to google analytics

Computers in Libraries 2012

Dashboard

LIVE!

Page 39: Introduction to google analytics

Computers in Libraries 2012

TIP!

You can customize the dashboard…just click

to add a panel or click the “X” in the right hand corner to remove from dashboard

Page 40: Introduction to google analytics

Computers in Libraries 2012

Intelligence

Alerts

Can be applied to most any event/metric

Email and/or txt message

Page 41: Introduction to google analytics

Computers in Libraries 2012

Page 42: Introduction to google analytics

Computers in Libraries 2012

*TIP

When you first begin collecting data, or change/add, set an alert for verification that it’s working as expected

Page 43: Introduction to google analytics

Computers in Libraries 2012

Visitors

Some Visitors section info repeated in Dashboard

Benchmarking?

Page 44: Introduction to google analytics

Computers in Libraries 2012

*TIP

New vs. returning, unique visitors, visitor loyalty all rely on cookie data. Caveats:

Browser specific They expire They can be blocked or deleted Public computers

Page 45: Introduction to google analytics

Computers in Libraries 2012

Rule of thumb

TRENDS in the data are more important than the numbers themselves

Page 46: Introduction to google analytics

Computers in Libraries 2012

Visitors

Photo reserved by Scott Clark Some rights

Page 47: Introduction to google analytics

Computers in Libraries 2012

Page 48: Introduction to google analytics

Computers in Libraries 2012

Visitors

Visitor technical information OS Browser Screen color & resolution Flash Java Network properties

Connection speed Mobile

Page 49: Introduction to google analytics

Computers in Libraries 2012

Visitors: Browser

Page 50: Introduction to google analytics

Computers in Libraries 2012

Visitors: Mobile

Page 51: Introduction to google analytics

Computers in Libraries 2012

Benchmarking?

Page 52: Introduction to google analytics

Computers in Libraries 2012

Visitors

LIVE!

Page 53: Introduction to google analytics

Computers in Libraries 2012

*TIP

Google analytics can also track mobile APP (android and iOS) usage: http://code.google.com/mobile/analytics/docs/

Page 54: Introduction to google analytics

Computers in Libraries 2012

Traffic Sources

An overview of the different sources that send traffic to your site Direct Referring Search engines

Photo by lambchops Some rights reserved

Page 55: Introduction to google analytics

Computers in Libraries 2012

Traffic Sources

Direct Access via a bookmark or type in URL directly

Referring Click to your site from another site

Search engines Click to your site from search engine results

Page 56: Introduction to google analytics

Computers in Libraries 2012

Traffic Sources

Keywords:

Terms used to “find” your site via search engines

Page 57: Introduction to google analytics

Computers in Libraries 2012

Page 58: Introduction to google analytics

Computers in Libraries 2012

Traffic Sources: Referrers

Page 59: Introduction to google analytics

Computers in Libraries 2012

*TIP

Most tables in GA can be searched to find a

specific entry

Page 60: Introduction to google analytics

Computers in Libraries 2012

Traffic Sources

Live

Page 61: Introduction to google analytics

Computers in Libraries 2012

Content

Page 62: Introduction to google analytics

Computers in Libraries 2012

Content: Top Content

Page 63: Introduction to google analytics

Computers in Libraries 2012

Page 64: Introduction to google analytics

Computers in Libraries 2012

Content: In page analytics

Page 65: Introduction to google analytics

Computers in Libraries 2012

Content

LIVE

Page 66: Introduction to google analytics

Computers in Libraries 2012

Goals

A “goal” is the page which a visitor reaches once they have completed a desired action, such as a registration or download.

A “funnel” is the pages they need to visit on the way to a goal.

EXAMPLE: Library legislative history course sign up

Page 67: Introduction to google analytics

Computers in Libraries 2012

Goals: Setting up goals and funnels

1. Name the goal something intuitive. In this example it might be “Class Registration”

2. Choose whether or you want the goal to be active (on) now

3. Choose a type of goal. Most library scenario goals will probably fall under the “URL Destination” type, meaning the goal is to get the user to a specific place, in this case the “thank you for registering” page.

4. Enter the URL for this goal page

5. Under “Goal Funnel” click yes

6. On the following page add the URL(s) of the page(s) along the path a user would take to get from the homepage all the way through to the thank you page.

Page 68: Introduction to google analytics

Computers in Libraries 2012

Goals

Page 69: Introduction to google analytics

Computers in Libraries 2012

Goals

Page 70: Introduction to google analytics

Computers in Libraries 2012

*TIP

Exact match has to be EXACTLY the same as the URL….even leading or trailing spaces will cause it to fail

Page 71: Introduction to google analytics

Computers in Libraries 2012

Goals

Page 72: Introduction to google analytics

Computers in Libraries 2012

Exercise

Visit your library website. Fully define two (or more!) goals.

GOAL NAME GOAL URL FUNNEL

Photo by photofarmer Some rights reserved

Page 73: Introduction to google analytics

Computers in Libraries 2012

Advanced segments

Let you group certain types of visits together

User defined

Page 74: Introduction to google analytics

Computers in Libraries 2012

Advanced Segments

Page 75: Introduction to google analytics

Computers in Libraries 2012

Advanced Segments Examples

iPad users visiting your events calendar

How much traffic is coming from Facebook? Twitter? Both?

How many site visitors connect using dialup?

Page 76: Introduction to google analytics

Computers in Libraries 2012

Advanced Segments Notes

In some cases GA will suggest variables (operating system for ex.)

Advanced segments take AND & OR statements

Page 77: Introduction to google analytics

Computers in Libraries 2012

Advanced segment: Mobile

To see all mobile traffic aggregated:

1. Click on the Advanced Segments > Create a new custom segment

2. Under Dimensions click on Visitors

3. Drag the green Mobile rectangle into the dimension or metrics box.

4. Make sure the Condition equals “Matches Exactly” and the Value equals Yes

5. Name the segment and save

Page 78: Introduction to google analytics

Computers in Libraries 2012

Advanced segment: Specific mobile

To see data for one or more specific mobile platforms:

1. Click on the Advanced Segments > Create a new custom segment

2. Under Dimensions go to Systems > Operating Systems

3. Drag the green Operating Systems rectangle into the dimension or metrics box.

4. Make sure the Condition equals Matches Exactly

5. Choose a mobile OS from the dropdown

6. Name the segment and save

Page 79: Introduction to google analytics

Computers in Libraries 2012

Page 80: Introduction to google analytics

Computers in Libraries 2012

Advanced segment: Social media

1. Go to Advanced Segments > Create New Custom Segment

2. Choose Dimensions>Traffic Source>Source and drag to the main panel

3. Under matches choose Matches regular expression and enter something like this (including the pipes): facebook.com|twitter.com|delicious|linkedin|

(Customize for the specific sources you’d like to track)

4. Name the segment and save

Page 81: Introduction to google analytics

Computers in Libraries 2012

*TIP

Each social media source can also have it’s own segment so that you can track individually

Page 82: Introduction to google analytics

Computers in Libraries 2012

Advanced segments

LIVE

Page 83: Introduction to google analytics

Computers in Libraries 2012

Useful: Date comparisons

Photo by TheBusyBrain Some rights reserved

Page 84: Introduction to google analytics

Computers in Libraries 2012

Comparisons

1. Choose first date range

2. Click “compare to past”

3. Choose second date range

4. Apply

Page 85: Introduction to google analytics

Computers in Libraries 2012

Page 86: Introduction to google analytics

Computers in Libraries 2012

Useful: Tracking outbound links

Many links on library sites are to third-party destinations Catalog Ejournals and databases Other sites

Cannot, by default, track click activity on outgoing links

Page 87: Introduction to google analytics

Computers in Libraries 2012

Useful: Tracking outbound links

1. Insert some code into the <head> of the page(s) on which you want to track outbound links to delay the link by a fraction of a second to give the page tracking code time to load. Google has a script for this: http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55527

2. Tag the specific link(s) you want to track so that the activity will be recorded in GA using a javascript onClick statement.

3. Wait 24-48 hours to give GA a chance to collect some data then:

4. IN GA go to Content > Event Tracking > Categories. There should now be a category there called “outbound links”, and within the category, data for each link.

Page 88: Introduction to google analytics

Computers in Libraries 2012

Useful: Tracking outbound links

1. Insert some code into the <head> of the page(s) on which you want to track outbound links:

<script type="text/javascript">

function recordOutboundLink(link, category, action) {

_gat._getTrackerByName()._trackEvent(category, action);

setTimeout('document.location = "' + link.href + '"', 100);

}

</script>

Page 89: Introduction to google analytics

Computers in Libraries 2012

Useful: Tracking outbound links

Tag the specific link(s) you want to track so that the activity will be recorded in GA using a javascript onClick statement:

your link

<a href="http://www.example.com" onClick="recordOutboundLink(this, 'Outbound Links', 'example.com');return false;">

the category the link label

Page 90: Introduction to google analytics

Computers in Libraries 2012

Reporting

Analytics allows you to export any of your reports into: PDF - portable document format. You'll need the

free Adobe Reader software in order to view this file.

XML - extensible markup language. Excel - Microsoft Excel-formatted spreadsheet. TSV - tab separated values. This format can be read

in most spreadsheet applications or text editors.

Page 91: Introduction to google analytics

Computers in Libraries 2012

*TIP

Analytics will export the report with the settings currently showing on your screen, so make sure

that your date range and other settings are as you would like them

Page 92: Introduction to google analytics

Computers in Libraries 2012

Reporting

To export a report:

1. Navigate to the report you'd like to export.

2. Click Export, below the report title.

3. Select one of the four export format options

4. Your file will be generated automatically.

Page 93: Introduction to google analytics

Computers in Libraries 2012

Emailing

Reports can be emailed immediately or scheduled

Like exporting, you need to be viewing the exact report you want to email

Note that scheduled reports send data based on the previous day, week, month, or quarter

Page 94: Introduction to google analytics

Computers in Libraries 2012

Page 95: Introduction to google analytics

Computers in Libraries 2012

Page 96: Introduction to google analytics

Computers in Libraries 2012

Questions?

After the session contact us at:

Jeff Wisniewskiwww.facebook.com/wisniewski.jeff

Darlene Fichter darlene.fichter AT usask.ca

Page 97: Introduction to google analytics

Computers in Libraries 2012

Thank you

Page 98: Introduction to google analytics

Computers in Libraries 2012

Resources

Google Analytics Help: http://www.google.com/support/googleanalytics/

Google Code (Technical Documentation):http://code.google.com/apis/analytics/docs/

Google Analytics Blog: http://analytics.blogspot.com/

Official Discussion Groups:http://code.google.com/apis/analytics/groups.html