Number of PageViews as a goal

How is it possible to define a number of PageViews as a goal? Means: A vistor has seen eg three pages = goal achieved.

Thank you in advance for tips

A solution could be to use a cookie in which you store the number of page views…
When the user reaches the number of page views (reading the info in the cookie), a JavaScript code could send a goal tracking to Matomo…

That is a possible way, thank you Philippe. I am surprised that there is no ready-made solution with on-board resources for this rather simple measured value. In Google Analytics, this target definition is simply available in the UI.

Hi @Arndt ,
You can then add a new feature request at: New Issue · matomo-org/matomo (

Hi Philippe,

okay, done!

Link to the feature request: