You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/lib/plausible_web/controllers/api
RobertJoonas 04b9067591
Add `event:goal` property to Stats API (#3718)
* add tests for filtering by goal in timeseries and aggregate

* refactor filter parsing

* stop returning custom props in event:goal breakdown

* test breaking down wildcard pageview goals

* extract filter utils

* parse more goal filter options

* add passing tests for new filter types

* do not allow querying session metrics with a goal filter

* remove unused page_match property

* test that non-configured goals are not returned in breakdown

* enforce filtered goals configured

* update changelog

* Allow simple filtering by revenue goals

This does not mean that revenue metrics are supported. If a revenue goal
is filtered by, we treat it like a simple custom event goal in the API.

* use List.wrap
3 years ago
..
external_controller.ex derive jason encoder for request (#3182) 3 years ago
external_stats_controller.ex Add `event:goal` property to Stats API (#3718) 3 years ago
helpers.ex Block Stats API for locked sites (#2302) 4 years ago
internal_controller.ex Implement pinned sites (#3469) 3 years ago
paddle_controller.ex Move limit enforcement to accepting site ownership transfer (#3612) 3 years ago
stats_controller.ex Add `event:goal` property to Stats API (#3718) 3 years ago