is there a way to register a controller for every page-load. What I want to do is a section named "mostly viewed pages"
So, what I want to build a controller which checks a get parameter like ?search_term=huhu
- if the get parameter is present
-get the node id, check the type: does it has a property counter?
- add +1 to counter and save it.
What is the best way to do it?