I have the requirement of keeping track of requests to download certain media files. My current approach is to work into the Application_BeginRequest event handler and try to identify when the request is for a media file, instantiate an object to represent the file in question and then ascertain if tracking should be done.
I'm not sure this is a great approach, but I'm at a loss for other options. Can anyone offer any thoughts on how to tackle this?
Also, to store the "tracking" data, I haven't identified how / where I'm going to do this yet. What are the recommended methods for storing business data within EPiServer?
Have you considered using e.g. Google Analytics?
You could store custom data in DDS or a custom table with Entity Framework.
Thanks for the suggestion Johan. I the end I managed to get the BeginRequest event solution working (to identify the appropriate media items I wanted to track).
I did go down the DDS route for storing the tracking data though.