Forums / General / File download counter and statistics?
Florian Feigenbutz
Wednesday 07 January 2004 6:59:25 am
Hi guys, first of all: great work eZ crew! I should realize a lot of statical functions in an ez publish site but I'm not quite sure whether this is not already implemented -didn't find it 'til now.. It should be possible to see how many users downloaded a certain file and -even more detailed- how often which user downloaded this file. I read something about eZfilemanager, could this one help me? Is there any documentation? I've been searching a few hours but I wasn't successful.. So I decided to ask the specialists :) Thanks in advance,Florian.
Balazs Halasy
Wednesday 07 January 2004 8:16:13 am
At the time of writing, eZ publish does not have functionality that takes care of storing and presenting statistical data related to page-views, downloads and such. (However, the search system has built-in support for search-statistics.) You could make a simple template operator that did the job, and/or a custom table in the database that would be updated every time a download is initiated, etc. Any way, you would have to do this yourself.
Balazs
Wednesday 07 January 2004 10:02:53 am
Thank you for your quick answer Balazs!Good to know this, so I can go at work now without the pain that I could find such a function in eZp a few weeks later ;)
Paul Borgermans
Wednesday 07 January 2004 10:39:07 am
Some other types of statistics are added in 3.3: you can have counts on who has published objects of a given class.
Check kernel/content/function_definition.php for this and more new things in 3.3
for example:
{fetch('content','object_count_by_user_id',hash('class_id',2,'user_id',1234567'))}
-paul
eZ Publish, eZ Find, Solr expert consulting and training http://twitter.com/paulborgermans