Better tracking for anonymous users

Created on 1 March 2024, 9 months ago

Problem/Motivation

In a site where only anonymous users visits are configured to be tracked, the COUNT(DISTINCT uid) insidegetNodeViewsCount is not appropriate because all users will have the uid equal to 0.

Proposed resolution

Add a parameter to getNodeViewsCount to optionally allow COUNT(DISTINCT uid, uip) so a site which only track anonymous users could have more precise visitor counting.

Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇪🇸Spain rcodina Barcelona

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024