Capturing Dynamic Page Values

I would like to capture the choose that a user makes in navigating to a dynamic page. For example if I have fruits that a user can choose from, Apple, Pear, Banana, etc. I would like to track in the CMS how many visitors have chosen each type of fruit. I can update the CMS values on the DYNAMIC page or should I use _afterRouter function. Please advise

I have already written the update feature with the onReady function for the dynamic page