Download and page statistics?

Author Message

Blake McDonald

Tuesday 25 January 2005 1:00:22 pm

I need to track how many times some files are downloaded and by whom (what IP and what user). Is there anything built in now to do this or am I going to have to do it myself?

I have version 3.4.2

Frederik Holljen

Tuesday 25 January 2005 3:15:44 pm

The best way is to get a apache log analyzer to do this work for you. The reason for this is that this kind of monitoring takes a lot (way too much) resources to be done from eZ publish.

John King

Wednesday 26 January 2005 5:03:05 pm

Yes. The best way is to get a apache log analyzer (web based apps - Webalizer or sys based apps - Quest Software Funnel Web Analyzer)

Frederik eZ system use simple download statistic in eZ publish system. You can find it example on Comunity section.
One example on http://www.ez.no/community/contribs/examples - Download module extension is downloaded 159 times till now (27.01.2005 - 01.56).

How to make that kind of download statistic?

Frederik Holljen

Thursday 27 January 2005 12:55:26 am

The version on eZ.no uses {$node.object.data_map.file.content.download_count}
This counter is incremented each time content/download is called and is a very simple form of statistics that are built in.

Stéphane Bullier

Monday 20 February 2006 1:00:43 am

Hello,

I need more information how to use apache log with Ezpublish.

Where is possible to find more information ? Thank in avance.

Stéphane

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 01:09:46
Script start
Timing: Jan 19 2025 01:09:46
Module start 'layout'
Timing: Jan 19 2025 01:09:46
Module start 'content'
Timing: Jan 19 2025 01:09:47
Module end 'content'
Timing: Jan 19 2025 01:09:47
Script end

Main resources:

Total runtime0.8943 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 590.2734152.6250
Module start 'layout' 0.00540.0029 742.898439.4453
Module start 'content' 0.00830.8843 782.3438628.3984
Module end 'content' 0.89270.0016 1,410.742212.1641
Script end 0.8943  1,422.9063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3822160.0002
Check MTime0.00150.1727160.0001
Mysql Total
Database connection0.00070.073410.0007
Mysqli_queries0.838993.8009670.0125
Looping result0.00080.0908650.0000
Template Total0.862896.520.4314
Template load0.00240.268120.0012
Template processing0.860496.206820.4302
Template load and register function0.00030.032310.0003
states
state_id_array0.00120.132610.0012
state_identifier_array0.00170.186620.0008
Override
Cache load0.00200.2205220.0001
Sytem overhead
Fetch class attribute can translate value0.00070.078840.0002
Fetch class attribute name0.00110.128570.0002
XML
Image XML parsing0.00140.152740.0003
class_abstraction
Instantiating content class attribute0.00000.001980.0000
General
dbfile0.00110.1187220.0000
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs