Module Description
This is a tiny module that extends Drupal's core statistics module by adding node counts for week, month and year.

The module integrates with Views. If you create a View and show fields, and select the category "Content statistics", the following fields can be used (also see screenshot on the right):


* Most recent view (from core Statistics)
* Total views (from core Statistics)
* Views this month
* Views this week
* Views this year
* Views today (from core Statistics)

The field "Most recent view" shows the the time of the most recent view. The other shows a count (integer).

You can also use those fields to order and filter content.

Requirements
* Statistics (core)

Installation Install as you would normally install a contributed Drupal module. For further information, see Installing Drupal Modules.

Configuration The module has no menu or modifiable settings. There is no configuration. When enabled, counters for week, month and year becomes fields available to Views.

The three counters (week, month, year) are reset in hook_cron(). For this to work, cron needs to run as frequent as you want the counters reset.

Project Status The module is minimally maintained and new features will not be added by its maintainers. Instead, the community is encouraged to use the core Statistics module for this use case, and requests for new features should be directed towards core.

Related Modules
* Statistics (core) This core module shows a statistics counter indicating the total number of views at the bottom of the node and at block that exposes other statistics. You should explore whether the core already provides what you need before installing this.
* Comment Counter Shows comment counts for day, week, month and year. (Drupal 7 only)
* Statistics Filter Allows customizable filtering of hits from particular user roles or crawlers. (Drupal 7 only)
* Views Let you show statistics about weekly, monhtly and yearly views for a node.



Project Usage
3461
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module extends Drupal's core statistics module by adding node counts for week, month, and year, integrating with Views to display fields such as most recent view, total views, views this month, views this week, views this year, and views today.
Data Name
statistics_counter

OPENAI CHATBOT

OPENAI CHATBOT

14:30:44
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.