![Page 1: Improving LibGuides Editors Access to Use Data Using the Google Analytics API](https://reader036.vdocuments.mx/reader036/viewer/2022082920/554bc136b4c90530298b511f/html5/thumbnails/1.jpg)
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
![Page 2: Improving LibGuides Editors Access to Use Data Using the Google Analytics API](https://reader036.vdocuments.mx/reader036/viewer/2022082920/554bc136b4c90530298b511f/html5/thumbnails/2.jpg)
How is my guide being used?
How do people find my guide?
How can I determine what content I can delete from my guide?
![Page 3: Improving LibGuides Editors Access to Use Data Using the Google Analytics API](https://reader036.vdocuments.mx/reader036/viewer/2022082920/554bc136b4c90530298b511f/html5/thumbnails/3.jpg)
LibGuides v1 Stats
Stats in LibGuides
![Page 4: Improving LibGuides Editors Access to Use Data Using the Google Analytics API](https://reader036.vdocuments.mx/reader036/viewer/2022082920/554bc136b4c90530298b511f/html5/thumbnails/4.jpg)
![Page 5: Improving LibGuides Editors Access to Use Data Using the Google Analytics API](https://reader036.vdocuments.mx/reader036/viewer/2022082920/554bc136b4c90530298b511f/html5/thumbnails/5.jpg)
The dashboard combines:
Universal Analytics (using Google Tag Manager)
Google Analytics API
LibGuides API (v1)
A little jQuery & PHP
How does it work?
![Page 6: Improving LibGuides Editors Access to Use Data Using the Google Analytics API](https://reader036.vdocuments.mx/reader036/viewer/2022082920/554bc136b4c90530298b511f/html5/thumbnails/6.jpg)
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!
![Page 7: Improving LibGuides Editors Access to Use Data Using the Google Analytics API](https://reader036.vdocuments.mx/reader036/viewer/2022082920/554bc136b4c90530298b511f/html5/thumbnails/7.jpg)
Depends on the functionality in LibGuides v2….
Charts/graphs for better data visualization
Improved export functionality
Future Dev
![Page 8: Improving LibGuides Editors Access to Use Data Using the Google Analytics API](https://reader036.vdocuments.mx/reader036/viewer/2022082920/554bc136b4c90530298b511f/html5/thumbnails/8.jpg)
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
![Page 9: Improving LibGuides Editors Access to Use Data Using the Google Analytics API](https://reader036.vdocuments.mx/reader036/viewer/2022082920/554bc136b4c90530298b511f/html5/thumbnails/9.jpg)
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