Skip to content
This repository was archived by the owner on Apr 25, 2022. It is now read-only.

GoogleCloudPlatform/appengine-googleanalytics-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

status: inactive

This project is no longer actively developed or maintained.

For new work on this check out this repository.

appengine-googleanalytics-java

Integrating App Engine with Google Analytics

Project setup, installation, and configuration

  • Register for Google Analytics, create an application, and get a tracking id.
  • Use that tracking id when you are Instantiating a GoogleAnalyticsTracking object.

Requires Apache Maven 3.0 or greater, and JDK 7+ in order to run.

To build the library, run

mvn package

This will create tracking-1.0-SNAPSHOT.jar in the target directory.

Building will run the tests, but to explicitly run tests you can use the test target

mvn test

Running the demo

  • Modify the tracking.jsp to use your own tracking id if you wish to test tracking events to your own account.

To build the demo, run

mvn package

To start the app, use the App Engine Maven Plugin that is already included in this demo. Just run the command.

mvn appengine:devserver

For further information, consult the Java App Engine documentation.

To see all the available goals for the App Engine plugin, run

mvn help:describe -Dplugin=appengine

Contributing changes

Licensing

About

Integrating App Engine with Google Analytics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages