analytics/fixture/ga4_report_imported_devices.json
Adrian Gruntkowski 4d7d88cfec
Implement basics of GA4 import (#3851)
* 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
2024-03-12 18:08:25 +01:00

137 lines
2.5 KiB
JSON

{
"kind": "analyticsData#batchRunReports",
"reports": [
{
"dimensionHeaders": [
{
"name": "date"
},
{
"name": "deviceCategory"
}
],
"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": "mobile"
}
],
"metricValues": [
{
"value": "1"
},
{
"value": "1"
},
{
"value": "1"
},
{
"value": "0"
}
]
},
{
"dimensionValues": [
{
"value": "20240224"
},
{
"value": "desktop"
}
],
"metricValues": [
{
"value": "2"
},
{
"value": "2"
},
{
"value": "2"
},
{
"value": "0"
}
]
},
{
"dimensionValues": [
{
"value": "20240222"
},
{
"value": "desktop"
}
],
"metricValues": [
{
"value": "2"
},
{
"value": "3"
},
{
"value": "0"
},
{
"value": "25"
}
]
},
{
"dimensionValues": [
{
"value": "20240222"
},
{
"value": "mobile"
}
],
"metricValues": [
{
"value": "1"
},
{
"value": "1"
},
{
"value": "0"
},
{
"value": "4"
}
]
}
]
}
]
}