analytics/lib/plausible_web/controllers/api
Vini Brasil 2c4cea6dce
Add revenue metrics in StatsController instead of Stats.Breakdown (#3028)
This commit makes total_revenue and average_revenue first-class metrics
instead of adding them magically in `Plausible.Stats.Breakdown`. To
keep the same behavior, revenue metrics are added in StatsController.

Related: https://github.com/plausible/analytics/pull/2957#pullrequestreview-1475017620
2023-06-14 09:32:08 +01:00
..
external_controller.ex improve transfer ownership error message (#2651) 2023-02-13 15:25:17 +01:00
external_sites_controller.ex Clean up after V2 migration (#2868) 2023-04-24 12:17:57 +02:00
external_stats_controller.ex Enable sampling in the Stats API (#2985) 2023-06-01 15:35:08 +02:00
helpers.ex Block Stats API for locked sites (#2302) 2022-10-04 15:34:45 +03:00
internal_controller.ex Bugfix for #3005 (#3025) 2023-06-13 12:26:33 +02:00
paddle_controller.ex Wrap paddle actions with DB transactions (#2558) 2023-01-03 16:14:50 +01:00
stats_controller.ex Add revenue metrics in StatsController instead of Stats.Breakdown (#3028) 2023-06-14 09:32:08 +01:00