Add weekcount, monthcount, yearcount to statistics module

Created on 17 March 2015, almost 10 years ago
Updated 30 April 2024, 10 months ago

I would love to see weekcount, monthcount, and yearcount added to the Statistics module (in node_counter table) in addition the the current totalcount and daycount.

weekcount, monthcount, and yearcount are arguably more significant statistics for a large site than daycount, and this added functionality seems quite reasonable for a dedicate statistics module (and would not take very much effort to add).

Why not rely on third-party contrib modules like Statistics Granularity or Statistics Counter for this functionality? Because any kind of third-party implementation like that which extends the node_counter table requires an extra trip to the db for every single page request, which is extremely redundant, and a significant performance hit, since the node_counter table can easily grow huge.

The only other option to avoid this kind of redundancy is to create a contrib module designed to completely replace the statistics module, but this itself becomes extremely redundant and counter productive when we already have a statistics module in core.

Feature request
Status

Active

Version

1.0

Component
Statistics 

Last updated 18 days ago

No maintainer
Created by

🇺🇸United States JordanMagnuson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024