Invoke the Google Analytics Measurement Protocol API from your Java applications!​

Not all web applications are rendered in a browser

If your business utilizes Google Analytics for a web application and the Google Analytics coverage contains blind spots, for example due to web services invocations which are not rendered in a browser, then consider using the open-source Coherent Data Adapter: Google Analytics Measurement Protocol API Client to send event information from any Java application or middleware to Google Analytics.

 

Google Analytics Measurement Protocol API Client on Bitbucket

The open-source Google Analytics Measurement Protocol Java Framework is available on Bitbucket and also requires the open-source Coherent Logic Enterprise Data Adapter.

Google Analytics Measurement Protocol Example Builder Usage

				
					queryBuilder
  .withV1()
  .withTid(googleAnalyticsUAID) 
  .withCIDAsRandomUUID() 
  .withTAsEvent()
  .withEc("Event category")
  .withAn("Application name")
  .withEa("Event action") 
  .withAv("Application version")
  .withEl("Event label")
  .doPost();
				
			

Google Analytics Measurement Protocol API Client References