Using Google Analytics API to Improve Access to Use Data
in LibGuides
Tabatha FarneyUniversity of Colorado
Colorado Springs
@sharebrarian
Slides at: http://www.slideshare.net/unisus21/ala2014-lib-guidesdashboard
How is my guide being used?
How do people find my guide?
How can I determine what content I can delete from my guide?
LibGuides v1 Stats
Stats in LibGuides
The dashboard combines:
Universal Analytics (using Google Tag Manager)
Google Analytics API
LibGuides API (v1)
A little jQuery & PHP
How does it work?
The building processStep 1: Talk with the LibGuide creators to understand their data needs.
Step 2: Ensure Google Tag Manager and Universal Analytics tracking code is working.
Step 3: Configure the Google Analytics API.
This requires:• Developer’s Console Account
• Configuring a “service account” for the project in the Console
• Downloading and customizing the PHP Google API package on your web server
Step 4: Grab a list of the current, published guides using the LibGuides API. Step 5:
Add jQuery for the search form functionality. Step 6:
Beta testing!
Depends on the functionality in LibGuides v2….
Charts/graphs for better data visualization
Improved export functionality
Future Dev
Great example“Google Analytics API and Service Accounts,” blog.Salteh.net, Oct. 8, 2012. http://blog.salteh.net/2012/10/google-analytics-api-and-service-accounts/
Resources and Documentation• Google API Documentation, https://developers.google.com/api-client-library/php
/
• Google Developer’s Console, https://developers.google.com/console/help/new/
• Google Tag Manager, http://www.google.com/tagmanager/
• PHP Google API code, GitHub, https://github.com/google/google-api-php-client
• Universal Analytics, https://support.google.com/analytics/answer/2790010?hl=en
Some resources
Using Google Analytics API to Improve Access to Use Data
in LibGuides
Tabatha FarneyUniversity of Colorado
Colorado Springs
@sharebrarian
Slides at: http://www.slideshare.net/unisus21/ala2014-lib-guidesdashboard