Try our conversational search powered by Generative AI!

Recommended approach to tracking (certain) media file download requests

Vote:
 

Hi,

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?

Thanks,

Nat

#115298
Jan 13, 2015 13:22
Vote:
 

Hi,

Have you considered using e.g. Google Analytics?

You could store custom data in DDS or a custom table with Entity Framework.

#115366
Jan 14, 2015 4:17
Vote:
 

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.

Thanks again,

Nat

#115665
Jan 15, 2015 17:47
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.