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
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
..
mix/tasks Move Mix.Task.DumpPlans to Plausible.Release (#3544) 3 years ago
plausible Move conversion_rate logic from elixir to clickhouse (#3887) 3 years ago
plausible_web make robots.txt restrictive by default (#3905) 3 years ago
workers CSV imports (no UI) (#3895) 3 years ago
oban_error_reporter.ex safe(r) Oban telemetry (#3743) 3 years ago
plausible.ex Remove custom domains support + update build options (#3559) 3 years ago
plausible_release.ex Remove custom domains support + update build options (#3559) 3 years ago
plausible_web.ex Merge `Plugins.API.Router` into main one (#3767) 3 years ago
sentry_filter.ex Update Sentry (#3843) 3 years ago