About Count Views

Count Views Module for ProcessWire allows you to save page views directly to database, and display them when required. This free module can be used to count views of post or count file downloads in ProcessWire.

Category 1Logs/Monitoring
Modules that maintain activity logs or monitor and report activity in some form or another.
Category 2Other Modules
Modules that have a unique purpose not covered by existing categories.
Release StateStable
Should be safe for use in production environments. *
Module Version1.0.0
Class NameCountViews
Compatibility2.4, 2.5, 2.6, 2.7, 3.0
Date AddedJanuary 22, 2019
Recommended ByNew recommendations may take up to 1 day to appear.


After you install CountViews Module you can easily access ->add and ->view functions.

$page->views->add(); // add +1 to views on actual page

$id = 2456;

$pages->get($id)->views->add() // add +1 to views to page $id

$page->views->show(); // displays actual view value for page

$id = 3456;

$pages->get($id)->views->show() // display view value for page with $id