googleAnalytics 0.5.0
Breaking changes!
If you were using google_analytics()
before to fetch the v3 API, this is now available via google_analytics_3()
- replace all instances and it should work as before. Fetching the v4 API is now done via google_analytics()
(and for a while, also at google_analytics_4()
but with a deprecation warning)
Major changes
- Add support for resource based quotas if you are on GA360 (#127)
- Improve support for using different auth cache files with
ga_auth()
- Export of functions for use with
ganalytics
segment syntax - Changed
google_analytics
to be the v4 API, addgoogle_analytics_3
that now supports v3 - Change default cache token name from
.httr-oauth
toga.oauth
to avoid clashes with other API libraries - You can now change the rows fetched per API page in v4 up to 100k (default 10k)
- Add unsampled report downloads (#44 - many thanks to @j450h1 for this work on this)
- Add management of View and account filters (#108 - many thanks to @zselinger for the work on this)
- If a
google_analytics()
batch API call fails, it will automatically retry with a slower request rate - v4 API requests will report how long it took to help with configurations