Customized Application Logging and the Google Visualization API

4,111 views
4,047 views

Published on

This presentation is on two topics: 1. The concept of server-side custom logging to track fine-grained user behavior with a web application, and 2. A gentle introduction to the Google Visualization API, which is a useful tool for visualizing tracked via custom application logs. Includes screenshots of logs and charts for three university library web applications. Delivered to staff at the NCSU Libraries.

Published in: Technology, Education
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,111
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
9
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • http://code.google.com/apis/visualization/documentation/gallery/motionchart.html
  • Customized Application Logging and the Google Visualization API

    1. 1. Custom Application Logging and the Google Visualization API Tito Sierra NCSU Libraries DLI Tech Update April 27, 2010
    2. 2. 1. Custom Application Logging
    3. 3. 2. Google Visualization API
    4. 4. Custom Application Logging
    5. 5. Background Many general purpose web analytics tools exist to analyze website traffic.
    6. 6. Background Many general purpose web analytics tools exist to analyze website traffic. Examples include Urchin, Google Analytics, AWStats, Mint.
    7. 7. Background Many general purpose web analytics tools exist to analyze website traffic. Examples include Urchin, Google Analytics, AWStats, Mint. I’m not talking about these today.
    8. 8. Custom Logs Concept Capture fine-grained usage metrics to reveal deeper or more specialized insight into user behavior
    9. 9. Presentation Scope Custom application logs can also be used for tracking system related information such as exceptions and errors, but I’m not going to talk about that today
    10. 10. Motivation Custom logs can be used to focus data analysis on the few specific metrics that matter most for a given application
    11. 11. Motivation Enhanced knowledge of how people are using your web application can improve product development planning and decisions
    12. 12. Web App Usage Metrics
    13. 13. Web App Usage Metrics Server Logs • Pageviews • Visits • Referrer • IP Address • User agent • Platform • Browser
    14. 14. Web App Usage Metrics Server Logs • Pageviews • Visits • Referrer • IP Address • User agent • Platform • Browser Custom Logs • App verbs • View • Search • Create • Click • App views • Referrer categories • Source categories
    15. 15. Local Examples • QuickSearch • GroupFinder • Library Tools
    16. 16. QuickSearch Example
    17. 17. QuickSearch Example
    18. 18. QuickSearch Example
    19. 19. QuickSearch Example
    20. 20. QuickSearch Example
    21. 21. QuickSearch Example
    22. 22. QuickSearch Example
    23. 23. QuickSearch Example CAT “catalog”
    24. 24. QuickSearch Example FA “find articles”
    25. 25. QuickSearch Example BB “best bets”
    26. 26. GroupFinder Example
    27. 27. GroupFinder Example
    28. 28. GroupFinder Example
    29. 29. GroupFinder Example USER ID
    30. 30. GroupFinder Example VERB
    31. 31. GroupFinder Example ACTIVITY ID
    32. 32. GroupFinder Example SOURCE
    33. 33. GroupFinder Example
    34. 34. GroupFinder Example
    35. 35. Library Tools Example
    36. 36. Library Tools Example History
    37. 37. Library Tools Example Reserves
    38. 38. Which Metrics to Track? One size does not fit all.
    39. 39. Which Metrics to Track? One size does not fit all. Track metrics that support the analytic needs of your application and build the log around these.
    40. 40. Pros and Cons of Custom Logs Pros: • Capture new data • More control of data • Cleaner data • Easier to work with for developers or spreadsheet experts
    41. 41. Pros and Cons of Custom Logs Pros: • Capture new data • More control of data • Cleaner data • Easier to work with for developers or spreadsheet experts Cons: • Not an out of the box solution • Development costs to set up logging • Still need to process data in the logs to yield value
    42. 42. Caveat If you don’t have anyone on your team that cares about usage data analysis, is willing to spend time on it, and has an open mind about it, than don’t bother
    43. 43. Google Visualization API
    44. 44. Overview Google Visualization API is a Google hosted javascript-based API for rendering data visualizations on a webpage
    45. 45. Examples
    46. 46. Simple Example
    47. 47. src="http://www.google.com/jsapi"
    48. 48. document.getElementById('chart_div')
    49. 49. <div id="chart_div"></div>
    50. 50. data.addColumn('number', 'Age'); data.addColumn('number', 'Weight');
    51. 51. data.setValue(0, 0, 8); data.setValue(0, 1, 12);
    52. 52. More Examples
    53. 53. More Examples
    54. 54. More Examples
    55. 55. Pros and Cons of Google Viz API Pros: • Web friendly • Cross browser • No server software install required • Simple API • Lots of “out of the box” templates
    56. 56. Pros and Cons of Google Viz API Pros: • Web friendly • Cross browser • No server software install required • Simple API • Lots of “out of the box” templates Cons: • Requires programming* • Requires data to be serialized in javascript format • Not suitable for advanced visualizations
    57. 57. Caveat If you want to do data visualization, but don’t have a need to publish charts on a webpage, you are probably better off just using Microsoft Excel to do your charts
    58. 58. Caveat
    59. 59. Thank you!

    ×