[ ] 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)
@diosmosis would you mind rebasing this one onto next_release. We still haven't released the final 4.11. So might be good to include that one, so it can make it into matomo for wordpress soon.