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
2024-03-21 13:58:00 +00:00
..
api Timeseries for conversion rate (#3919) 2024-03-21 13:58:00 +00:00
site Allow inviting users who are members already (#3797) 2024-02-19 12:12:31 +01:00
admin_controller.ex Clean up legacy trials code + displaying limits (#3620) 2023-12-13 10:47:50 +00:00
auth_controller.ex Unify UA and GA4 import flow into one (#3888) 2024-03-21 11:37:10 +01:00
avatar_controller.ex Nolt sso (along with a better nav dropdown) (#3395) 2023-10-17 12:01:27 +03:00
billing_controller.ex Lock traffic notifications (#3641) 2023-12-28 08:42:27 +01:00
error_report_controller.ex Simplify Phoenix error template (#2913) 2023-05-16 10:52:17 +02:00
google_analytics_controller.ex Unify UA and GA4 import flow into one (#3888) 2024-03-21 11:37:10 +01:00
helpers.ex Simplify Phoenix error template (#2913) 2023-05-16 10:52:17 +02:00
invitation_controller.ex Move limit enforcement to accepting site ownership transfer (#3612) 2023-12-20 14:56:49 +00:00
page_controller.ex add landing page (#2989) 2023-06-01 14:34:48 +03:00
site_controller.ex CSV exports (UI) (#3875) 2024-03-18 08:52:57 +01:00
stats_controller.ex Group os_version by os (#3806) 2024-02-22 15:58:50 +00:00
unsubscribe_controller.ex Add presence check when unsubscribing from email reports 2021-05-03 16:56:46 +03:00