How do I show visitor count on my home page using google analytics?
I want this in my Jersey web application.
Thanks.
Under IAM & ADMIN, select 'Service Account' and create Service Account.
Copy this service account id.
paste this service account id in add permission field and click Add button.
Set up the sample https://developers.google.com/analytics/devguides/reporting/core/v3/quickstart/service-java
Set the service account and path to the p12 file.
Run the Program.