Analytics
5.6K members online now
Understand information in your reports and troubleshoot reporting issues such as self-referrals, (not set) data, and inaccurate information
 
Guide Me
star_border
Reply

calling real time users through api

[ Edited ]
Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

HI,

 

I would like get realtime users in to my php application through google analytics api.

 

If it is possible let me know the metrics and dimensions to get results.

 

I'm looking forward to response.

 

Thanks

calling real time users through api

Explorer ✭ ✭ ✭
# 2
Explorer ✭ ✭ ✭

Hi Naresh,

 

If you want to pull real time data you'll need to the Google Analytics Real Time Reporting API, the following help centre article will tell you everything you need to know, it's a more technical approach, but i'm guessing you are fine with that Smiley Happy

 

https://developers.google.com/analytics/devguides/reporting/realtime/v3/

 

Hope that helps,

Ben