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
RobertJoonas c32779a3e5
Timeseries for conversion rate (#3919)
* add conversion rate to Stats API timeseries

* make sure CR can be queried as the only metric

* add a test asserting zeros are returned

* add tests for filtering by other properties at the same time

* Remove unnecessary validation of params

1. It doesn't make to validate `interval` (and its granularity) in all
   endpoints. It's only relevant for the main graph.

2. The plug (renamed to `date_validation_plug`) already makes sure that
   the dates are validated. No need to call the same function again in
   Top Stats and Funnel endpoints.

* add metric validation to main graph

* Add tests for main graph API

* put conversion rate on the graph

* update changelog

* Add revenue metrics into metrics.ex

* make fn private

* avoid setting graph metric to visitors in goal-filtered view
3 years ago
..
mix/tasks Move Mix.Task.DumpPlans to Plausible.Release (#3544) 3 years ago
plausible Timeseries for conversion rate (#3919) 3 years ago
plausible_web Timeseries for conversion rate (#3919) 3 years ago
workers Include domain and dates in zip archive filename (#3921) 3 years ago
oban_error_reporter.ex safe(r) Oban telemetry (#3743) 3 years ago
plausible.ex Remove custom domains support + update build options (#3559) 3 years ago
plausible_release.ex Remove custom domains support + update build options (#3559) 3 years ago
plausible_web.ex Merge `Plugins.API.Router` into main one (#3767) 3 years ago
sentry_filter.ex Update Sentry (#3843) 3 years ago