mirror of
https://github.com/plausible/analytics.git
synced 2024-12-23 01:22: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
670 B
JSON
38 lines
670 B
JSON
{
|
|
"reports": [
|
|
{
|
|
"columnHeader": {
|
|
"dimensions": [
|
|
"ga:date"
|
|
],
|
|
"metricHeader": {
|
|
"metricHeaderEntries": [
|
|
{
|
|
"name": "ga:pageviews",
|
|
"type": "INTEGER"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"data": {
|
|
"isDataGolden": true,
|
|
"rowCount": 849,
|
|
"rows": [
|
|
{
|
|
"dimensions": [
|
|
"20170118"
|
|
],
|
|
"metrics": [
|
|
{
|
|
"values": [
|
|
"37"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"nextPageToken": "1"
|
|
}
|
|
]
|
|
} |