[ ] Potential edge cases thought about (behavior of the code with strange input, with strange internal state or possible interactions with other Matomo subsystems)
[ ] Usability review done (is anything maybe unclear or think about anything that would cause people to reach out to support)
Description:
This PR depends on https://github.com/matomo-org/matomo/pull/20720 which should be reviewed and merged first.
Changes:
Review