5. Game plan
• Filters and advanced segments
• Goals and funnels
• Tracking non-HTML files
• Events
• Tracking outbound links
• Alerts (intelligence events)
SEE THEN DO
6. 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
8. 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.
9. How to exclude a single IP
1.
2.
3.
4.
5.
6.
7.
8.
9.
Go to Admin
Click Filters
Click New filter button
Choose create new
Filter type: predefined
Name the filter
Choose Exclude traffic from the IP addresses
Enter IP
Save
12. How to exclude IP range(s)
1.
2.
3.
4.
5.
6.
7.
8.
9.
Go to Admin
Click Filters
Click New filter button
Choose create new
Name the filter
Filter type: custom, exclude
Filter field: IP address
Filter pattern??
Save
13. Filters: Exclude IP ranges
Enter using “regular expressions”
Stand back.
I know regular expressions.
14. 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.
16. 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=e
n&answer=1034771&rd=1
Use this:
http://www.analyticsmarket.com/freetools/iprege
x
17. 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
19. 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
21. 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.
22. Advanced segments how to
1. Define segment
2. Create statement
3. Combine statements
23. Advanced segments how to
Once you’re in your website’s profile go to:
Admin > Advanced Segments > New Segment
30. Goals: Setting up goals and funnels
Name the goal something intuitive, “Class Registration”
2. Choose whether the goal is active (ON) now
3. Choose a type of goal.
1.
•
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
Enter the URL for the goal page
5. Under “Goal Funnel” click ON
6. 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.
4.
31. TIP
“Exact match” has to be EXACTLY the same as the URL….even
leading or trailing spaces will cause it to fail
35. 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
36. Tracking non HTML files
Two ways:
1. Virtual pageviews
Downside - artificially inflates pageview
numbers
2. Event tracking
38. 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.
39. 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.
40. Event tracking code
<a href=“geneaology.pdf"
onClick="_gaq.push(['_trackEvent', ’Guides', ’Download',
’Intro to Genealogy Research]);”>Download the
guide</a>
Category = Guides
Action = Download
Label = Intro to Genealogy Research
44. 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>
45. Tracking outbound links
Tag 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
47. 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?
49. How to create an alert
1.
2.
3.
4.
5.
6.
7.
8.
Alert name
Apply to?
Period? (Day, Week, Month)
Send me an email?
Set up your mobile phone (optional)
Alert applies to?
Alert me when?
Click Create Alert