Is there any way using gapi (preferable) to retrieve the real time visitors from Google Analytics?
I tried to pass a date range like:
begin: 2012-12-12 09:49:04 end: 2012-12-12 09:49:05
but it didn't work.
I did a research and couldn't find a solution yet.
Someone can help me?
Google has now launched a real time API. It is only in beta however you can sign up and should be available to everyone later.
http://analytics.blogspot.co.uk/2013/08/google-analytics-launches-real-time-api.html
Access to the real-time data is not yet available through the api. See the following:
Access to Real Time data
Scraping Real Time Visitors from Google Analytics
The only way to get it currently is to look at it in the Google Analytics web interface: https://www.google.com/analytics/web/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With