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
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
..
api Timeseries for conversion rate (#3919) 3 years ago
site Allow inviting users who are members already (#3797) 3 years ago
admin_controller.ex Clean up legacy trials code + displaying limits (#3620) 3 years ago
auth_controller.ex Unify UA and GA4 import flow into one (#3888) 3 years ago
avatar_controller.ex Nolt sso (along with a better nav dropdown) (#3395) 3 years ago
billing_controller.ex Lock traffic notifications (#3641) 3 years ago
error_report_controller.ex Simplify Phoenix error template (#2913) 4 years ago
google_analytics_controller.ex Unify UA and GA4 import flow into one (#3888) 3 years ago
helpers.ex Simplify Phoenix error template (#2913) 4 years ago
invitation_controller.ex Move limit enforcement to accepting site ownership transfer (#3612) 3 years ago
page_controller.ex add landing page (#2989) 4 years ago
site_controller.ex CSV exports (UI) (#3875) 3 years ago
stats_controller.ex Group `os_version` by `os` (#3806) 3 years ago
unsubscribe_controller.ex Add presence check when unsubscribing from email reports 6 years ago