58
Advanced Google Analytics Jeff Wisniewski Darlene Fichter October 27, 2013

Advanced Google Analytics

Embed Size (px)

Citation preview

Page 1: Advanced Google Analytics

Advanced Google AnalyticsJeff WisniewskiDarlene Fichter October 27, 2013

Page 2: Advanced Google Analytics

Welcome!

Greetings Earthlings

Page 3: Advanced Google Analytics

Everyone have a GA account?

Login or buddy up!

Page 4: Advanced Google Analytics

Your experience with GA?

I set up a GA account

Page 5: Advanced Google Analytics

Game plan

• Filters and advanced segments•Goals and funnels• Tracking non-HTML files• Events • Tracking outbound links• Alerts (intelligence events)

SEE THEN DO

Page 6: Advanced Google Analytics

Filters and advanced segments

Important distinction:

Filters are destructive, advanced segments are not

TIP: Create a backup, non filtered profile (view) of your data for safekeeping

Page 7: Advanced Google Analytics

Create backup profile (view)

Admin > View Settings > Copy View

Page 8: Advanced Google Analytics

Filter example: IP addresses

•Why might you want to exclude IPs from your analytics? You want to see, or need to report on, traffic that excludes devices from within your libraries.

•This could include staff devices, publicly accessible devices, or both.

Page 9: Advanced Google Analytics

How to exclude a single IP

1. Go to Admin2. Click Filters3. Click New filter button4. Choose create new5. Filter type: predefined6. Name the filter7. Choose Exclude traffic from the IP addresses8. Enter IP9. Save

Page 10: Advanced Google Analytics

Click New Filter

Page 11: Advanced Google Analytics

Create New Filter

Exclude traffic

Page 12: Advanced Google Analytics

How to exclude IP range(s)

1. Go to Admin2. Click Filters3. Click New filter button4. Choose create new5. Name the filter6. Filter type: custom, exclude7. Filter field: IP address8. Filter pattern??9. Save

Page 13: Advanced Google Analytics

Filters: Exclude IP ranges

Enter using “regular expressions”

Stand back. I know regular expressions.

Page 14: Advanced Google Analytics

Filters: Regular expressions"In computing, regular expression provides a

concise and flexible means for "matching" (specifying and recognizing) strings of numbers or

text, such as particular characters, words, or patterns of characters." -Wikipedia

Think Boolean searching meets wildcards, on steroids.

Page 15: Advanced Google Analytics

Example

^136\.142\.(1\.([2-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-5]))|(([2-9]|[1-2][0-9]|3[0-4])\.([0-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-5])))|35\.([0-9]|1[0-2]))$

Page 16: Advanced Google Analytics

Filters: Regular expressions

Google has a form-based tool for generating regular expressions for ranges of IPs ! Yay Google!

http://support.google.com/bin/answer.py?hl=en&answer=1034771&rd=1

Use this: http://www.analyticsmarket.com/freetools/ipregex

Page 17: Advanced Google Analytics

Filters: Exclude IP range(s)

Have multiple ranges?

Rerun the tool with the additional range(s), put them all together

separate each expression it generates with the pipe symbol |

and paste into your filter

Page 18: Advanced Google Analytics

Advanced segments

Advanced segments are non-destructive; they create distinct VIEWS of your data

Page 19: Advanced Google Analytics

Advanced segments

Several predefined advanced segments are available out of the box

Can create custom advanced segment

You can work with up to a total of four segments at a time

Page 20: Advanced Google Analytics

Advanced segments

Example: Create an advanced segment that easily shows how many users access your site remotely versus onsite

Page 21: Advanced Google Analytics

Advanced segments

Advanced segments apply throughout a profile.

If you keep the segment(s) active, they’re visible in all of the different reports available to you in GA.

Page 22: Advanced Google Analytics

Advanced segments how to

1. Define segment2. Create statement3. Combine statements

Page 23: Advanced Google Analytics

Advanced segments how to

Once you’re in your website’s profile go to:

Admin > Advanced Segments > New Segment

Page 24: Advanced Google Analytics

Admin > Advanced Segments > New Segment Name

Page 25: Advanced Google Analytics

Domain name contains verison OR comcast

Page 26: Advanced Google Analytics

Second segment for visits from pitt.edu

Page 27: Advanced Google Analytics

