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/test/plausible_web/controllers
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
..
CSVs Set exit_page only on pageviews (#3870) 3 years ago
api Timeseries for conversion rate (#3919) 3 years ago
auth_controller Remove custom domains support + update build options (#3559) 3 years ago
site Allow inviting users who are members already (#3797) 3 years ago
admin_auth_controller_test.exs Remove custom domains support + update build options (#3559) 3 years ago
admin_controller_test.exs New admin route for displaying usage (#3577) 3 years ago
auth_controller_sync_test.exs Always enable e-mail verification on full build (#3666) 3 years ago
auth_controller_test.exs Implement UI for multiple imports (#3727) 3 years ago
avatar_controller_test.exs Remove custom domains support + update build options (#3559) 3 years ago
billing_controller_test.exs Make `hello@plausible.io` clickable (#3746) 3 years ago
error_report_controller_test.exs Remove custom domains support + update build options (#3559) 3 years ago
google_analytics_controller_test.exs Unify UA and GA4 import flow into one (#3888) 3 years ago
invitation_controller_test.exs Move limit enforcement to accepting site ownership transfer (#3612) 3 years ago
page_controller_test.exs Remove custom domains support + update build options (#3559) 3 years ago
site_controller_test.exs Unify UA and GA4 import flow into one (#3888) 3 years ago
stats_controller_test.exs Move `add_percentage` logic into clickhouse (#3854) 3 years ago
unsubscribe_controller_test.exs Remove custom domains support + update build options (#3559) 3 years ago