analytics/test/plausible_web
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
2024-03-21 13:58:00 +00:00
..
components/billing Make hello@plausible.io clickable (#3746) 2024-02-01 09:43:21 +01:00
controllers Timeseries for conversion rate (#3919) 2024-03-21 13:58:00 +00:00
live Update Sentry (#3843) 2024-03-18 10:10:20 +01:00
plugins/api Plugins API: mark data_domain as nullable in capabilities schema (#3840) 2024-02-28 10:26:01 +01:00
plugs Add GET /capabilities to Plugins API (#3808) 2024-02-21 12:41:56 +01:00
views Upgrade Erlang/Elixir stack (#3454) 2023-10-24 10:33:48 +02:00
captcha_test.exs Google APIs integration improvements (#2358) 2022-10-24 09:34:02 +02:00
email_test.exs Improve approaching accept_traffic_until e-mail (#3660) 2024-01-02 13:18:51 +01:00