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.
2024-03-12 10:00:32 +00:00
..
components Implement UI for multiple imports (#3727) 2024-02-28 09:34:04 +01:00
controllers Stats api time on page (#3858) 2024-03-12 10:00:32 +00:00
live Implement UI for multiple imports (#3727) 2024-02-28 09:34:04 +01:00
mjml Small bugfix + refactor email reports (#3642) 2023-12-21 12:56:06 +00:00
plugins/api Plugins API: mark data_domain as nullable in capabilities schema (#3840) 2024-02-28 10:26:01 +01:00
plugs Add GET /capabilities to Plugins API (#3808) 2024-02-21 12:41:56 +01:00
templates removing target="_blank" from blog link (#3882) 2024-03-12 08:16:39 +01:00
two_factor Implement UI for 2FA setup and verification (#3541) 2023-12-06 12:01:19 +01:00
views Implement UI for multiple imports (#3727) 2024-02-28 09:34:04 +01:00
captcha.ex Include tests for Captcha success/failure scenarios (#2344) 2022-10-17 08:16:59 -03:00
email.ex Add multiple imports per site (#3724) 2024-02-14 09:32:36 +01:00
endpoint.ex Reapply sentry context (#3675) 2024-01-09 12:28:31 +01:00
refinspector.ex [Continued] Google Analytics import (#1753) 2022-03-10 15:04:59 -06:00
remote_ip.ex IP Block List (#3761) 2024-02-12 14:55:20 +01:00
router.ex Implement UI for multiple imports (#3727) 2024-02-28 09:34:04 +01:00