You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/lib/plausible/stats
ruslandoga 13055aafc0
use windows in 'time on page' queries (#3446)
* use windows in 'time on page' query

* add imported time on page back

* join imported_pages instead of extra query

* don't forget aggregated time on page!

* eh?

* no need for separate window clause

* use dynamic_filter_condition in aggregate_time_on_page

* it's avg, not total

* fix dynamic_filter_condition call

* tests pass

* fewer changes

* fewer changes + feature flag

* base quickfix

* fewer changes

* fewer changes?

* fewer changes!

* replace coalesce with if(empty(),etc)

* make window_aggregate_time_on_page return same result as neighbor_

* breakdown as well

* add failing test

* more info

* more info

* format example

* add failing aggregate.ex test

* fix breakdown.ex windowing time_on_page calculation

* fix aggregate.ex windowing time_on_page calculation
3 years ago
..
aggregate.ex use windows in 'time on page' queries (#3446) 3 years ago
base.ex use windows in 'time on page' queries (#3446) 3 years ago
breakdown.ex use windows in 'time on page' queries (#3446) 3 years ago
clickhouse.ex Prepare business tier for release (#3464) 3 years ago
compare.ex Implement new sites view (#3463) 3 years ago
comparisons.ex Support `with_imported=true` in Stats API aggregate (#2919) 4 years ago
current_visitors.ex Clean up after V2 migration (#2868) 4 years ago
custom_props.ex Remove Props FF (#3242) 3 years ago
filter_parser.ex Harden API input validation (#2869) 4 years ago
filter_suggestions.ex Fix filter suggestions (#3265) 3 years ago
filters.ex Harden API input validation (#2869) 4 years ago
fragments.ex Add API support for intervals (#2417) 4 years ago
funnel.ex Inflate sampled results in Stats.Funnel.funnel/3 (#3270) 3 years ago
imported.ex Filter out empty entries when listing stats for UTM props (#3339) 3 years ago
interval.ex Disallow small intervals on large ranges (#3245) 3 years ago
props.ex Prop filter modal (#2841) 4 years ago
query.ex Apply feature gates to dashboard queries (#3424) 3 years ago
timeseries.ex Plot revenue metrics on main graph (#3112) 3 years ago
util.ex Apply feature gates to dashboard queries (#3424) 3 years ago