analytics/lib
Karl-Aksel Puulmann 141eea88ff
APIv2: Revenue metrics (#4659)
* WIP: Start refactoring revenue metrics

* Hacks to make things work

* Remove old revenue code, remove revenue metrics if needed

* Update query_optimizer docs

* Minor fixes

* Add tests around average/total revenue when non-revenue goal filtering going on

* Optimize, calculate filters as expected (OR-ing clauses)

* Revenue: Handle cases where revenue metrics should not be returned or nil

* Expose revenue metrics in internal schema, add tests

* Docstring

* Remove TODO

* Typegen

* Solve warnings

* Remove nesting

* ce_test fix

* Tag tests as ee_only

* Fix: When filtering by revenue goal and no conversions, return 0.0 instead of nil

* More straight-forward preloading logic
2024-10-09 10:18:48 +00:00
..
mix/tasks Map lowercase tagged sources to capitalized form during ingestion (#4417) 2024-08-27 14:03:15 +03:00
plausible APIv2: Revenue metrics (#4659) 2024-10-09 10:18:48 +00:00
plausible_web APIv2: Comparisons for breakdowns, timeseries, time_on_page (#4647) 2024-10-08 10:13:04 +00:00
workers Improve CheckUsage query perf (#4650) 2024-10-02 15:02:35 +00:00
oban_error_reporter.ex Log Oban errors (and still report them to Sentry) (#4657) 2024-10-08 10:26:35 +00:00
plausible_release.ex Don't attempt to create a database if it already exists (#4498) 2024-09-09 11:55:39 +02:00
plausible_web.ex Account settings w sidebar (#4654) 2024-10-08 08:30:01 +00:00
plausible.ex Make Plausible.ce? and Plausible.ee? into functions (#4158) 2024-05-29 14:55:25 +02:00
sentry_filter.ex Update Sentry (#3843) 2024-03-18 10:10:20 +01:00