Hi,

I needed to count anon users, and also took some time and cleaned up the code. Maybe someone will find this useful.

CommentFileSizeAuthor
page_view_counter.patch3.9 KBduckydan
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

duckydan created an issue. See original summary.

_renify_ made their first commit to this issue’s fork.

  • _renify_ committed 265271ca on 1.0.x
    Issue #3447846: Some code clean-up and allow anonymous counting
    
_renify_’s picture

@duckydan We have to remain this _permission: 'access content' for security purposes. This can still access with anonymous user.

_renify_’s picture

Assigned: Unassigned » _renify_
duckydan’s picture

I have a site where permission: 'access content' is turned off for anon. But I understand mine is an edge case for sure.