paullangtree / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
2 stars 0 forks source link

Access to GA Real Time API #809

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
---------------------------------------------------------------------------
NOTE: This tool is not designed to request help. It is only for reporting
issues and requesting features for the Google Analytics libraries.

If you are a developer and you need help, visit:
https://developers.google.com/analytics/help/

If you are not a developer and you need help, visit:
https://support.google.com/analytics
---------------------------------------------------------------------------
Name of related component: Real Time Reporting API

Request summary:
We need access to the Google Analytics Real Time API. We've sent the form on 
October and never heard back. I don't see the API in the "enabled APIs" list on 
Google Developers Console.

Use Cases:
We need to report sessions on real time for several websites at once.

Original issue reported on code.google.com by mcarra...@glamit.com.ar on 4 Dec 2015 at 9:40

GoogleCodeExporter commented 8 years ago
If you read the form carefully it states: "* You will NOT receive any 
notification that your project has been whitelisted but it will be within 24 
hours, and probably sooner. You should attempt to make a request and see if you 
have access before submitting this form again."

The Realtime API is under the Analytics API.  You only need to enable the 
Analytics API. Depending on what client library you are using you should be 
able to make a call like this:

  service.data().realtime().get(
      ids='ga:56789',
      metrics='rt:activeUsers',
      dimensions='rt:medium').execute()

Please see the documentation: 
https://developers.google.com/analytics/devguides/reporting/realtime/v3/referenc
e/data/realtime/get#try-it

And finally please note:
NOTE: This tool is not designed to request help. It is only for reporting
issues and requesting features for the Google Analytics libraries.

If you are a developer and you need help, visit:
https://developers.google.com/analytics/help/

If you are not a developer and you need help, visit:
https://support.google.com/analytics

Original comment by mcoh...@google.com on 4 Dec 2015 at 10:37