I found AdminReports.CustomerUsageReports.get(date) function can return usage reports such as gmail, Drive and G+. Is there an API can also retrieve Sites usage?
Asked
Active
Viewed 64 times
1 Answers
0
It's not in the admin sdk. First, to collect Sites usage, setup Google Analytics https://support.google.com/sites/answer/97459?hl=en on your site(s). Then use Google Analytics via the UI or API https://developers.google.com/analytics/ or Apps Script https://developers.google.com/apps-script/advanced/analytics to retrieve the usage data.

Peter
- 5,501
- 2
- 26
- 42
-
I'd looked at Google Analytics before asking this question. Neither web UI or API does Site quota(usage) report. – user3735900 Jul 24 '14 at 06:13
-
Like any website, Analytics for sites gives you things like sessions, page views, searches. I don't think you can get the sites disk usage quotas or number of programmatically created pages quotas anywhere. Which quota are you specifically interested in? – Peter Jul 28 '14 at 00:06