half of the original issue description was implemented in https://github.com/matomo-org/matomo/pull/14508
We can create such "Custom Segment" with this rule, but not a goal.
Being able to create Goals based on engagement within a visit will be very valuable for many website owners :+1:
This would be awesome to have. But instead of building new specific goal types, maybe we could let users define Goals as Segments? This would be super flexible and powerful! an issue was recently created for this: https://github.com/matomo-org/matomo/issues/13816
Maybe we could have a set of pre-defined "Goal as segment", that users could create in one click, like "Spent more than X minutes", or "Visited at least X pages".
@tsteur @mattab what would be the scope of this issue? Is it only adding the possibility to define viewed more than X pages
or shall we already try to implement a possibility to define goals in the way segments are defined. Guess for the second solution we might need to extend the dimension classes to define which dimensions can be used for goal checks or something like this and implement a goal configurator like the segment one. Might be a lot more work and we could actually close this one and work on #13816 instead.