JGoogleAnalyticsTracker Publisher's description
JGoogleAnalyticsTracker is a very lightweight Java library (it only contains 6 classes)
JGoogleAnalyticsTracker is a very lightweight Java library (it only contains 6 classes) for tracking your Java application with Google Analytics. It was made so I could use GoogleвЂ™s fantastic analytics software on java gui applications, as Google never made a java implementation for sending tracking data.
Currently the library supports page view tracking (which can have a referrer from a page or a search engine) and event tracking. See the usage section for a basic setup (ItвЂ™s very simple). JGoogleAnalyticsTracker will also gracefully ignore requests when there is no internet connection, and logs errors with SLF4J.
The tracker can be enabled/disabled by calling setEnabled(boolean).
The cookie data can be reset by calling resetSession().
Logging with SLF4J
The tracker can dispatch requests in three different modes:
Synchronous mode, where each tracking call waits till the http request finishes before returning
Multi-thread mode, where each call spawns a new thread to make the http request
Single-thread mode, where each call is added to a queue and a single background thread then makes the http requests from the queue. This mode is default.
Deployed in Maven
System Requirements:В· Java
Program Release Status: New Release
Program Install Support: Install and Uninstall