[SOLVED] Controller for all "Page" node-typed elements

I would really avoid that. GET requests are not meant to change the server state and even for these minor things you might run into trouble if you do so.
To name a few caveats:

  • GET requests are meant to be cacheable – if the browser or a proxy caches the request your view-counter won’t be called
  • GET requests are allowed to be followed by search engines… do you want to count the google bot? :wink:

I would suggest to increase the view counter via an AJAX (POST) request when the page has been loaded.
See [SOLVED] Counter for survey or page views for a related question