analytics/priv
Karl-Aksel Puulmann 5ad743c8d3
APIv2: Comparisons for breakdowns, timeseries, time_on_page (#4647)
* Refactor comparisons to a new options format

Prerequisite for APIv2 comparison work

* Experiment with default include deduplication

* WIP

Oops, breaks `include.total_rows`

* WIP

* Refactor breakdown.ex

* Pagination fix: dont paginate split subqueries

* Timeseries tests pass

* Aggregate tests use QueryExecutor

* Simplify QueryExecutor

* Handle legacy time-on-page metric in query_executor.ex

No behavioral changes

* Remove keep_requested_metrics

* Clean up imports

* Refactor aggregate.ex to be more straight-forward in output format building

* top stats: compute comparison via apiv2

* Minor cleanups

* WIP: Pipelines

* WIP: refactor for code cleanliness

* QueryExecutor to QueryRunner

* Make compilable

* Comparisons for timeseries works

Except for comparisons where comparison window is bigger than source query window

* Add special case for timeseries

* JSON schema tests for comparisons

* Test comparisons with the new API

* comparison date range parsing improvement

* Make comparisons api internal-only

* typegen

* credo

* Different schemata

* get_comparison_query

* Add comment on timeseries result format

* comparisons typegen

* Percent change for revenue metrics fix

* Use defstruct for query_runner over map

* Remove preloading atoms
2024-10-08 10:13:04 +00:00
..
data_migrations Fix migration typo (#4437) 2024-08-13 12:07:18 +03:00
ingest_repo Update Ecto dumps (#4481) 2024-09-23 12:50:08 +00:00
json-schemas APIv2: Comparisons for breakdowns, timeseries, time_on_page (#4647) 2024-10-08 10:13:04 +00:00
ref_inspector Update ref_inspector database (#3697) 2024-01-22 09:30:38 +01:00
repo Add notes column to users table (#4612) 2024-09-25 14:21:26 +00:00
static Add curl browser icon (#4372) 2024-07-18 15:30:28 +02:00
tracker/js Remove static tracker files (#2116) 2022-10-11 12:19:28 +02:00
ua_inspector Update ua_inspector (#4284) 2024-07-01 09:30:09 +02:00
verification Verification tweaks (#4234) 2024-06-18 05:58:56 +02:00
ga4-source-categories.csv Acquisition channel (#4489) 2024-09-05 12:02:15 +03:00
legacy_plans.json Legacy plans (#3455) 2023-10-25 13:46:55 +03:00
paddle_sandbox.pem Move limit enforcement to accepting site ownership transfer (#3612) 2023-12-20 14:56:49 +00:00
paddle.pem Initial commit 2019-09-02 12:29:19 +01:00
placeholder_favicon.ico Add fallback for favicon (#2279) 2022-09-28 08:55:46 -03:00
plans_v1.json List plan benefits on the new upgrade page (#3444) 2023-10-23 19:42:00 +03:00
plans_v2.json List plan benefits on the new upgrade page (#3444) 2023-10-23 19:42:00 +03:00
plans_v3.json List plan benefits on the new upgrade page (#3444) 2023-10-23 19:42:00 +03:00
plans_v4.json Add data retention to the choose plan page (#3605) 2023-12-12 08:19:54 -03:00
referer_favicon_domains.json Additional pre-commit hooks (#1428) 2021-11-03 15:46:12 +01:00
sandbox_plans.json Add data retention to the choose plan page (#3605) 2023-12-12 08:19:54 -03:00