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_web
RobertJoonas 7641c66a2b
Stats api time on page (#3858)
* add metric validation + support in aggregate

* add a test ensuring comparison works

* disallow time_on_page with a goal filter

* Return time_on_page as `nil` from aggregate API

In case time_on_page cannot be calculated, we'll return it as `nil` from
the Stats API.

This is to make the behaviour consistent between breakdown and aggregate
endpoints. As for the UI, we'll still continue to report time_on_page as
0 - not changing any UI behaviour as discussed with Marko.

* add tests for time_on_page in event:page breakdown

* update changelog

* invalidate time_on_page with event:name filter

* add the ability to only query time_on_page in page breakdown

We'll need the visitors metric to get the list of pages to calculate the
time_on_page for.
3 years ago
..
components Implement UI for multiple imports (#3727) 3 years ago
controllers Stats api time on page (#3858) 3 years ago
live Implement UI for multiple imports (#3727) 3 years ago
mjml Small bugfix + refactor email reports (#3642) 3 years ago
plugins/api Plugins API: mark data_domain as nullable in capabilities schema (#3840) 3 years ago
plugs Add `GET /capabilities` to Plugins API (#3808) 3 years ago
templates removing target="_blank" from blog link (#3882) 3 years ago
two_factor Implement UI for 2FA setup and verification (#3541) 3 years ago
views Implement UI for multiple imports (#3727) 3 years ago
captcha.ex Include tests for Captcha success/failure scenarios (#2344) 4 years ago
email.ex Add multiple imports per site (#3724) 3 years ago
endpoint.ex Reapply sentry context (#3675) 3 years ago
refinspector.ex [Continued] Google Analytics import (#1753) 5 years ago
remote_ip.ex IP Block List (#3761) 3 years ago
router.ex Implement UI for multiple imports (#3727) 3 years ago