analytics/test
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
2024-03-21 09:38:44 +02:00
..
e2e Integrate ingestion monitoring data into instatus (#3515) 2023-11-13 15:11:59 +01:00
load Fix script path for k6 load test (#2068) 2022-07-29 09:00:50 -03:00
plausible CSV imports (no UI) (#3895) 2024-03-19 12:06:47 +01:00
plausible_web Move conversion_rate logic from elixir to clickhouse (#3887) 2024-03-21 09:38:44 +02:00
priv Replace Geolix with Locus (#2362) 2023-01-17 12:05:09 -03:00
support Implement basics of GA4 import (#3851) 2024-03-12 18:08:25 +01:00
workers Tests: session properties without the prefixes (#3863) 2024-03-05 12:44:33 +02:00
test_helper.exs Implement UI for multiple imports (#3727) 2024-02-28 09:34:04 +01:00