Java Tracker v0.11
The Snowplow Java Tracker lets you add analytics to your Java-based desktop and server apps, servlets and games.
The Tracker should be relatively straightforward to setup if you are familiar with Java development.
See here for the documentation for the latest version.
📄️ Setup
See here for the documentation for the latest version.
📄️ Initialization
Assuming you have completed the Java Tracker Setup for your project, you are now ready to initialize the Java Tracker.
📄️ Tracking specific events
Events supported by the Java Tracker at a glance:
📄️ Adding extra data: the Subject class
You may have additional information about your application's environment, current user and so on, which you want to send to Snowplow with each event.
📄️ Emitter
Events are sent using an Emitter class. You can initialize a class using a variety of builder functions.
📄️ Payload and logging
A Payload interface is used for implementing a TrackerPayload and SelfDescribingJson, but accordingly, can be used to implement your own Payload class if you choose.