mirror of
https://github.com/plausible/analytics.git
synced 2024-11-23 11:12:15 +03:00
5bf59d1d8a
* Implement adjusting imported date range to actual and existing stats * Drop redundant prefix from import list entries * Make pageview numbers in imports list formatted for readability * Test and improve date range cropping * DRY UA and GA4 stats start and end date API calls * Extend UA/GA import controller tests and improve error handling * refactor finding longest open range without existing data * Fix typo in test description Co-authored-by: RobertJoonas <56999674+RobertJoonas@users.noreply.github.com> * Rename `open_ranges` to `free_ranges` --------- Co-authored-by: Robert Joonas <robertjoonas16@gmail.com> Co-authored-by: RobertJoonas <56999674+RobertJoonas@users.noreply.github.com>
38 lines
687 B
JSON
38 lines
687 B
JSON
{
|
|
"kind": "analyticsData#batchRunReports",
|
|
"reports": [
|
|
{
|
|
"dimensionHeaders": [
|
|
{
|
|
"name": "date"
|
|
}
|
|
],
|
|
"kind": "analyticsData#runReport",
|
|
"metadata": {
|
|
"currencyCode": "USD",
|
|
"timeZone": "Europe/Warsaw"
|
|
},
|
|
"metricHeaders": [
|
|
{
|
|
"name": "screenPageViews",
|
|
"type": "TYPE_INTEGER"
|
|
}
|
|
],
|
|
"rowCount": 3,
|
|
"rows": [
|
|
{
|
|
"dimensionValues": [
|
|
{
|
|
"value": "20240302"
|
|
}
|
|
],
|
|
"metricValues": [
|
|
{
|
|
"value": "13"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |