Reputation: 3725
I'm going to be to using the Google Analytics API/Real Time API.
The problem with the Google Analytics API is that it's usually delayed by two-three hours. Thus, I can't get metrics for the last XX minutes.
The problem with the Real Time API is that it only displays "active" users, and so if relying on it solely I'd missing some data.
What I want to build is a dashboard of sorts that shows the most occurring events over a timespan of 30, 60, 90, 120 minutes. How can I achieve that?
Upvotes: 0
Views: 1587
Reputation: 32760
Store the data from the realtime API into a database every few minutes and write a query that sums up the results for the last 30,60,90 etc minutes (that might also avoid running into API quota limits). If you're a 360 Suite customer you could do a streaming export to Bigquery (which basically amounts to the same thing).
Apart from that workaround there really isn't anything in GA to fill the gap between realtime and standard reports.
Upvotes: 1