analytics/lib
Karl-Aksel Puulmann 58a66a952c
APIv2 - initial PR (#4216)
* WIP new querying

* WIP: Move some aggregate code under new command

* WIP: Add joins, handling less metrics

* join events table to sessions if needed

* Merge imported results with built query

* Remove dead code

* WIP: /api/v2/query

* Allow grouping by time

* Use JOIN for main query

* Build query result

* update parse_time

* Make joinless order by work

* First test

* more breakdown tests

* Serialize event:goal filters in an json-encodable way/reflection

* Handle inner vs outer ORDER BY clauses properly

* Handle single conversion_rate metric

* Update more tests

* Get parsing tests passing again

* Validate filtered goal filter is configured

* Enable more validation tests

* Enable more event:name breakdown tests

* Enable more breakdown tests

* Validate site has access to custom props

* Validate conversion_rate metric which is only allowed in some situations

* Validate that empty event:props: is not valid

* handle query.dimensions properly in table_decider

* test more validations on metrics/dimensions

* Validate session metrics in combination with event dimension(s)

* Tests cleanup

* Parse include.imports

* Get imports working with new querying

* Make more imports tests work

* Make event:props:path imports-adjacent test work

* Get query imports warning-related tests running

* Remove dead pagination tests

* Solve dead import

* Solve some warnings

* Update aggregate metrics tests

* credo

* Improve test naming

* Lazy goal loading

* Use datetime methods

* Ecto -> SQL module name

* Remove Expression.dimension mode option
2024-06-25 09:27:19 +03:00
..
mix/tasks Always recommend a suitable plan on the choose-plan page (#4222) 2024-06-17 09:25:46 +03:00
plausible APIv2 - initial PR (#4216) 2024-06-25 09:27:19 +03:00
plausible_web APIv2 - initial PR (#4216) 2024-06-25 09:27:19 +03:00
workers Always recommend a suitable plan on the choose-plan page (#4222) 2024-06-17 09:25:46 +03:00
oban_error_reporter.ex Implement resumable GA4 imports to work around rate limiting (#4049) 2024-04-30 18:06:18 +02:00
plausible_release.ex Unify default pricing currency selection (#4221) 2024-06-14 14:49:22 +02:00
plausible_web.ex Merge Plugins.API.Router into main one (#3767) 2024-02-12 10:44:32 +01: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