Download presentation
Presentation is loading. Please wait.
Published byLogan Elm Modified over 9 years ago
1
USING GOOGLE ANALYTICS IN THE CATALOG John Wohlers Waubonsee Community College
2
Technologies Used SirsiDynix E-Library Google Analytics JavaScript
3
An Introduction to Google Analytics Statistics and reporting tool Geared towards marketing AdWords/ AdSense ROI Goals Campaigns Replacement for BLUEcloud Analytics?
4
Basic Analytics E-Library Setup Step 1: Create Analytics account http://www.google.com/analytics One account handles multiple libraries / services Account – Top level organization Property – Branch, product, etc… Step 2: Edit your environment file ibistro.env or env##.env GOOGLE_ANALYTICS UA-XXXXX-YY YY = Web Property ID index number This API has been replaced with a newer “Universal Analytics” API. Step 3: Wait…
5
Audience Overview Sessions Users Pageviews Pages/Session Avg Session Duration Bounce Rate % New Sessions
6
Technology
7
Acquisition -> All Referrals
8
Audience -> Geo -> Location
9
Demographics and Interests Privacy Issues? (DoubleClick) Required Text https://support.google.com/analytics/answer/2700409 Demographics Age Gender
10
Demographics and Interests Interests Affinity Categories – Broad lifestyle categories Movie Lovers, Technophiles, News Junkies & Avid Readers, TV Lovers In-Market Segments - Specific product categories users are in the market for Real Estate/Residential Properties/Residential Properties, Education/Post-Secondary Education, Home & Garden/Home Improvement, Financial Services/Tax Services Other Categories – Specific content your users consume Arts & Entertainment/TV & Video/Online Video, Reference/General Reference/Dictionaries & Encyclopedias, Books & Literature/Writers Resources, Jobs & Education/Education/Colleges & Universities Collection Development? Programming?
11
Enhancing Analytics With Custom Events, Metrics, and Dimensions Why? Track searches Local vernacular searches Collection development Track feature usage Catalog map Book previews Language Track session timeouts
12
Tips Plan carefully No editing of old data Plan for growth Event categories Consistent naming conventions
13
General Modifications Replace SIRSI provided GA tracking code Comment out, or remove GA code in copyright.h Always copy files to pages_custom before editing! [html_head.h] and [html_head_tabbed.h] // var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); // document.write(unescape("%3Cscript src='" + gaJsHost + "google- analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); // try { // var pageTracker = _gat._getTracker(' '); // pageTracker._trackPageview(); // } catch(err) {}
14
(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', ' ', 'auto'); ga('require', 'displayfeatures'); General Modifications - Add Universal Analytics Code Always copy files to pages_custom before editing! [html_head.h] and [html_head_tabbed.h] Allows adding events and setting variables during loads using SIRSI tags
15
General Modifications [copyright.h] Send pageview Records basic pageview statistics //<![CDATA[ ga('send', 'pageview'); //]]>
16
Event Tracking ga(‘send’,’event’,’’,’’,’’, 0); Category (Required) Enhancement, Direct Linking, Account Action (Required) Preview Item, View Map, Cite This, Change Language Label (Optional) Item Title Value (Optional) Records Returned
17
Event Tracking (Example 1) : Custom Enhancement Track usage of custom enhancements Book Preview Item Location Map Cite This Persistent Link View Current Content (RSS Feeds in Catalog)
18
Event Tracking (Example 1) : Code JavaScript Place “ga()” in event triggered code Event Category: “Catalog” Action: “View Map” Label: Library, using SIRSI_Data tag CVTJS is your friend NORTL - Do not convert the text order, data is a policy Remember the trailing single quote ga('send', 'event',‘Enhancement','View Map', ' ');
19
Event Tracking (Example 2) : Language Change Tracking User Preferences Language Change Change Display Holdings Display Catalog Display
20
Event Tracking (Example 2) : Code Modify module_language_choices.h Add onClick event Event Category: “User Prefs” Action: “Change Language” Label: Language, using eLibrary SIRSI_Data tag Session Variable: LANG_DISP ');" href=" / /111/ " title=" " target="_top">
21
Event Tracking (Example 3) : Failed Searches Searches Failed Successful Metrics, a better option?
22
Event Tracking (Example 3) : Failed Searches Modify 9.pg Placed within the existing <!-- ga('send', 'event', 'Search', 'Fail', ' - …‘); //-->
23
Failed Searches During Spring Break
24
Delving Deeper! Dimensions and Metrics Increased Flexibility Advanced Custom Reporting Still Learning Be Gentle
25
Dimensions and Metrics Dimension Descriptive attribute or characteristic of an object that can be given different values. Example: Geographic location Lattitude Longitude City Name Example: Item Material Type Author Publisher Collection Example: Search Term 1 – 8 20 Free / 200 Premium
26
Dimensions and Metrics Metrics Individual elements of a dimension measured as a sum or a ratio Example: City Population Example: Searches Items Returned Example: Item Page Count 20 Free / 200 Premium
27
Creating Custom Dimensions and Metrics https://support.google.com/analytics/answer/2709829 Plan carefully No editing of old data Can be set for all activities on page Only available in Custom reports and Segments
28
Search Tracking (Example 1) : Terms Custom Dimensions: Search Term 1 Search Term 2 Search Term 3 Search Term 4 Search Term 5 Search Term 6 Search Term 7 Search Term 8 Custom Metrics: Number of Hits in Search
29
Search Tracking (Example 1) : Code var metricValue = ' '; ga('set', { 'dimension1' : ' - ', 'dimension2' : ' - ', 'dimension3' : ' - ', 'dimension4' : ' - ', 'dimension5' : ' - ', 'dimension6' : ' - ', 'dimension7' : ' - ', 'dimension8' : ' - ', 'metric1' : metricValue });
30
Search Tracking (Example 1) : Report Customization -> New Custom Report -> Add Dimension
31
Search Tracking (Example 2) : Authors Custom Dimension Author
32
Search Tracking (Example 2) : Code <!-- ga('set', 'dimension9', ' '); //--> view_item_info.h
33
Search Tracking (Example 2) : Report Authors of Viewed Items – Month of April Saul Austerlitz - Sitcom : a history in 24 episodes from I love Lucy to Community Nannette Commander - Chart your success on the COMPASS test
34
Fun Results 16 searches for “Obsessive Compulsive Disorder” in only two separate sessions. “Drinking age 18”, “Mental Institutions”, and “Prison” were among the most searched items during spring break.
35
Resources Getting Started Guide http://www.google.com/analytics/learn/setupchecklist.html Google Analytics Jerri L. Ledford, Mary E. Tyler, Joe TeixeiraJerri L. LedfordMary E. TylerJoe Teixeira ISBN-13: 9780470531280
36
Questions? Email: jwohlers@waubonsee.edujwohlers@waubonsee.edu Twitter: cap60552 Facebook: http://www.facebook.com/wohlers http://www.facebook.com/wohlers In person at the conference
37
Why type it… Contact Info
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.