I use the gapi class to access analytics data. It works great, and I have daily visits to my site. I would like to be able to visit the date range hourly, say, from January 11 to January 12 (2 days), which will return me 48 data points, one for every hour in the range. I am sure it is simple, but I cannot find how to do it anywhere. Presumably, there is some setting in the metrics parameter of the requestReportData () method, which allows this
Any help gratefully received, thanks ...
David
source share