View counter - stats for eZ

Author Message

Lukasz Piech

Friday 20 April 2007 4:44:26 am

Hi

Is there a simple way to incorporate some View Stats in eZ. My site is not available from external network so Google Analitics is no good.

Does anyone have any manual or extension to do this?

Thx

Lucas

Bartek Modzelewski

Friday 20 April 2007 4:59:49 am

Hi Lukasz,

The easiest way for me is to use Awstats or Webalizer log analyzers.

Bartek

Baobaz
http://www.baobaz.com

Xavier Serna

Tuesday 24 April 2007 4:29:48 am

You can use the stats function from ezpublish, to get a list of top viewed nodes.

More info in http://ez.no/doc/ez_publish/technical_manual/3_8/reference/modules/content/fetch_functions/view_top_list

It's simple, but can be useful to check the most viewed contents.

If you need visitors detailed statistics, then you have to use third party tools, like webalizer and so on, as Bartek says, to analyze web server logs.

hth!

--
Xavier Serna
eZ Publish Certified Developer
Departament de Software
Microblau S.L. - http://www.microblau.net
+34 937 466 205

Betsy Gamrat

Friday 27 April 2007 10:02:18 pm

Each node has a view_count. If you used {$node|attribute(show)}, you'll see it.

The top viewed nodes is a really nice implementation, but if you want to display the number of times a node has been viewed - you can use the view_count.

* The name may not be 'view_count', but it is similar.

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 06:03:11
Script start
Timing: Jan 19 2025 06:03:11
Module start 'layout'
Timing: Jan 19 2025 06:03:11
Module start 'content'
Timing: Jan 19 2025 06:03:11
Module end 'content'
Timing: Jan 19 2025 06:03:11
Script end

Main resources:

Total runtime0.0183 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 589.1563152.6250
Module start 'layout' 0.00550.0026 741.781339.4453
Module start 'content' 0.00800.0071 781.226689.2266
Module end 'content' 0.01510.0031 870.453134.3047
Script end 0.0182  904.7578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003317.9104140.0002
Check MTime0.00126.5084140.0001
Mysql Total
Database connection0.00095.026810.0009
Mysqli_queries0.002614.025830.0009
Looping result0.00000.066610.0000
Template Total0.002714.610.0027
Template load0.00189.728610.0018
Template processing0.00094.790610.0009
Override
Cache load0.00147.901210.0014
General
dbfile0.00137.309880.0002
String conversion0.00000.087540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs