-
- Downloads
Adds Time on Page metric to Top Pages report (#1007)
* First pass Needs more testing & potentially cleanup * Fixes tests, error handling * Formatting * Removes broken test * Fixes inconsistent test This was due to Clickhouse setup not inserting the sessions with the exact same timestamp consistently and making the test inconsistent * Combines `include` param, asyncs time_on_page and bounce_rate * Fixes CH error when no pageviews exist in period * Format * Changelog * Increases await timeout to accomodate larger data sets * Improves handling of timeout behavior * Fixes session-based filtering on time on page queries * Formatting * Removes old forced entry page modal from top pages report
Showing
- CHANGELOG.md 1 addition, 0 deletionsCHANGELOG.md
- assets/js/dashboard/stats/modals/pages.js 11 additions, 19 deletionsassets/js/dashboard/stats/modals/pages.js
- assets/js/dashboard/stats/modals/referrer-drilldown.js 2 additions, 2 deletionsassets/js/dashboard/stats/modals/referrer-drilldown.js
- assets/js/dashboard/stats/modals/sources.js 2 additions, 2 deletionsassets/js/dashboard/stats/modals/sources.js
- lib/plausible/stats/clickhouse.ex 89 additions, 9 deletionslib/plausible/stats/clickhouse.ex
- lib/plausible_web/controllers/api/stats_controller.ex 6 additions, 6 deletionslib/plausible_web/controllers/api/stats_controller.ex
- test/plausible_web/controllers/api/stats_controller/pages_test.exs 6 additions, 2 deletions...sible_web/controllers/api/stats_controller/pages_test.exs
- test/plausible_web/controllers/api/stats_controller/sources_test.exs 2 additions, 2 deletions...ble_web/controllers/api/stats_controller/sources_test.exs
- test/support/clickhouse_setup.ex 1 addition, 1 deletiontest/support/clickhouse_setup.ex
Loading
Please register or sign in to comment