mirror of
https://github.com/plausible/analytics.git
synced 2024-12-27 19:47:26 +03:00
d6e81670e4
* Unify GA4 and UA import flow into one * Clean up property and view data retrieval via Google HTTP APIs * Turn `Map.get` into `Map.fetch!` in API response processing code * Bump list account summaries page size limit to max of 200 * Show only views in legacy flow and fix legacy redirect after import start * Move google analytics import actions tests to a separate module * Extend Google Analytics controller tests * DRY up `property?` predicate (h/t @RobertJoonas)
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": [
|
|
"20120118"
|
|
],
|
|
"metrics": [
|
|
{
|
|
"values": [
|
|
"37"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"nextPageToken": "1"
|
|
}
|
|
]
|
|
} |