Advanced Segments > Choose 2 custom segmentsPitt & Remote Access

Page 28: Advanced Google Analytics

Pitt Remote Access

Report on visits from

Page 29: Advanced Google Analytics

Goals and funnels

Admin > Goals > Create a Goal

Page 30: Advanced Google Analytics

Goals: Setting up goals and funnels

1. Name the goal something intuitive, “Class Registration”2. Choose whether the goal is active (ON) now3. Choose a type of goal.

• Most library scenario goals will be “URL Destination”. This means the goal is to get the user to a specific place, such as “thank you for registering” page

4. Enter the URL for the goal page5. Under “Goal Funnel” click ON6. Enter the URL(s) of the page(s) along the path a user would

take from the homepage all the way to the |thank you” page.

Page 31: Advanced Google Analytics

TIP

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

Page 32: Advanced Google Analytics

Goal Name

Goal Type - Destination

Page 33: Advanced Google Analytics

Destination URLthankyou.html

Page 34: Advanced Google Analytics
Page 35: Advanced Google Analytics

Tracking non HTML files

Use event tracking to track:• Any Flash-driven element, like a Flash

website, or a Flash Movie player• Embedded AJAX page elements• Page gadgets• File downloads, like PDFs

Page 36: Advanced Google Analytics

Tracking non HTML files

Two ways:

1. Virtual pageviews Downside - artificially inflates pageview

numbers

2. Event tracking

Page 37: Advanced Google Analytics

Event tracking

Five components:

• categories• actions• labels• values• implicit count

Page 38: Advanced Google Analytics

Event tracking

Category: A category is the root level of Event Tracking Some sample categories are "Videos" and ”PDFs".

Action: An action is a descriptor for a particular event.

Page 39: Advanced Google Analytics

Event tracking

Label: A label is an optional

Value: A value is a numerical variable that you can assign to any event that you've assigned to a category.

Implicit Count: The implicit count is a count of the number of interactions with an event category.

Page 40: Advanced Google Analytics

Event tracking code

<a href=“geneaology.pdf" onClick="_gaq.push(['_trackEvent', ’Guides', ’Download', ’Intro to Genealogy Research]);”>Download the guide</a>

Category = GuidesAction = DownloadLabel = Intro to Genealogy Research

Page 41: Advanced Google Analytics

Event reports

Appear under Content > Events

Page 42: Advanced Google Analytics

Events

Page 43: Advanced Google Analytics

Event reports by event name

Page 44: Advanced Google Analytics

Tracking outbound links

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

<script type="text/javascript">function trackOutboundLink(link, category, action) { try { _gaq.push(['_trackEvent', category , action]); } catch(err){}setTimeout(function() {document.location.href = link.href;}, 100);}</script>

Page 45: Advanced Google Analytics

Tracking outbound linksTag the link(s) you want to track by using a javascript

onClick statement:

your link: www.example.com

<a href="http://www.example.com" onClick="recordOutboundLink(this,

'Outbound Links', 'example.com');return false;">

the category the link label

Page 46: Advanced Google Analytics

Alerts

Google calls these “Intelligence Events”

Alert me when 5 camels cross the road.

Page 47: Advanced Google Analytics

Examples

Any referrals from a local news site that recently wrote about your library?

A class confirmation page has been generated X times, class nearly full

Pageviews of your 404 page go up by X %...what’s wrong?

Page 48: Advanced Google Analytics

Alerts

Admin > Custom Alerts > Create New Alert

Page 49: Advanced Google Analytics

How to create an alert1. Alert name2. Apply to?3. Period? (Day, Week, Month)4. Send me an email?5. Set up your mobile phone (optional)6. Alert applies to?7. Alert me when?8. Click Create Alert

Page 50: Advanced Google Analytics

New alert applies to www.library.pitt.edu

Page 51: Advanced Google Analytics

Alert name – facebook referrals

Referral path contains “facebook”

Increases by 10%

Page 52: Advanced Google Analytics

This event applies to PITTClassic profile

Page 53: Advanced Google Analytics

Word cloud (bonus!) Acquisition > Keywords > Organic

Page 54: Advanced Google Analytics

Keyword Display as:

Page 55: Advanced Google Analytics
Page 56: Advanced Google Analytics

Questions? Comments?

Page 57: Advanced Google Analytics

Inte

rnet

Lib

rari

an 2

013

Thanks!