What is the most lightweight method of tracking all outgoing links generated in a view. By lightweight I mean that I don't want to have to load a module such as
statistics that will potentially slow down my site due to it going above and beyond my needs.
Basically I would need to record the data into a database using the following structure:
product_id | uid | timestamp
The product id is associated with each link and is a separate field. The purpose would be to create sets of clicked links for each user, product, etc. This could in turn be used as a dataset for subsequent user/item analysis. I would imagine I would need to use some sort of callback function.
Can anyone provide an example or any hints?