-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workaround bug in matomo: showColumns=bounce_rate does not work with …
…API.get (#80) * workaround bug in matomo: showColumns=bounce_rate does not work with API.get * do not use showColumns for every Module.get API method, just to be sure no other core bugs surface * add new test for querying a single metric from a ***.get method * add new expected test file
- Loading branch information
Showing
3 changed files
with
45 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
tests/appscript/expected/data_API.get_singleProcessedMetric.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"filtersApplied": false, | ||
"rows": [ | ||
{ | ||
"values": [ | ||
"0.73" | ||
] | ||
} | ||
], | ||
"schema": [ | ||
{ | ||
"dataType": "NUMBER", | ||
"label": "Bounce Rate", | ||
"name": "bounce_rate", | ||
"semantics": { | ||
"conceptType": "METRIC", | ||
"isReaggregatable": false, | ||
"semanticType": "PERCENT" | ||
} | ||
} | ||
] | ||
} |