mirror of
https://github.com/plausible/analytics.git
synced 2024-12-26 02:55:02 +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
232 lines
4.4 KiB
JSON
232 lines
4.4 KiB
JSON
{
|
|
"kind": "analyticsData#batchRunReports",
|
|
"reports": [
|
|
{
|
|
"dimensionHeaders": [
|
|
{
|
|
"name": "date"
|
|
},
|
|
{
|
|
"name": "hostName"
|
|
},
|
|
{
|
|
"name": "pagePath"
|
|
}
|
|
],
|
|
"kind": "analyticsData#runReport",
|
|
"metadata": {
|
|
"currencyCode": "USD",
|
|
"timeZone": "Europe/Warsaw"
|
|
},
|
|
"metricHeaders": [
|
|
{
|
|
"name": "totalUsers",
|
|
"type": "TYPE_INTEGER"
|
|
},
|
|
{
|
|
"name": "screenPageViews",
|
|
"type": "TYPE_INTEGER"
|
|
},
|
|
{
|
|
"name": "userEngagementDuration",
|
|
"type": "TYPE_SECONDS"
|
|
}
|
|
],
|
|
"rowCount": 8,
|
|
"rows": [
|
|
{
|
|
"dimensionValues": [
|
|
{
|
|
"value": "20240226"
|
|
},
|
|
{
|
|
"value": "drawer.todo.computer"
|
|
},
|
|
{
|
|
"value": "/blog/firstpost/"
|
|
}
|
|
],
|
|
"metricValues": [
|
|
{
|
|
"value": "1"
|
|
},
|
|
{
|
|
"value": "1"
|
|
},
|
|
{
|
|
"value": "0"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"dimensionValues": [
|
|
{
|
|
"value": "20240224"
|
|
},
|
|
{
|
|
"value": "drawer-4l3.pages.dev"
|
|
},
|
|
{
|
|
"value": "/"
|
|
}
|
|
],
|
|
"metricValues": [
|
|
{
|
|
"value": "1"
|
|
},
|
|
{
|
|
"value": "1"
|
|
},
|
|
{
|
|
"value": "0"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"dimensionValues": [
|
|
{
|
|
"value": "20240224"
|
|
},
|
|
{
|
|
"value": "drawer.todo.computer"
|
|
},
|
|
{
|
|
"value": "/"
|
|
}
|
|
],
|
|
"metricValues": [
|
|
{
|
|
"value": "1"
|
|
},
|
|
{
|
|
"value": "1"
|
|
},
|
|
{
|
|
"value": "0"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"dimensionValues": [
|
|
{
|
|
"value": "20240222"
|
|
},
|
|
{
|
|
"value": "drawer.todo.computer"
|
|
},
|
|
{
|
|
"value": "/"
|
|
}
|
|
],
|
|
"metricValues": [
|
|
{
|
|
"value": "2"
|
|
},
|
|
{
|
|
"value": "3"
|
|
},
|
|
{
|
|
"value": "7"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"dimensionValues": [
|
|
{
|
|
"value": "20240222"
|
|
},
|
|
{
|
|
"value": "drawer.todo.computer"
|
|
},
|
|
{
|
|
"value": "/blog/unicode-in-elixir/"
|
|
}
|
|
],
|
|
"metricValues": [
|
|
{
|
|
"value": "2"
|
|
},
|
|
{
|
|
"value": "7"
|
|
},
|
|
{
|
|
"value": "21"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"dimensionValues": [
|
|
{
|
|
"value": "20240222"
|
|
},
|
|
{
|
|
"value": "drawer.todo.computer"
|
|
},
|
|
{
|
|
"value": "/about/"
|
|
}
|
|
],
|
|
"metricValues": [
|
|
{
|
|
"value": "1"
|
|
},
|
|
{
|
|
"value": "1"
|
|
},
|
|
{
|
|
"value": "0"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"dimensionValues": [
|
|
{
|
|
"value": "20240222"
|
|
},
|
|
{
|
|
"value": "drawer.todo.computer"
|
|
},
|
|
{
|
|
"value": "/blog/"
|
|
}
|
|
],
|
|
"metricValues": [
|
|
{
|
|
"value": "1"
|
|
},
|
|
{
|
|
"value": "1"
|
|
},
|
|
{
|
|
"value": "1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"dimensionValues": [
|
|
{
|
|
"value": "20240222"
|
|
},
|
|
{
|
|
"value": "drawer.todo.computer"
|
|
},
|
|
{
|
|
"value": "/blog/firstpost/"
|
|
}
|
|
],
|
|
"metricValues": [
|
|
{
|
|
"value": "1"
|
|
},
|
|
{
|
|
"value": "1"
|
|
},
|
|
{
|
|
"value": "0"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |