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
Karl-Aksel Puulmann 1909743b90
Move conversion_rate logic from elixir to clickhouse (#3887)
* Separate out query building from pagination/execution logic.

* Refactor pageview_goals breakdown query, removing index column from results

* Remove zip_columns logic

* Use common pagination util

* Do everything in a single query for breakdowns for goals

* Order in DB

* Make sure column order is identical

* Calculate CR within the goal breakdown query

* Calculate CR for property breakdowns

* WIP: Calculate group CR

* CR with order_by

* Compatibility fix

* Import Ecto.Query and cleanup

* handle total_visitors the same way as add_percentage

* Handle conversion_rate in aggregate.ex

* Solve rebase fail

* Simplify maybe_add_group_conversion_rate

* Add conversion_rate defaults to 0 test

* Add test for conversion_rate should not be calculated with imported data (failing here and on master)

* Dont include imported data when breakdown by prop or goal

* Remove revenue_nils
3 years ago
..
CSVs Set exit_page only on pageviews (#3870) 3 years ago
api Move conversion_rate logic from elixir to clickhouse (#3887) 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
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 Implement UI for multiple imports (#3727) 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