mirror of
https://github.com/plausible/analytics.git
synced 2024-11-29 14:04:12 +03:00
4d7d88cfec
* Implement LV date input using flatpickr * Implement basics of GA4 import (very dirty WIP) * Split Google HTTP API into UA and GA4 specific parts * Add a quick way to record GA4 API responses * Add first GA4 import fixtures with GA4 Data API responses * Extract GA4 and UA specific logic form Google API * Extract UA and GA4 specific actions to distinct controllers * Add integration test for GA4 importer * Update GA4 fixtures * Test GA4 API * Add debug logging and fix paginating through API results in in GA4 import * Revert "Implement LV date input using flatpickr" This reverts commit c696f8ee39d5702f27015c09a4f079ca124cc7bb. * Fix note
167 lines
3.1 KiB
JSON
167 lines
3.1 KiB
JSON
{
|
|
"kind": "analyticsData#batchRunReports",
|
|
"reports": [
|
|
{
|
|
"dimensionHeaders": [
|
|
{
|
|
"name": "date"
|
|
},
|
|
{
|
|
"name": "countryId"
|
|
},
|
|
{
|
|
"name": "region"
|
|
},
|
|
{
|
|
"name": "city"
|
|
}
|
|
],
|
|
"kind": "analyticsData#runReport",
|
|
"metadata": {
|
|
"currencyCode": "USD",
|
|
"timeZone": "Europe/Warsaw"
|
|
},
|
|
"metricHeaders": [
|
|
{
|
|
"name": "totalUsers",
|
|
"type": "TYPE_INTEGER"
|
|
},
|
|
{
|
|
"name": "sessions",
|
|
"type": "TYPE_INTEGER"
|
|
},
|
|
{
|
|
"name": "bounces",
|
|
"type": "TYPE_INTEGER"
|
|
},
|
|
{
|
|
"name": "userEngagementDuration",
|
|
"type": "TYPE_SECONDS"
|
|
}
|
|
],
|
|
"rowCount": 4,
|
|
"rows": [
|
|
{
|
|
"dimensionValues": [
|
|
{
|
|
"value": "20240226"
|
|
},
|
|
{
|
|
"value": "PL"
|
|
},
|
|
{
|
|
"value": "Masovian Voivodeship"
|
|
},
|
|
{
|
|
"value": "Warsaw"
|
|
}
|
|
],
|
|
"metricValues": [
|
|
{
|
|
"value": "1"
|
|
},
|
|
{
|
|
"value": "1"
|
|
},
|
|
{
|
|
"value": "1"
|
|
},
|
|
{
|
|
"value": "0"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"dimensionValues": [
|
|
{
|
|
"value": "20240224"
|
|
},
|
|
{
|
|
"value": "US"
|
|
},
|
|
{
|
|
"value": "California"
|
|
},
|
|
{
|
|
"value": "(not set)"
|
|
}
|
|
],
|
|
"metricValues": [
|
|
{
|
|
"value": "2"
|
|
},
|
|
{
|
|
"value": "2"
|
|
},
|
|
{
|
|
"value": "2"
|
|
},
|
|
{
|
|
"value": "0"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"dimensionValues": [
|
|
{
|
|
"value": "20240222"
|
|
},
|
|
{
|
|
"value": "PL"
|
|
},
|
|
{
|
|
"value": "Pomeranian Voivodeship"
|
|
},
|
|
{
|
|
"value": "Gdansk"
|
|
}
|
|
],
|
|
"metricValues": [
|
|
{
|
|
"value": "2"
|
|
},
|
|
{
|
|
"value": "3"
|
|
},
|
|
{
|
|
"value": "0"
|
|
},
|
|
{
|
|
"value": "25"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"dimensionValues": [
|
|
{
|
|
"value": "20240222"
|
|
},
|
|
{
|
|
"value": "ES"
|
|
},
|
|
{
|
|
"value": "Catalonia"
|
|
},
|
|
{
|
|
"value": "Barcelona"
|
|
}
|
|
],
|
|
"metricValues": [
|
|
{
|
|
"value": "1"
|
|
},
|
|
{
|
|
"value": "1"
|
|
},
|
|
{
|
|
"value": "0"
|
|
},
|
|
{
|
|
"value": "4"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |