Skip to content

tapstream/ga4j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GA4J - Google Analytics for Java

Build Status

This is an implementation of the Google Analytics page tracking API for Java. It's draws heavily from kra3's py-ga-mob.

Basic Usage

try (GAClient client = new GAClient()){
    client.trackPageView(
        new Tracker( "UA-12345678-1", "www.example.com"), 
        new Page("/example"), 
        new Session(), 
        new Visitor());
}

See com.tapstream.ga4j.TestClient.testPageViewParameters() for an example of more advanced usage.

About

Google Analytics Page Tracking for Java

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages