mirror of
https://github.com/plausible/analytics.git
synced 2024-12-28 12:01:39 +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
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": "20240222"
|
|
}
|
|
],
|
|
"metricValues": [
|
|
{
|
|
"value": "13"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |