mirror of
https://github.com/plausible/analytics.git
synced 2024-11-27 09:16:25 +03:00
117eef000d
* Bump deps * Bump stack * Fix deprecation warnings * Fix VCR cassettes mismatch due to OTP-18414 Co-authored-by: Adrian Gruntkowski <adrian.gruntkowski@gmail.com> * Format & fix flaky tests * Handle raw IPv4 hostnames; test public suffix TLD * Configure locus db cache_dir So that maxmind unavailability doesn't affect application startup. PERSISTENT_CACHE_DIR env var is used to point locus at the GeoIP DB file. * WIP: Remove ExVCR * Fix test env config * Fixup exvcr * Remove exvcr from deps * Add convert script * Remove exvcr cassettes * Remove convert script * Rename test * Update moduledoc * Update dockerfile * Bump CI cache * Tag more slow tests, why not? * Use charlist for locus cache option * Pin nodejs * Merge google tests, make them async --------- Co-authored-by: Adrian Gruntkowski <adrian.gruntkowski@gmail.com>
50 lines
1.0 KiB
JSON
50 lines
1.0 KiB
JSON
[
|
|
{
|
|
"status": 200,
|
|
"url": "https://www.googleapis.com/webmasters/v3/sites/sc-domain%3Adummy.test/searchAnalytics/query",
|
|
"method": "post",
|
|
"request_body": {
|
|
"dimensionFilterGroups": [
|
|
{
|
|
"filters": [
|
|
{
|
|
"dimension": "page",
|
|
"expression": "https://sc-domain%3Adummy.test5"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"dimensions": [
|
|
"query"
|
|
],
|
|
"endDate": "2022-01-05",
|
|
"rowLimit": 5,
|
|
"startDate": "2022-01-01"
|
|
},
|
|
"response_body": {
|
|
"responseAggregationType": "auto",
|
|
"rows": [
|
|
{
|
|
"clicks": 25.0,
|
|
"ctr": 0.3,
|
|
"impressions": 50.0,
|
|
"keys": [
|
|
"keyword1",
|
|
"keyword2"
|
|
],
|
|
"position": 2.0
|
|
},
|
|
{
|
|
"clicks": 15.0,
|
|
"ctr": 0.5,
|
|
"impressions": 25.0,
|
|
"keys": [
|
|
"keyword3",
|
|
"keyword4"
|
|
],
|
|
"position": 4.0
|
|
}
|
|
]
|
|
}
|
|
}
|
|
] |