JGoogleAnalytics iconJGoogleAnalytics 0.2

JGoogleAnalytics is a Java utility for tracking usage information on Java applications through Google analytics.
JGoogleAnalytics is a lightweight, unobtrusive Java utility for tracking usage information on Java applications through Google analytics. The project can be used for gathering usage statistics on utilities, plugins(IntelliJ, Eclipse, Netbeans etc.), client-side, server-side, middleware, desktop or any Java based applications. Hence, allowing us to perform usage & trend analysis on the application of interest.


If you have a registered Google analytics account, you can write a code snippet like below to capture the usage data. FocusPoint is a logical point of focus in the application. It can be events like application/module load, user actions, error events etc.

//Google analytics tracking code for Library Finder
JGoogleAnalyticsTracker tracker = new JGoogleAnalyticsTracker("Library Finder","1.3.2","UA-2184000-1");

FocusPoint focusPoint = new FocusPoint("PluginLoad");



Google analytics does not update their reports in real time because of their high volume of subscribers. It usually gets updated every 24 hrs. If you are really curious to know if the tracking went fine, you can attach a LoggingAdapter to JGoogleAnalyticsTracker and see if you are seeing the success message.
JGoogleAnalytics would gracefully ignore errors if it is running on a standalone system (without network connectivity).


Java Runtime Environment (JRE) 1.5 or later

What's New in This Release:

Issue #1 (all visitors were identified as the same) has been fixed.

last updated on:
August 14th, 2008, 21:30 GMT
developed by:
license type:
The Apache License 2.0 
ROOT \ Internet \ HTTP (WWW)


In a hurry? Add it to your Download Basket!

user rating 12



Add your review!