Count all content entities views in the Statistics module

Created on 13 July 2015, over 9 years ago
Updated 4 July 2024, 5 months ago

Problem/Motivation

As a relic of Drupal <6 the Statistics module only counts node views. Now we have many different entities we should be counting those too.

Proposed resolution

- Replace the node_counter table with statistics_counter
- Add column for entity type
- Replace node id column with entity id
- Replace statistics_node_view with statistics_entity_view
- Replace statistics_node_predelete with statistics_entity_predelete

Remaining tasks

All of them

User interface changes

none

API changes

none

Data model changes

- Table name changes
- Column name changes

📌 Task
Status

Needs work

Version

1.0

Component
Statistics  →

Last updated 6 days ago

No maintainer
Created by

🇬🇧United Kingdom timmillwood 🏴󠁧󠁢󠁷󠁬󠁳󠁿 Wales, UK

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