plausible / analytics

Simple, open source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics.
https://plausible.io
GNU Affero General Public License v3.0
18.98k stars 1.02k forks source link

Use max `pageSize` when fetching data for import from UA #4260

Closed zoldar closed 1 week ago

zoldar commented 1 week ago

Changes

This PR bumps pageSize to the maximum of 100k entries when fetching data for import from Universal Analytics (per https://developers.google.com/analytics/devguides/reporting/core/v4/rest/v4/reports/batchGet#ReportRequest). This will make processing larger imports faster and reduce risk of running over hourly requests limit of google API.