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/stats
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
..
filters Reapply conversion rate into Stats API + bugfixes (#3805) 3 years ago
aggregate.ex Re-apply Move conversion_rate logic from elixir to clickhouse (#3924) 3 years ago
base.ex Re-apply Move conversion_rate logic from elixir to clickhouse (#3924) 3 years ago
breakdown.ex Fix issue with name clash (#3925) 3 years ago
clickhouse.ex Implement UI for multiple imports (#3727) 3 years ago
compare.ex Fix division by zero in imported queries (#3890) 3 years ago
comparisons.ex Generalize Cache/Warmers - extract only specifics to `Site.Cache` (#3716) 3 years ago
current_visitors.ex Clean up after V2 migration (#2868) 4 years ago
custom_props.ex Add `event:goal` property to Stats API (#3718) 3 years ago
email_report.ex Small bugfix + refactor email reports (#3642) 3 years ago
filter_suggestions.ex Filtering by multiple custom properties (#3719) 3 years ago
fragments.ex Remove ARRAY JOINs (#3708) 3 years ago
imported.ex Fix division by zero in imported queries (#3890) 3 years ago
interval.ex Add multiple imports per site (#3724) 3 years ago
metrics.ex Timeseries for conversion rate (#3919) 3 years ago
props.ex Add `event:goal` property to Stats API (#3718) 3 years ago
query.ex Experimental session count (#3786) 3 years ago
timeseries.ex Timeseries for conversion rate (#3919) 3 years ago
util.ex Re-apply Move conversion_rate logic from elixir to clickhouse (#3924) 3 years ago